如何在Android上以编程方式禁用/启用3G?

时间:2022-08-25 23:36:03

I'm trying to code an app for android that needs to enable and disable 3G (move between 2g and 3g), but can't find anything about it...is that possible? Can I get a snippet code or some documentation? Thanks in advance

我正在尝试编写一个Android应用程序,需要启用和禁用3G(在2g和3g之间移动),但无法找到任何关于它的...这可能吗?我可以获得代码段或一些文档吗?提前致谢

2 个解决方案

#1


1  

No , it is not possible as just in other mobile platforms not possible..

不,它不可能只是在其他移动平台上不可能..

#2


0  

Similar question over here from the other side:

来自另一方的类似问题:

Is it possible to force network traffic through Wifi or the TMobile network?

是否可以通过Wifi或TMobile网络强制网络流量?

Are you talking about moving between Edge and 3g or turning on and off the Wifi.

您是在谈论在Edge和3g之间移动还是打开和关闭Wifi。

#1


1  

No , it is not possible as just in other mobile platforms not possible..

不,它不可能只是在其他移动平台上不可能..

#2


0  

Similar question over here from the other side:

来自另一方的类似问题:

Is it possible to force network traffic through Wifi or the TMobile network?

是否可以通过Wifi或TMobile网络强制网络流量?

Are you talking about moving between Edge and 3g or turning on and off the Wifi.

您是在谈论在Edge和3g之间移动还是打开和关闭Wifi。