Android testing sms from emulator
If the ap开发者_JS百科plication using sms-sending and receiving how is it possible to test it within the emulator?
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
.
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
Check this for Sending SMS to the Emulator using Port.
Sending SMS for Emulators...
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/
精彩评论