您的位置:首页 > 运维架构 > Shell

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 短信内容
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: