If the application using sms-sending and receiving how is it possible to test it within the emulator?
Asked
Active
Viewed 2.1k times
4 Answers
26
It is so simple first start the emulator and launch your application. now if you have another project(any) launch this in another emulator. On the other emulator start sms application and send sms to the emulator in which your app is running.The phone no. is simply the emulator number like 5556 or 5554.
Edit
Now You can send an SMS or make a call using Emulator Control
. In Eclipse go to window->show views->other->Emulator control
.

Sunny
- 14,522
- 15
- 84
- 129
-
That is for sending/receiving SMS between built-in messaging application of the Android OS. If an emulator A expects to receive the SMS through its 3rd-party application from an emulator B, then we should specify the sender's phone number something like this "1555521555X" (X=4,6,..) in the application of the emulator A. – Omar Jun 19 '15 at 14:12
8
Now we can use emulator's extended control to send directly to the emulator.
- Open Extended controls window.
- Open Phone tab
- Enter message and send

kanji
- 729
- 9
- 14
2
You might want to refer to one of my article on handling Emulator SMS: http://xjaphx.wordpress.com/2011/07/07/sending-messages-among-devices/

Pete Houston
- 14,931
- 6
- 47
- 60