A lot of docs are explaining how to send an SMS from an Android using adb command line, but none of these work for the newer Android version 8.
I am eager to know where are the docs for
service call isms [args...]
Thanks in advance.
A lot of docs are explaining how to send an SMS from an Android using adb command line, but none of these work for the newer Android version 8.
I am eager to know where are the docs for
service call isms [args...]
Thanks in advance.
Now, I finally can send SMS through the command line on an Android 8.0-oreo performing next steps:
#!/bin/bash
phonenumber="$1"
message="$2"
# escape double quotes
message=${ message//\"/\\\" }
adb shell "am startservice --user 0 -n com.android.shellms/.sendSMS -e contact \"$phonenumber\" -e msg \"$message\""
Q & A