发送短信
adb shell am start -a android.intent.action.SENDTO -d sms:1888888888* --es sms_body “恭喜发财:1234$” && adb shell input keyevent 22 && adb shell input keyevent 22 && adb shell input keyevent 66
adb shell am start -a android.intent.action.SENDTO -d
sms:1888888888* --es sms_body "恭喜发财:1234$" // 短信内容
&& adb shell input keyevent 22 // 导航键 向右 (取决你右边有几个图标)
&& adb shell input keyevent 22 // 我遇到的坑 右边有2个图标所以需要执行2次
&& adb shell input keyevent 66 // 回车键
拨打电话
adb shell am start -a android.intent.action.CALL -d tel:1888888888*
该文本描述了如何通过ADB命令行工具自动执行发送短信和拨打电话的操作。它详细列出了对应的ADB命令,包括设置接收方号码、短信内容以及模拟按键事件来触发发送和拨打行为。

被折叠的 条评论
为什么被折叠?



