Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® OS Smartphones

Reply
Highlighted
New Member
Posts: 1
Registered: ‎07-24-2008
My Device: Not Specified

JavaScript Pop-Up when Pulling Phone's Location

I have an 8800 with built-in GPS.  I am using the javascript commands like blackberry.location.latitude to get the location of the phone via a webpage.  I have setup the webpage to automatically refresh so I can pull the phone's location every so many minutes.  The problem that I am having is that the browser keeps poping up the following message "A JavaScript has requested the physical location of your device.  Do you wish to provide this to the script ?".  This is fine, but I am trying to automate this process so I need to know what settings need to be changed on the phone to simply allow the javascript to work without requesting permission.

 

I have already changed the GPS permissions to allow, but that did not make a difference.

 

Thanks for any and all help that you provide.

New Member
Posts: 1
Registered: ‎05-10-2009
My Device: Not Specified

Re: JavaScript Pop-Up when Pulling Phone's Location

I'm curious if there is any information on this issue.  Is there a way to keep the prompt from appearing when using javascript to get the location of the user?

 

Thanks.

New Developer
Posts: 3
Registered: ‎09-08-2009
My Device: Not Specified

Re: JavaScript Pop-Up when Pulling Phone's Location

Hi All,

 

Sorry for reviving a old thread but I am struggling with this. I sthere any solution yet?

 

Thanks for the help.

 

 

 

 

 

http://www.sneebly.com

Micro-Geo-Blogging
http://www.sneebly.com