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

Web and WebWorks Development

New Developer
Posts: 2
Registered: ‎02-05-2010
My Device: Curve™ 8900
My Carrier: airtel

getting location?

Hi all,

           I am new bb developement .I want start my applications using geo location.

In api i found two methods:



2)google gears


which one is better to use in my application?to use these features gps is required ?Is there any way to get cell tower info?


Please help me..



Mehraj R

Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: getting location?

I would definitely recommend using the Gears Geolocation object.  It is build on the latest GPS APIs on the BlackBerry and will leverage the cell tower triangulation service once it goes live.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Contributor
Posts: 8
Registered: ‎01-16-2011
My Device: Blackberry 9700
My Carrier: Etisalat

Re: getting location?

I tried both versions mentioned in the first post and I discovered something strange. The blackberry.location works good and is very accurate. The Gears implementation (navigator.geolocation) on the other hand is very inacurate and jumps up to 200 meters per refresh.


One other issue I have is that how can I get quick updates for GPS latitude and longitude. Each request takes up to 10 seconds. The BlackBerry map if set to navigation mode updates olmost once every two seconds. How is that possible?



Trusted Contributor
Posts: 152
Registered: ‎02-12-2011
My Device: Not Specified

Re: getting location?

Were you able to get a solution to this?
Posts: 518
Registered: ‎07-18-2011
My Device: Bold
My Carrier: Rogers

Re: getting location?

Was any of this behaviour contrasted with HTML5 Geolocation?

1.Please resolve your thread by clicking the "Accept as Solution" button below the post which solved your problem!
2. If any post helps you please click the button below the post(s)