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).
Codes:
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: "com.palm.app.maps",
params: {
location: {lat: gps_latitude, lng: gps_longitude}
}
}
});

Comments

Popular posts from this blog

Introduction to Enyo Development for webOS

PowerBuilder PBL Source Extractor