I am trying to run a simple SIP program using android 2.3 emulator.
When i am trying to create an instance of SipManager i get a return value as null(which means the SIP API isn’t supported).
Pls suggest how i can test SIP in emulator.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I got this working for me thanks to the Issues list link below :
http://code.google.com/p/android/issues/detail?id=13037
and the thing which worked for me is in sub link in this thread.
How to enable SIP in Android 2.3 emulator.
emulator -avd -partition-size 128
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock1 /system
Copy 2 XMLs from AOSP into text files: android.software.sip.xml, android.software.sip.voip.xml, and copy XMLs to the emulator:
adb push android.software.sip.voip.xml /system/etc/permissions
adb push android.software.sip.xml /system/etc/permissions
The repacked resource file can be found here. Copy it to the emulator:
adb push framework-res.apk /system/framework
Or… these steps in one: download the AVD system.img and copy into the ….android\avd\.avd folder.
Known issue: incoming calls are not working yet.