读出互联网通话设置(SIP 帐户)
我正在开发一个可以拨打网络电话的 Android 应用程序。我一切正常,从注册 SIP 服务器、拨打电话、更新实时状态等。但是我用于应用程序的 SIP 帐户已在代码中设置。那不是我想要的。
在 android 2.3.1 + 中有一个菜单:设置>通话>互联网通话设置
在“互联网通话设置”中,您可以设置互联网通话的一些设置,您还可以在那里添加 SIP 帐户。
那么我想要什么呢?我想读出该菜单中设置的 SIP 帐户。有谁知道这是否可能?如果是这样,任何帮助将不胜感激。来自包含此教程的链接或以前遇到过类似问题并且能够并且愿意帮助我的人。
谢谢, :-)
I'm working on an Android application which can make internet phone calls. I got everything working, from registering with the SIP server and making calls, updating real time status, etc. But the SIP account I use for the application has been set in the codes. And thats not what I want.
In android 2.3.1 + there is a menu in: Settings>calls>Internet call settings
In "Internet call settings" you're able to set some settings for internet calling, you can also add an SIP account there.
So what do I want? I want to read out the SIP account thats been set in that menu. Does anyone know if it's possible or not? if so, any help would be appreciated. From a link with a tutorial for this or someone that encoutered something like this before and is able and willing to help me.
Thanks, :-)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Android 不支持以编程方式读取 SIP 帐户列表。
有关更多详细信息,您可以参考 android.net.sip.SipManager< /a>
There is no support by android for reading SIP account list programmatic.
For more detail you can refer android.net.sip.SipManager