With the help of Android Console a user can send SMS to Android emulator.
Window OS: -
Scenario 1
1. Install the telnet client via command
prompt by typing. Open cmd.exe and type āpkgmgr /iu:āTelnetClientāā.
Connect to Telnet client host. Just type ātelnet localhost and device
name i.e 5554ā. 5554:Test is the number that appears in the title of the
emulator. Here, it looks like ātelnet
localhost 5554:Testā.
2. Telnet localhost screen should be
displayed with help.
3. Here, you can type your message and
send to emulator.
4. For sending message to emulator, type
āsms send ā mobile number - messageā. Here, it looks like āsms send 8805789456 āHiiiiiiiiiā¦ā¦ā¦ā¦ā¦ā¦ā¦ā¦.āā
5. Check
your emulator for the received message.
Scenario 2
1. Go to DDMS in eclipse - Emulator Control.
2. Enter incoming number -----ā5554 or
actual mobile numberā
3. Select actions ----- Voice or SMS.
4. Select SMS and type message.
5. Click on send and check your emulator
for the received message.
Comments
Post a Comment