android adb shell service
2012-11-13 11:19
183 查看
ViewServer(端口号4939)
检查view server是否打开
adb shell service call window 3
如果返回值是"Result: Parcel(00000000 00000000 '........')",说明ViewServer没有打开,那么需要用下面的命令打开ViewServer
打开view server
adb shell service call window 1 i32 4939
关闭view server
adb shell service call window 2 i32 4939
拨打电话
adb shell service call phone 2 s16 "phone number"
发送短信
adb shell amstart -a android.intent.action.SENDTO -d sms:10086(发送目的号码) --essms_body 短信内容
检查view server是否打开
adb shell service call window 3
如果返回值是"Result: Parcel(00000000 00000000 '........')",说明ViewServer没有打开,那么需要用下面的命令打开ViewServer
打开view server
adb shell service call window 1 i32 4939
关闭view server
adb shell service call window 2 i32 4939
拨打电话
adb shell service call phone 2 s16 "phone number"
发送短信
adb shell amstart -a android.intent.action.SENDTO -d sms:10086(发送目的号码) --essms_body 短信内容
相关文章推荐
- Android:adb shell am命令行发送Activity/Service/Broadcast
- Android:adb shell am命令行发送Activity/Service/Broadcast
- Android adb shell KeyCode列表
- Android adb shell操作时出现“ XXX ... Read-only file system”解决办法
- 我的Android进阶之旅------>Android中通过adb shell input来模拟滑动、按键、点击事件
- Android系统在超级终端下必会的命令大全(adb shell命令大全)
- Linux的各种命令(android adb shell)
- 使用adb shell dumpsys检测Android的Activity任务栈
- 【android】android 常用adb 和 adb shell 命令
- android adb shell 进入recovery刷机
- Android debug bridge command line-adb shell tips -logcat/am/pm/dumpsys
- android 性能分析之常用adb命令adb shell am start -W
- 使用adb shell dumpsys检测Android的Activity任务栈
- Android adb shell 命令
- 【转】Android adb shell操作时出现“ XXX ... Read-only file system”解决办法--不错
- Android Please execute ‘adb uninstall com.ims.poc.ui’ in a shell.
- android 常用adb 和 adb shell 命令
- Android shell命令行中过滤adb logcat输出的几种方法
- Android系统在超级终端下必会的命令大全(adb shell命令大全)