Friday, 29 April 2011

Launching Google Map after getting a fixed GPS location

I will continue with my next part of launching Google Map after getting a GPS fix. Honestly, with so much power given to a developer, doing this is a piece of cake (I guess even easier than baking a cake).
gps_latitude = inResponse.latitude;
gps_longitude = inResponse.longitude;
this.controller.get('txtLatitude').mojo.setValue (gps_latitude);
this.controller.get('txtLongitude').mojo.setValue (gps_longitude);

this.controller.serviceRequest("palm://com.palm.applicationManager", {
method: "open",
parameters: {
id: "",
params: {
location: {lat: gps_latitude, lng: gps_longitude}

No comments:

Post a Comment