android - How to : get port number of AVD and send message to itself -


how :

1) potnumber of avd [from code not command line .]

2) send message avd using port number obtained in step1.

[ it's possible : could 1 emulator send sms itself ]

sending sms console:

1) open console;

2) type 'telnet localhost xxxx' xxxx emulator id. same number precedes emulator's name in title bar, 5554 unless have additional emulators running;

3) type 'sms send 1234567 message' message text of sms message

4) watch notification bar on emulator, , you'll see sms message delivered

as long you're willing meatware sms gateway, manually transmitting messages between emulators, can want.

sending sms between emulator instances:

use emulator id phone number. seems emulators use dummy phone numbers in format 1 555 521 xxxx xxxx emulator id, e.g. 1 555 521 5554.


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -