Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We're creating a brief for a mobile website (not web app) and would like to know if a mobile website can access a handset's built in GPS radio to display the handset's location on a map.

In short is GPS functionality limited to apps alone?

share|improve this question
up vote 8 down vote accepted

While Websites can not directly access the GPS, then can get the current location from the device (But of course only if the user has granted the permission). I think that this is done via HTML5's gelocation API, but I am not sure.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.