开发者

PhoneGap geolocation() not working in Blackberry simulator?

开发者 https://www.devze.com 2023-01-30 19:37 出处:网络
I installed PhoneGap 0.9.2 and followed the instructions from the PhoneGap wiki page \"开发者_如何学编程Getting Started with PhoneGap (BlackBerry Widgets)\"

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消