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

Web and WebWorks Development

Reply
New Member
124c
Posts: 1
Registered: ‎02-24-2011
My Device: Not Specified

Problems with GPS Location Blackberry Simulator

Hi. I've been doing some development in the blackberry webtools 2.5.0 and I've been unable to get any location information other than longitude and latitude 0,0.

 

I tried writing a simple widget extension using LocationProvider.getLastKnownLocation().getQualifiedCoordinates().getLatitude() and .getLongitude() and I've tried the blackberry.location method ( detailed here http://docs.blackberry.com/en/developers/deliverables/17954/CS_Retrieving_a_GPS_loc_by_using_a_web_p... )

 

I have been using the Simulate->GPS Location in the simulator, both the location and the generated route options and neither seems to do anything. And I tried it in both the Storm2 9550 (5.0.0.469) and the Bold 9700 (5.0.0.469) simulators and they return 0,0. But when i try it out on the Torch 9800 (6.0.0.227) the blackberry.location method returns valid data so i'm stumped about what is going wrong.

 

Any assitance or insight would be greatly appreciated.