How can I turn off 3G/Data programmatically on Android?
Not Wifi, but 3G/Data.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no official way to do this. However, it can be achieved unofficially with reflection.
For Android 2.3 and above:
This also requires the following permission.
For Android 2.2 and below:
This required the following permission:
Note that both of these are unofficial and may no longer work. No more proof of this kind of thing breaking should be needed, as the 2.2 and below method broke on 2.3.