Why does the native SIP stack included in Android 2.3 does not work over 3g?

守給你的承諾、 提交于 2019-12-07 07:20:53

问题


I was wondering why does the native SIP stack included in the Android framework(since 2.3) does not work over 3g?

Could it have something to do with any laws or restrictions google may have with his partners?

And furthermore, does anybody know if there is any plans to remove that restriction ?

Thx


回答1:


In GingerBread, SipManager is set to work only on wifi.

`<bool name="config_sip_wifi_only">true</bool>`

But from 4.0 onwards, this config has been changed to false

So Ideally native sip stack should work on 3G from Ice Cream Sandwich onwards.

But again if the phone is sold by a service provider, then this might have been disabled. So phones sold unlocked may have this intact.

To check whether Sip over 3G is supported you can use the api

   SipManager.isSipWifiOnly(mContext);


来源:https://stackoverflow.com/questions/6219107/why-does-the-native-sip-stack-included-in-android-2-3-does-not-work-over-3g

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!