Answer the question
In order to leave comments, you need to log in
How to send sms with spaces?
Good day. There was a need for mass sending SMS from 1s, the choice fell on an android-based phone and shell adb. Everything works well but if there are no spaces in the text. If you write "text text text" then the phone starts to fail and does not send SMS, how can you still use spaces?
chcp 1251
cd C:\ADB
adb shell input keyevent 26
sleep 1
adb shell am start -a android.intent.action.SENDTO -d sms:************ --es sms_body "text" --ez exit_on_sent true
adb.exe shell sleep 1
adb shell input keyevent 22
adb.exe shell sleep 1
adb shell input keyevent 66
adb.exe shell sleep 1
adb shell input keyevent 26
Answer the question
In order to leave comments, you need to log in
Not an answer to your question.
There is such a service https://semysms.net/?locale=ru
True, no more than 1 SMS per minute with free use.
PS And so - yes, it just needs to be enclosed in quotation marks ... It's not clear why you have a problem.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question