05-25-2009 04:23 AM
05-25-2009 04:24 AM - edited 05-25-2009 04:26 AM
You need to implement LocationListener and want to put your code inside
"public void locationUpdated(LocationProvider provider, Location location)" method.
Edit: Just for the confirmation. If you already did this, then cheers
05-25-2009 05:52 AM
Yes, I got the GPS coordinates which are same as the Selected GPS location's latitude and longitude. How we can get the our current GPS position that is (Longitude, and Latitude). Isn't the simulator doesn't find the GPS posistion automatically without any selection of Location. I used 9000 JDE (BlackBerry bold) simulator.
Pls, suggest me----
Thanks in advance.
07-08-2009 11:49 AM
Hi I am trying to test my location based web up for Blackberry. I am working with the Blackbery Storm Emulator,:
alert("Latitude " +
blackberry.location.latitude + " Longitude " + blackberry.location.longitude);
if( window.blackberry && blackberry.location.GPSSupported)
// set to Autonomous mode
//refresh the location
else document.write("This Device doesn't support the Blackberry Location API");
And I get a Alert with my location Altitude and Latitudde = 0 all the time . I tryed to change the default locationof GPS from Simulate->GPSLocation, My App still returns 0,0 and i tryed to create routs and start running it, Still get 0, 0 for my coordinats, Can someone point out for me what am I missing?Thanks
07-09-2009 03:33 AM