[android-developers] Turning GPS ON/OFF

2009-03-09 Thread Rudi
What is the correct way of turning ON/OFF the GPS in Android. I've found the System.Settings provider, and the LOCATION_PROVIDERS_ALLOWED setting, but it seems that the rest of the system is not notified about the change if I set the values. Is there a function that should be called initiate a not

[android-developers] Turning GPS ON/OFF

2009-03-09 Thread Rudi
Anybody nows a code/sample how to turn ON/OFF the GPS location provider *corretcly*. I have found the System.Settings provider and can set / change the corresponding setting, but it seems that the rest of the system does not recgnize the change. Is there a method to be called to notify the system