生活隨筆

2018年5月23日 星期三

[工作] 讓Android關機的幾種command

1. reboot -p
2. svc power shutdown
3. setprop sys.powerctl shutdown
4. am start -n android/com.android.internal.app.ShutdownActivity
張貼者: Richard 於 晚上7:27
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest
標籤: work

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)

關於我自己

Richard
檢視我的完整簡介

網誌存檔

  • ►  2023 (2)
    • ►  1月 (2)
  • ►  2022 (3)
    • ►  12月 (1)
    • ►  10月 (1)
    • ►  7月 (1)
  • ►  2021 (2)
    • ►  1月 (2)
  • ►  2019 (28)
    • ►  12月 (4)
    • ►  11月 (2)
    • ►  10月 (5)
    • ►  8月 (5)
    • ►  7月 (2)
    • ►  6月 (3)
    • ►  4月 (1)
    • ►  3月 (3)
    • ►  2月 (3)
  • ▼  2018 (12)
    • ►  7月 (1)
    • ►  6月 (4)
    • ▼  5月 (3)
      • [工作] 讓Android關機的幾種command
      • [工作] 使用sed將文件多行合併成一行
      • [工作] Dynamic Debug用法
    • ►  2月 (1)
    • ►  1月 (3)
  • ►  2017 (19)
    • ►  12月 (2)
    • ►  11月 (1)
    • ►  10月 (1)
    • ►  7月 (5)
    • ►  6月 (4)
    • ►  5月 (2)
    • ►  3月 (2)
    • ►  2月 (1)
    • ►  1月 (1)
  • ►  2016 (4)
    • ►  10月 (2)
    • ►  8月 (2)
輕柔雅緻主題. 技術提供:Blogger.