I noticed that with the new update to google map, if you have GPS is off, then it warns you about the accuracy. Here is the new thing, if you hit OK then it enables the GPS for you. Which means it is programmatically enabling GPS as opposed to me going to Settings. I have Kitkat running on samsung S4
Does this means that there is an official way to enable GPS programatically?IF yes then how?
Thanks
Google Play service 7.0 and above have this feature.
In Google Play services 7.0, we’re introducing a standard mechanism to check that the necessary location settings are enabled for a given LocationRequest to succeed. If there are possible improvements, you can display a one touch control for the user to change their settings without leaving your app.
http://android-developers.blogspot.in/2015/03/google-play-services-70-places-everyone.html
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments