From the google i/o 2015 I have learned that there is a new dialog in google play service where user doesnt need to exit the current app to turn on location. here is the image below that shows how it looks like:
now my question is, how can I implement this in my project? I have searched but didnt find any valid answer, please help!
Take a look at google service documetation for api's and you will find everything well documented. For your request i would suggest to use the LocationSettingsRequest.Builder to reach your goal.
I have found an example by Kai in stackoverflow: Link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With