开发者

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.

  1. Open Extended controls window.
  2. Open Phone tab
  3. Enter message and send

Android testing sms from emulator


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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜