Google Android - how to figure out if 3g and 2g is turned on
<p>I'm developing a simple application for the Google Android to turn on and off the wifi or 3g or 2g.</p>

<p>I see <a href="http://developer.android.com/reference/android/net/wifi/WifiManager.html#isWifiEnabled" rel="nofollow">http://developer.android.com/reference/android/net/wifi/WifiManager.html#isWifiEnabled</a>()
that you can see if the wifi is enabled or disabled and also us
<a href="http://developer.android.com/reference/android/net/wifi/WifiManager.html#setWifiEnabled" rel="nofollow">http://developer.android.com/reference/android/net/wifi/WifiManager.html#setWifiEnabled</a>(boolean)
to turn on and off the wifi.</p>

<p>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 off 3G and left 2G on.</p>
