webOS Nation Forums >  webOS apps and software >  webOS development > Access GPS location from web page
Access GPS location from web page

  Reply
 
LinkBack Thread Tools Display Modes
Old 07/27/2009, 12:07 PM   #1 (permalink)
Member
 
Join Date: Jun 2009
Posts: 4
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Access GPS location from web page

I'm trying to create a mobile version of a web page for the pre that uses the current GPS location. I know how to do this for the iPhone, blackberry, android phones, and nokia phones in the page's JS but I'm not sure how to do this on the Pre. Does anyone know?

To clarify, this is not for an app, but a web page viewed throug the Pre's web browser.
bourds is offline   Reply With Quote
Old 04/05/2010, 04:06 PM   #2 (permalink)
Member
 
Join Date: Jul 2009
Posts: 18
Likes Received: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Did you ever get any help with this?

I have the same issue, can do this for all the other phones you mentioned but not the WebOS phones.....maybe it is not possible at this point?
southbaypalm is offline   Reply With Quote
Old 04/05/2010, 04:13 PM   #3 (permalink)
Member
 
moserjj's Avatar
 
Join Date: Jun 2009
Posts: 470
Likes Received: 0
Thanks: 63
Thanked 156 Times in 66 Posts
Default

webOS doesn't currently support this but hopefully it will in the future. It's been discussed over on the Palm dev forums.
__________________
GolfPinFinder - GiftJammer - MyIP - Twitter
moserjj is offline   Reply With Quote
Thanked By: southbaypalm
Old 04/05/2010, 04:22 PM   #4 (permalink)
Member
 
Join Date: Jul 2009
Posts: 18
Likes Received: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks.
southbaypalm is offline   Reply With Quote
Old 04/05/2010, 08:57 PM   #5 (permalink)
Homebrew Developer
 
Tonylmiller's Avatar
 
Join Date: Jan 2005
Location: Huntsville, Alabama
Posts: 2,417
Likes Received: 4
Thanks: 7
Thanked 140 Times in 42 Posts
Default

Not sure exactly what you want to do, but it is very easy to get GPS coordinates or zip code or whatever. Can you pass something like that through the URL to get the page?
Tonylmiller is offline   Reply With Quote
Old 04/05/2010, 10:33 PM   #6 (permalink)
Member

 
Grabber5.0's Avatar
 
Join Date: Dec 2008
Location: Kansas City, MO
Posts: 1,742
Likes Received: 86
Thanks: 198
Thanked 362 Times in 291 Posts
Default

On one hand I'm surprised they didn't enable this in the browser, since it is so easy to do in an app, but how does the user control it? You aren't going to want every website you visit to have access to your GPS location.
Grabber5.0 is offline   Reply With Quote
Old 04/06/2010, 07:49 AM   #7 (permalink)
Member
 
moserjj's Avatar
 
Join Date: Jun 2009
Posts: 470
Likes Received: 0
Thanks: 63
Thanked 156 Times in 66 Posts
Default

on the iphone, the browser prompts you about sharing your location similar to how firefox does it on your desktop machine. It's not done without your consent.
moserjj is offline   Reply With Quote
Old 04/06/2010, 11:24 AM   #8 (permalink)
Member

 
Grabber5.0's Avatar
 
Join Date: Dec 2008
Location: Kansas City, MO
Posts: 1,742
Likes Received: 86
Thanks: 198
Thanked 362 Times in 291 Posts
Default

Quote:
Originally Posted by moserjj View Post
on the iphone, the browser prompts you about sharing your location similar to how firefox does it on your desktop machine. It's not done without your consent.
I have never seen this. Can you point me to a site just so I can check it out? Thanks.
Grabber5.0 is offline   Reply With Quote
Reply

 

Tags
gps, location, web browser

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0