Kingfisher Phuoc
Kingfisher Phuoc

Reputation: 8190

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

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?!

Upvotes: 5

Views: 1493

Answers (1)

Padma Kumar
Padma Kumar

Reputation: 20041

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.

Upvotes: 3

Related Questions