日期:2014-05-16  浏览次数:20647 次

adb 打电话、发短信
通过adb 命令拨打电话

adb shell service call phone 2 s16 "10086"(呼叫的号码)


通过adb 命令发送短信,需要两步

adb shell am start -a android.intent.action.SENDTO -d sms:10086(发送目的号码) --es sms_body "hello"(短信内容) --ez exit_on_sent true

adb shell input keyevent 66   // 模拟发送按键