Android 中的 APN 设置

发布于 2024-09-28 15:27:16 字数 80 浏览 0 评论 0原文

在我的 Android 应用程序中,我想检查 APN 设置集是否是首选 APN。

我可以有 Android 中的 APN 列表吗?

In my Android applications I would like to check if the APN settings set is the preferred APN.

Can I have a list of APN in android?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

把时间冻结 2024-10-05 15:27:16

关键是内容提供商 URI:“内容/电话/运营商”。

请查看此 APN 列表处理示例:

代码示例

Key thing is the content provider URI: "content/telephony/carriers".

Please check this example of APN list handling:

code example

腻橙味 2024-10-05 15:27:16

首选接入点名称取决于网络提供商。您真的不想获得全世界所有电话公司的 APN 列表......?

The preferrede access point name depends on the network provider. You don't really want a list of APN's for all the phone companies in the whole world...?

对你而言 2024-10-05 15:27:16

您有两个数据库,其中保留了所有可以使用的 APN 的列表,第二个是首选 APN。
从其中一个构建您的列表,并从另一个获得首选 APN。

You have two databases, on keeps list of all the APN's that can be used, and second is preferred APN.
Construct your list from one, and get preferred APN from another.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文