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 短信内容