<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.latitude
和blackberry.location.longitude
注意: