Tuesday, February 03, 2009

 

Sending an SMS into a Google Android emulator.

It appears that the ability to send SMS from one android emulator to the other via the SMS application is not currently working, but luckily you can send an SMS into one emulator as if it came from another...

What you do is telnet into the emulator you wish to poke the message into, and then tell it that it's just got a message from some place. In this example below, it is one of the other emulators.


telnet localhost 5554
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Android Console: type 'help' for a list of commands
OK
sms send 5556 Hello!
OK


If you've something listening out for SMS messages, it will now trigger and the two emulators can chat, if that is what you want.

Labels:


Comments:
Thanks a lot, thank you so much
 
Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]