Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 8 down vote accepted

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:

share|improve this answer

Your Answer


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.