Sending and receiving text using android emulator
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
You can also use two emulators. Open both emulators simultaneously. They will be named emulator-5554
and emulator-5556
.
Then from one device, text (555)521-555x, where the last 4 digits are the number from the emulator name. This will allow you to text between both devices.