When you obtain the lat/long values from a GPS enabled blackberry device, how do you send those values to a server via a url? By the way, I'm trying to do this in Javascript. "window.location.href=..."
works fine on the iphone.
I was thinking something like this would work but it doesn't seem to:
function locationCB() {
window.location.href="http://www.somewebsite.com/latitude:"+blackberry.location.latitude+"/longitude:"+blackberry.location.longitude;
return true;
}
if ( window.blackberry && blackberry.location.GPSSupported) {
blackberry.location.onLocationUpdate("locationCB()");
blackberry.location.setAidMode(2);
blackberry.location.refreshLocation();
}