Search code examples
blackberrygeolocationcordovablackberry-widgets

PhoneGap geolocation() not working in Blackberry simulator?


I installed PhoneGap 0.9.2 and followed the instructions from the PhoneGap wiki page "Getting Started with PhoneGap (BlackBerry Widgets)" to run the Phone Gap sample in 9550 BlackBerry simulator.

I used the simulator menu to set a geolocation to a known value. However, when I click the "Get Location" button in the sample, it prompted the following error message.

code: 104 message: GPS location acquisition timed out.


Solution

  • Switch to the 9800 simulator and that should work. And I should get some stackoverflow points :)