Skip to content Skip to sidebar Skip to footer

Android Quick Settings Notifications?

In gms.location.FusedLocationProviderApi, the way to check if location settings are enabled is to call checkLocationSettings. That's great for polling, but it's possible for the us

Solution 1:

And the answer is... android.location.PROVIDERS_CHANGED is broadcast when a change is made to location in Quick Settings.

    <receiver
        android:name=".LocationProvidersChangedReceiver"
        >
        <intent-filter>
            <action android:name="android.location.PROVIDERS_CHANGED" />
        </intent-filter>
    </receiver>

Post a Comment for "Android Quick Settings Notifications?"