adb shell在设备上使用或终端仿真器,输入此将清除所有通知(要求su)
service call notification 1
Run Code Online (Sandbox Code Playgroud)
这将发送短信(不需要su)
service call isms 5 s16 "PhoneNumber" i32 0 i32 0 s16 "BodyText"
Run Code Online (Sandbox Code Playgroud)
我在哪里可以了解更多信息service call?我发现了这个问题,并理解答案是关于一切意味着什么.但是我在哪里可以找到notification 2可能试图调用的方法的信息?
运行service call不完整并打印此用法:
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.
Run Code Online (Sandbox Code Playgroud)
我跑了service list,它为我的设备提供了78个服务,包括isms …