I'm making an application should have the option to choose Mobile Data or Wifi to access the internet without rooting the device. How to do it?
Asked
Active
Viewed 56 times
0
-
Well, this is too broad to be answered. – Rohit5k2 Apr 03 '19 at 10:05
-
For wifi, see [this](https://stackoverflow.com/questions/3930990/android-how-to-enable-disable-wifi-or-internet-connection-programmatically) and for data connection see [this](https://stackoverflow.com/questions/11555366/enable-disable-data-connection-in-android-programmatically) – Kilarn123 Apr 03 '19 at 10:09