1

I would like to know if there is any way to disable mobile data connection in android programmatically. Since there is a class known as WifiManager to handle the wifi

  • 1
    possible duplicate of [How to check internet connectivity in android?](http://stackoverflow.com/questions/3211978/how-to-check-internet-connectivity-in-android) – flx Sep 14 '13 at 09:14
  • please check this link http://developer.android.com/reference/android/net/ConnectivityManager.html – Vinoth Sep 14 '13 at 09:15
  • http://stackoverflow.com/questions/11555366/enable-disable-data-connection-in-android-programmatically – Vinoth Sep 14 '13 at 09:19

1 Answers1

0

No reliable way using Android APIs. You can't enable/disable mobile data programmatically unless you use OEM provided APIs.

Nitin Sethi
  • 1,416
  • 1
  • 11
  • 19