以编程方式连接到另一个网络运营商 [英] Programmatically connecting to another Network operators

查看:82
本文介绍了以编程方式连接到另一个网络运营商的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试制作一个小应用程序来列出并连接到其他网络运营商.

I am trying to do a little app to list and connect to other Network operator.

我通过以下方式列出了他们:

I list them by going to:

  • 设置
  • 无线控件
  • 移动网络
  • 网络运营商
  • 搜索网络

然后我通过单击列表之一连接到其他网络运营商.

And I connect to other Network operator by clicking on one of the list.

我一直在从 ConnectivityManager 中搜索方法但我找不到类似connectTo()的东西.

I've been searching methods from ConnectivityManager but I don't find something like connectTo() .

关于如何做到这一点的任何想法?

Any ideas of how I can do this?

推荐答案

我了解到,为了安全起见,没有任何公共API可以管理该API,因此唯一的选择是将用户发送到我的系统中的PreferenceScreen应用程序.

I learn that for the sake of security there aren't any public APIs to manage this so the only option is to send the user to the system PreferenceScreen within my app.

这篇关于以编程方式连接到另一个网络运营商的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆