Google Android - how to figure out if 3g and 2g is turned on
问题 I'm developing a simple application for the Google Android to turn on and off the wifi or 3g or 2g. I see http://developer.android.com/reference/android/net/wifi/WifiManager.html#isWifiEnabled() that you can see if the wifi is enabled or disabled and also us http://developer.android.com/reference/android/net/wifi/WifiManager.html#setWifiEnabled(boolean) to turn on and off the wifi. I'm wondering if it's possible to do the same for 3G and for 2G/GPRS? I know it's possible because you can turn