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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -