查看帮助信息

>adb shell service
Usage: service [-h|-?]
    service list
            service check SERVICE
            service call SERVICE CODE [i32 INT | s16 STR] ...
Options:
            i32: Write the integer INT into the send parcel.
            s16: Write the UTF-16 string STR into the send parcel.

 

查看Service列表

>adb shell service list
Found 1 services:
0 phone: [com.android.internal.telephony.ITelephony]

 

检查Service是否存在

>adb shell service check phone
Service phone: found

 

使用Service

>adb shell service call phone 2 s16 "10086"

相关文章:

  • 2022-02-26
  • 2021-10-20
  • 2021-07-25
  • 2022-01-13
  • 2022-12-23
  • 2021-12-26
  • 2021-06-23
  • 2021-10-14
猜你喜欢
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案