How do I know if my Android location services are enabled?

To get current Geo location in android google maps,you should turn on your device location option.To check whether the location is on or not,you can simple call this method from your onCreate() method. I use such way for NETWORK_PROVIDER but you can add and for GPS. Settings > Location > Mode > Battery Saving .

Sizin İçin Seçtik  How can I get location from background in current version of Android?

Leave a Reply

Your email address will not be published. Required fields are marked *