如何打开/关数据编程,而无需修改的APN(姜饼兼容)? [英] How to turn on/off DATA programmatically without modifying APN (Gingerbread compatible)?

查看:129
本文介绍了如何打开/关数据编程,而无需修改的APN(姜饼兼容)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的研究解决方案,无论是涉及的APN的修改,或者是因为它增强的安全性不与Android 2.3兼容才发现。

I only found during my research solutions that either involve a modification of the APNs, or are not compatible with Android 2.3 because of its enhanced security.

不过,我是pretty的肯定有一个更快/更清洁的方式不是修改的APN启用/禁用移动数据连接。事实上,目前市场上最流行的小部件之一设法很快做开关,并声称它并没有触及的APN。

Nevertheless, I am pretty sure there is a faster/cleaner way than modifying the APNs to enable/disable mobile data connectivity. Indeed, one of the most popular widgets on the market manages to do the switch very quickly and claims it does not touch APNs.

- >您知道哪些API /函数,我应该用它来获得类似的功能在我的应用程序

-> Do you know which API/function I should use to get similar functionality in my app ?

推荐答案

这是不可能的,由于安全方面的原因。唯一的选择是修改的APN,并且它不能保证在每个设备中工作。

It is not possible due to security reasons. The only alternative is to modify the APN, and it is not guaranteed to work in every device.

这篇关于如何打开/关数据编程,而无需修改的APN(姜饼兼容)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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