How do you check if location is turned on?

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 . Show activity on this post. I use such way for NETWORK_PROVIDER but you can add and for GPS.

Sizin İçin Seçtik  What framework is used for microservices?

Leave a Reply

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