Android: Check if Location Services Enabled using Fused Location Provider
问题 According to the Android documentation: The Google Location Services API, part of Google Play Services, provides a more powerful, high-level framework that automatically handles location providers, user movement, and location accuracy than the platform location API in android.location . But using the fused location provider (from location APIs in Google Play services) I do not know how to check if the user has the location enabled or disabled. Using the old android.location it was easy: