Google recommends now using Google Play Services
to manage user location.
But how can we, using this API, check wether GPS is turned on in device or if we still have gps connection?
In com.google.android.gms.location.LocationListener
we have only one method abstract void onLocationChanged(Location location)
which is called when the location has changed, but we don't know there anything about GPS status.
How to use Google Play Services
like "old" LocationManager
and LocationListener
?