TomTom integration does not work anymore?

Posted by viezel on Stack Overflow See other posts from Stack Overflow or by viezel
Published on 2012-06-19T08:52:35Z Indexed on 2012/06/19 9:16 UTC
Read the original article Hit count: 361

Filed under:
|
|
|

I did for 6 months back an integration for TomTom navigation with URL Scheme. This worked out great, but then TomTom updated their iPhone app to version 1.10. Since then the integration does not work. Anyone tried the same?

My iOS integration looks like this: (Titanium appcelerator)

var lat = dbDataArray[chosenRoute]["lat"].toFixed(6); //geo coordinate
var lng = dbDataArray[chosenRoute]["lng"].toFixed(6); //geo coordinate

//open navigation
var url = "tomtomhome://geo:action=navigateto&lat="+lat+"&long="+lng+"&name=name";

//show map
//var url = "tomtomhome://geo:action=show&lat="+lat+"&long="+lng+"&name=name";
if (Ti.Platform.canOpenURL(url)) {
    Ti.Platform.openURL(url);
}else {
    alert('Please install TomTom Navigation app');
}

Note: I cannot get TomTom to tell me what has changed.

© Stack Overflow or respective owner

Related posts about ios

Related posts about url