jjzjj

SipManager

全部标签

android - 如何添加系统SIP账号

从android版本2.3开始,nativeVoIP支持可用。如何从我的应用程序添加系统SIP帐户?我认为解决方案可能是使用系统设置内容提供程序。但我不知Prop体是怎么做到的。 最佳答案 没有可用于SIP帐户的系统内容提供程序。只有两种方式可用,首先,可以通过intent调用SIP账号系统Activity。if(SipManager.isVoipSupported(this)&&SipManager.isApiSupported(this)){//SIPissupported,let'sgo!Intentintent=newInt

android - SipManager.isApiSupported() 和 SipManager.isVoipSupported() 返回 false

是否有任何配置可以在设备上启用VOIP?或者这些方法确实表明我的设备不支持VOIP? 最佳答案 我认为回答这个问题有点晚,但经过大量搜索后,我发现您应该使用任何SipStack,因为如here所解释的那样:FusionSIPsourcecodeisspecificallydesignedforuseinembeddeddevices,hasasmallfootprintandiscompletelyROMableandre-entrant.TheFusionSIPstackprovidesasimplifiedAPIforeasyi

android - SipManager.newInstance(this) 返回 null

我遵循说明here一步一步,但是当我想获得一个新的sip管理器实例时,它返回null!我的设备是运行android6.0的LGG4。我可以从googleplay运行第三方sip应用程序,这意味着我的设备支持sip。但为什么这一行返回null?SipManagermanager=SipManager.newInstance(this); 最佳答案 我回答了问题here详细点。并非所有设备都支持AndroidSIPAPI。这article详细讨论这个问题并提出替代解决方案。 关于androi