Android: Send SMS to Android Emulator using command line



Windows 7:

	Enabling windows 7 to use Telnet 

1.	Go to Control Panel 

2.	Select Programs & Features 

3.	Select Turn Windows features on or off from left panel

4.	Tick Telnet Client

5.	Press OK

6.	Open Command line. 

7.	Type: telnet localhost 5554

8.	5554 is the port number of android emulator. You can find it on the title bar of android emulator. Use the correct port number 

9.	After typing it you will see: Android Console: type 'help' for a list of commands 
OK

10.	Type: sms send ANY_PHONE_NUMBER ANY_MESSAGE

11.	 For example: sms send 6325415236 “this is a text message”

12.	You will get a response: OK

3 thoughts on “Android: Send SMS to Android Emulator using command line

  1. It’s a really very informative information regarding SMS. I was looking for this type of solution for a long time. m going to boookmark it .. thx mate.

  2. It is very informative, but what if i want to send an sms without quotes? If I try it without quotes, the sms on the emulator is received in some chinese-type text format. I dont know why that happens. I need the sms to be simple and quote free. How to do so?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s