According to the Android documentation:
The Google Location Services API, part of Google Play Services, provides a more powerful, high-level framework t
You can also check like this:
LocationManager service = (LocationManager) getSystemService(LOCATION_SERVICE); boolean isEnabled = service.isProviderEnabled(LocationManager.GPS_PROVIDER);