开发者

Enabling and disabling network connection in android

in my application i can enable and disable wifi connection.After disabling wifi connection it switches to mobile network for accessing internet.I want to disable mobile connection also and then enable it after a certain period.I am enabling and disabling wifi using WifiManager. But what to do enable/disable 2g/3g mobile network.Thanks in adva开发者_JS百科nce


The simplest way (and only one?) is to rename the APN and then rename it back. Is beeing used by many apps

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜