0

I am using the HTML5 Geolocation API to get user's current location & everything works fine when the user has enabled GPS & location services. But when it is turned off is there someway I can prompt the user to enable GPS from within my Mobile Site similar to the way it is done in an Android App?

2
  • This should be done by browser level directly. I have seen it in iOS and Android.
    – Michael C.
    Apr 1, 2014 at 23:48
  • Browser does it only when GPS is turned on in settings. My question is how do I prompt the user to turn on their GPS when they have switched it off?? Apr 2, 2014 at 5:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.