Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SipDemo manager is always null in device SamSung SII android SIP API

Tags:

android

sip

Recently, I'm trying to use SIP API in android and for many times searching, I find out SipDemo (the sample project of android-10). I just import the project in eclipse. However, when I look for detail in this project (by Log.e(...)), I find out that SipManager manager is always null even right after this line: manager = SipManager.newInstance(this);. Therefore, no matter what I register to the Sip provider, I can't get it work! Any one has the same problem? Can anyone give me a suggestion?

Edited:

if I use the link here, I can get my emulator work with register, call and receive a call. However, with my device, SamSung SII, it doesn't work!! Is this because of my device or something wrong with the basic API?!

like image 816
Kingfisher Phuoc Avatar asked Oct 22 '22 16:10

Kingfisher Phuoc


1 Answers

Not all Android-powered devices support VOIP calls using SIP. You should always call isVoipSupported() to verify that the device supports VOIP calling and isApiSupported() to verify that the device supports the SIP APIs.

like image 180
Padma Kumar Avatar answered Nov 15 '22 05:11

Padma Kumar