Run SIP demo Android platform 2.3 on AVD's

2019-02-28 04:50发布

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条回答
够拽才男人
2楼-- · 2019-02-28 05:27

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.

查看更多
登录 后发表回答