Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have a rooted Droid (Sholes), with ConnectBot installed. I can ssh into it via dropbear copied to /system/xbin, and/or also the instance of Debian installed on it via the "Linux Installer" application. I'm in portable Linux bliss. But...

I would like to send an SMS message via the shell. Something like

 sendsms 8005551234 "This is a text."

Anything like this out there?

share|improve this question

1 Answer 1

You should be able to call the messaging intent with

am start -a android.intent.action.VIEW "sms:numberhere" -e "sms_body" "hello"

Using the intent command as described here:

http://learnandroid.blogspot.com/2008/01/run-android-application-from-command.html

http://stackoverflow.com/questions/4967448/send-sms-in-android

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.