Friday, March 23, 2012

[android-developers] Re: Programmatically disable 3G/Mobile Data

I have an app in my phone called APNDroid that solves this, although with a hack: it renames the APN address, that way 3G is inaccesible

HTH

José



El jueves 22 de marzo de 2012 00:04:52 UTC-3, Hamza escribió:
Hi!

I am trying to develop an application that smartly manages wifi vs 3g for a user. I am looking for a way to totally disable 3G on a device (similar to how a user can do it in the settings, but programmatically instead). Specifically, I need a way to do this on Android 4.0. How can an app disable mobile data on a device??

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate