Background: The Cordova phonegap 2.2 application running on Android allows listening to the backbutton event
document.addEventListener(\"bac
Here is one way to intersect the google maps links.
Assuming you have jquery available, you can include this method in your script:
function directUrlToExternalBrowser(urlPattern) {
var pattern = "a[href^='"+urlPattern+"']";//all urls startting with urlPattern
$(pattern).live('click', function(e){
e.preventDefault();
navigator.app.loadUrl($(pattern).attr("href"), {openExternal: true});
});
}
Then you can direct the clicks to the phonegap api by the following lines:
directUrlToExternalBrowser("http://maps.google.com/maps");
directUrlToExternalBrowser("http://www.google.com/intl");