的Android 2.3平台包含了SIP示范项目。我要对两个AVD的,而不是真正的Android设备上测试该项目。我真的不知道该怎么办。
解决方案从的测试SIP应用
测试SIP应用程序
要测试SIP应用程序,需要具备以下条件:
在正在运行Android 2.3或更高版本的移动设备。 SIP运行在无线,所以你必须测试在实际设备上。在AVD测试将无法正常工作。 系统SIP帐户。有许多不同的SIP提供商提供SIP帐号。 如果您在发出呼叫,它也必须是一个有效的SIP帐户。要测试一个SIP应用:
在您的设备,连接到无线(设置>无线和网络>无线网络连接> Wi-Fi设置) 设置您的移动设备进行测试,如在一个设备发展介绍。 运行在移动设备上的应用程序,如在设备上开发描述。 如果您使用的是Eclipse,您可以使用LogCat中(窗口>显示视图>其它>安卓> LogCat中)查看Eclipse中的应用程序日志输出。因此,它看起来像你必须使用一个物理设备来测试SIP应用程序。
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.
解决方案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:
On your device, connect to wireless (Settings > Wireless & networks > Wi-Fi > Wi-Fi settings) Set up your mobile device for testing, as described in Developing on a Device. Run your application on your mobile device, as described in Developing on a Device. 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.