BlackBerry Widget application - GPS location is always 0,0
问题 I am trying to get the GPS location in a widget application on a blackberry, but the API always returns a latitude and longitude of 0,0. Simulator: storm 2 (9550)/ bold(9700) and OS: 5.0/5.0 IDE:Eclipse the html page code as below: var modeCellsite = 0; var modeAssisted = 1; var modeAutonomous = 2; function locationChanged() { alert("Lat " + blackberry.location.latitude + " Lon " + blackberry.location.longitude + " Time " + blackberry.location.timestamp ); return true; } if ( window