Homing device patch to see km/h instead of mph and ssl for google-maps
/media/cryptofs/apps/usr/palm/applications/com.palm.ac3.homingdevice/app/assistants/maindash-assistant.jsjsjs:
Code:
MaindashAssistant.prototype.buildResponseMessage = function(location) {
Mojo.Log.info("GPS result: " + Object.toJSON(location));
Mojo.Log.info("latitude is: " + location.latitude);
Mojo.Log.info("longitude is: " + location.longitude);
var mph = (location.velocity * 3.6).toFixed(1); //todo: allow KPH? (* 2.2369363 = mph)
if (mph <= 0) {
mph = 0.0;
}
var locationURL = "https://maps.google.com/maps?f=q&q=" + location.latitude + "," + location.longitude
+ "\n Speed: " + mph + " km/h";
and together with Jasons location message-patch and my fix for URL handler for maploc: , it now even opens the location in homebrew google maps instead of Bing