Batch file for ADB Shell.
Posted: 01 Oct 2014 15:06
Hi,
I use the following command from CMD Prompt to send a text message through the ABD and phone connected to the machine.
I am looking to replace the number with a list of numbers in text file. Not sure how would it be executed through a batch file. Can someone please help. Thanks.
Any help would be highly appreciated.
Thanks
I use the following command from CMD Prompt to send a text message through the ABD and phone connected to the machine.
I am looking to replace the number with a list of numbers in text file. Not sure how would it be executed through a batch file. Can someone please help. Thanks.
Code: Select all
adb shell am startservice -e sms_number "0123456789" -e sms_body "SMS TEXT HERE" -n
com.companyname.companyservice/com.companyname.services.SMSSendService
Any help would be highly appreciated.
Thanks