Hello, I need to receive the event on GPS enable/disable status. Example - user goes to Settings/Security and location and press "enable GPS satellites" checkbox - my application should receive some event at this moment.
I did try to subscribe Intent.ACTION_PROVIDER_CHANGED and Intent.ACTION_CONFIGURATION_CHANGED but none of those worked. Did not find any other similar broadcast intents to subscribe to. LocationListener looks to be ok as it has onProviderDisabled and onProviderEnabled methods, but I can register it only with requestLocationUpdates(String provider, long minTime, float minDistance, LocationListener listener) which would mean receiving periodical updates for location change events which are not needed in my app and would just eat battery. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

