Jump to content

Recommended Posts

Hi Guys,

 

I'm in the process of building a mobile web app for phones with wireless and gps, I need the app to be able to identify its location and display information dependent on that location. I asked in the PHP forums at first but was told to try the javascript one.

 

Eg: One of the apps I've been asked to develop is for a building company. They want their inspectors to be able to visit each building site and open up their control panel and immediately have the information available for that particular location. It also has to offer alternatives, eg if the building site is close to another building site they should be able to select the correct on.

 

Is this possible to do as a mobile webapp? If so could someone please point me in the right direction.

 

Thank you

 

Alex.

Link to comment
https://forums.phpfreaks.com/topic/187165-mobile-web-app-to-be-location-aware/
Share on other sites

To do that, you would need access to the location handling stuff in the phone.  In other words, the location stuff is most likely handled on an OS level.

 

So, an app (think about an iPhone app for example) might be able to access the API to retrieve location information, but as far as accessing location information on a web page, JS would have to be able to access an API in the browser which would then have to access something in the OS.  So, possible?  Maybe.  Would depend on the phone.  I would guess no though.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.