Skip to main content

How to send SMS to Android emulator?


With the help of Android Console a user can send SMS to Android emulator.
 
Window OS: - 

Scenario 1
1.    Install the telnet client via command prompt by typing. Open cmd.exe and type ‘pkgmgr /iu:”TelnetClient”’.
Connect to Telnet client host. Just type ‘telnet localhost and device name i.e 5554’.  5554:Test  is the number that appears in the title of the emulator. Here, it looks like ‘telnet localhost 5554:Test’.

2.    Telnet localhost screen should be displayed with help.
3.   Here, you can type your message and send to emulator.
4.   For sending message to emulator, type “sms send – mobile number - message”. Here, it looks like “sms send 8805789456 ‘Hiiiiiiiii…………………….’”
5. Check your emulator for the received message.

Scenario 2
1.     Go to DDMS in eclipse - Emulator Control.
2.      Enter incoming number -----‘5554 or actual mobile number’
3.     Select actions ----- Voice or SMS.
4.      Select SMS and type message.
5.     Click on send and check your emulator for the received message.

        



Comments