Android从模拟器测试短信 [英] Android testing sms from emulator

查看:184
本文介绍了Android从模拟器测试短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果使用短信发送和接收的应用程序如何在模拟器中对其进行测试?

If the application using sms-sending and receiving how is it possible to test it within the emulator?

推荐答案

是如此简单,首先启动模拟器并启动您的应用程序. 现在,如果您有另一个项目(任何项目),请在另一个模拟器中启动它. 在另一个仿真器上,启动sms应用程序,然后将sms发送到运行您的应用程序的仿真器.只是模拟器编号,例如5556或5554.

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.

现在,您可以使用Emulator Control发送短信或拨打电话.在Eclipse中,转到window->show views->other->Emulator control.

Now You can send an SMS or make a call using Emulator Control. In Eclipse go to window->show views->other->Emulator control.

这篇关于Android从模拟器测试短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆