在对如何通过亚行发送短信进行了一段时间的研究之后,我找到了一条引导我找到这个命令的帖子:
adb shell service call isms 7 i32 0 s16 "com.android.mms.service" s16 "+mynumberhere" s16 "null" s16 'Text Goes Here' s16 "null" s16 "null"
此命令可以很好地发送单行文本,但我希望能够将SMS格式化为多行,例如:
This is line 1 of the SMS
This is line 2 of the SMS
And this is line 3我试图将'Text Goes Here'部件更改为以下部分,但没有成功:
"Test \n Test"
"Test /n Test"
"Test %n Test"
'Test \n Test'
'Test /n Test'
'Test %n Test'
"'Test\nTest'"
"'Test \n Test'"
"'Test/nTest'"
"'Test /n Test'"
"'Test'\n'Test'"他们都不行,我也找不到解决这个问题的方法,我能做什么呢?
发布于 2022-02-08 13:57:42
尝尝这个
亚洲开发银行壳"NL=$'\n‘;am start -a android.intent.action.SENDTO -d sms:CCXXXXXXXXXX -es sms_body "SMS BODY ${NL} GOES
https://stackoverflow.com/questions/69094425
复制相似问题