blackberry.location.latitude:我总是0为什么?/

时间:2010-02-25 06:59:05

标签: javascript blackberry

<html> 
<body> 
<script language="Javascript"> 
if(blackberry.location.GPSSupported) {
blackberry.location.setAidMode(1);
blackberry.location.refreshLocation();
blackberry.location.onLocationUpdate(window.alert("Your new
position is " + blackberry.location.latitude +
" degrees latitude and " +
blackberry.location.longitude +
" degrees longitude."));
}
</script> 
</body> 
</html>

我已在设备黑莓8800 黑莓9000 上测试过,我总是0 blackberry.location.latitudeblackberry.location.longitude

注意:

  • 启用了javascript支持
  • 启用了javascript位置支持

1 个答案:

答案 0 :(得分:1)

您是否在blackberryforums

上阅读了此主题