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

Recently, I have been trying to use SIP APIin android and have searched many times, I discovered SipDemo ( sample projectof android-10). I just import the project into eclipse. However, when I look for details in the project ( Log.e(...)), I find myself SipManager manageralways null, even after that line: manager = SipManager.newInstance(this);. Therefore, no matter what I register for the Sip provider, I cannot get it to work! Does anyone have the same problem? Can anyone give me a suggestion?

Edited by:

if I use the link here , I can get my emulator to work with calls register, calland receive. However, with my device, SamSung SII, it does not work! Is it because of my device or something is wrong with the underlying API ?!

+5
source share
1 answer

Not all Android devices support VOIP calls using SIP. You should always call isVoipSupported()to make sure your device supports VOIP calling and isApiSupported()to make sure your device supports SIP API.

+3
source

All Articles