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.
Switch to the 9800 simulator and that should work. And I should get some stackoverflow points :)
Thanks to davdjohnson's comments. I also found the similar complaints on BB's forum. I switched to 9800 simulator and the geolocation works.
精彩评论