Run SIP demo Android platform 2.3 on AVD's

风流意气都作罢 提交于 2019-12-20 05:45:12

问题


Android 2.3 platform contains a SIP demo project. I want to test this project on two AVD's, not on real Android devices. I really don't know how to proceed.


回答1:


From Testing SIP Applications

Testing SIP Applications

To test SIP applications, you need the following:

  • A mobile device that is running Android 2.3 or higher. SIP runs over wireless, so you must test on an actual device. Testing on AVD won't work.
  • A SIP account. There are many different SIP providers that offer SIP accounts.
  • If you are placing a call, it must also be to a valid SIP account.

To test a SIP application:

  1. On your device, connect to wireless (Settings > Wireless & networks > Wi-Fi > Wi-Fi settings)
  2. Set up your mobile device for testing, as described in Developing on a Device.
  3. Run your application on your mobile device, as described in Developing on a Device.
  4. If you are using Eclipse, you can view the application log output in Eclipse using LogCat (Window > Show View > Other > Android > LogCat).

So it looks like you have to use a physical device to test SIP applications.



来源:https://stackoverflow.com/questions/5388367/run-sip-demo-android-platform-2-3-on-avds

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!