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

Testing and Deployment

Reply
Developer
calgacus
Posts: 237
Registered: ‎07-20-2010
My Device: Not Specified

simulators not giving gps location info to web app

Hi,

I am testing a little web app and find the in BB OS 5 nad OS 6 simulators(and the few devices I've tried) the app never calls my callback functions after I call navigator.geolocation.getCurrentPosition, I get no errors or exceptions and the geolocation object is there but my callbacks never get called - hence i never recieve an location).  I find the same problem on devices so is there a special trick to making this work on OS5/6,  and btw it works correctly on OS7 simulators.

 

 

Please use plain text.
Developer
calgacus
Posts: 237
Registered: ‎07-20-2010
My Device: Not Specified

Re: simulators not giving gps location info to web app

PS

I added a timeout and it works to call the error callback  - but i still am not getting any positions.

Please use plain text.