[android-developers] Re: Knowing when someone sets device to 2G only

2010-07-10 Thread Al Sutton
Actually getting the setting is pretty difficult because it's not a universal setting (CDMA devices don't have a preferred network type setting), so the setting itself isn't exposed in a universal way. You could try setting up a broadcast receiver for ConnectivityManager.CONNECTIVITY_ACTION and

[android-developers] Re: Knowing when someone sets device to 2G only

2010-07-09 Thread Indicator Veritatis
That sounds like doing a little too much for them. But if you really want to wipe their noses for them like that, then I think either android.provider.Settings or android.provider.Settings.System has what you want. But I admit I didn't do an exhaustive search. On Jul 9, 9:11 am, Craig