What you're observing is expected behavior and not a bug. Reading the API 
documentation helps:

>From http://developer.android.com/reference/android/net/sip/SipManager.html

> *Note:* Not all Android-powered devices support VOIP calls using SIP. You 
> should always call 
> isVoipSupported()<http://developer.android.com/reference/android/net/sip/SipManager.html#isVoipSupported%28android.content.Context%29>to
>  verify that the device supports VOIP calling and 
> isApiSupported()<http://developer.android.com/reference/android/net/sip/SipManager.html#isApiSupported%28android.content.Context%29>to
>  verify that the device supports the SIP APIs. Your application must also 
> request the 
> INTERNET<http://developer.android.com/reference/android/Manifest.permission.html#INTERNET>and
>  
> USE_SIP<http://developer.android.com/reference/android/Manifest.permission.html#USE_SIP>permissions.
>

And from 
http://developer.android.com/reference/android/net/sip/SipManager.html#newInstance%28android.content.Context%29

> Creates a manager instance. *Returns null if SIP API is not supported.*
>
See also: http://stackoverflow.com/questions/9782257/sip-manager-api-support



On Wednesday, February 6, 2013 10:29:22 AM UTC-6, Labeeb p wrote:
>
> This issue is there with some Samsung Gingerbread device. 
> I'm using Galaxy ace 2.3.6 
>
> On Wednesday, 6 February 2013 01:55:08 UTC+5:30, bob wrote:
>>
>> Is this on a device or an emulator?
>>
>>
>> Thanks.
>>
>>
>>
>> On Tuesday, February 5, 2013 7:48:17 AM UTC-6, Labeeb p wrote:
>>>
>>> I'm also facing the same issue. Is there any fix for this 
>>> SipManager.newInstance returns null in Android 2.3
>>>
>>> On Wednesday, 8 December 2010 19:05:47 UTC+5:30, jan telega wrote:
>>>>
>>>> Hi, 
>>>> i tried to run SIP Demo (http://developer.android.com/resources/ 
>>>> samples/SipDemo/index.html<http://developer.android.com/resources/samples/SipDemo/index.html>)
>>>>  
>>>> and start developing SIP application, 
>>>> but i found one problem at the beginning (of course i updated sdk, adt 
>>>> and set up new virtual device with api level 9): 
>>>>  in main activity class [line 86]: 
>>>>
>>>>  public void initializeManager() { 
>>>>         if(manager == null) { 
>>>>           manager = SipManager.newInstance(this);  <-- this always 
>>>> returns null, which means that SIP API is not supported 
>>>>         } 
>>>>
>>>>         initializeLocalProfile(); 
>>>>     } 
>>>>
>>>> i also checked SipManager.isApiSupported(applicationContext) and it 
>>>> always returns false, i set up several virtual devices and it didnt 
>>>> help. 
>>>>
>>>> SipManager declatarion is the first step during establishing Sip 
>>>> connection, so this problem does not concern sip domain etc. 
>>>>
>>>> It looks like problem with emulator. 
>>>>
>>>> Have you faced this problem? 
>>>> Any ideas how to resolve it?
>>>
>>>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to