Sending and receiving text using android emulator

sean picture sean · Dec 1, 2010 · Viewed 60.1k times · Source

I'm currently developing android application which includes text messaging. Is it possible to send and receive text messages just by using android emulator? If yes, how can I do it?

Answer

Andi Krusch picture Andi Krusch · Dec 1, 2010

It's quite easy:

  • open a console
  • connect via telnet to the running emulator: telnet localhost 5554 (you can find the portnumber in the title of the emulator)
  • type this: sms send senderPhoneNumber textmessage