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:
- 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.