Open TomTom Go on android from thrid party app

searchforsites
Registered Users Posts: 2 
Apprentice Seeker

Apprentice Seeker
We have an app that lists location with a link to open selected navigation devices and create a route to the location
This is the URL scheme I am using to call TomTom Go on the iPhone and works perfectly
urlString = [NSString stringWithFormat:@tomtomgo://x-callback-url/navigate?destination=%f,%f, latitude, longitude];
This is what I’ve tried on Android with no luck:
String url = "tomtomhome:geo:action=navigateto&lat=" + location.latitude + "&long=" + location.longitude
try {
Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(url));
startActivity(intent);
}
But this does not work
Can anyone share the correct format to open tomtom Go from an android device with a destination using lat lng coordinates please
This is the URL scheme I am using to call TomTom Go on the iPhone and works perfectly
urlString = [NSString stringWithFormat:@tomtomgo://x-callback-url/navigate?destination=%f,%f, latitude, longitude];
This is what I’ve tried on Android with no luck:
String url = "tomtomhome:geo:action=navigateto&lat=" + location.latitude + "&long=" + location.longitude
try {
Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(url));
startActivity(intent);
}
But this does not work
Can anyone share the correct format to open tomtom Go from an android device with a destination using lat lng coordinates please
Tagged:
0
Comments
-
see yesterday discussion https://discussions.tomtom.com/en/discussion/1134675/start-navigating-from-external-app-with-ident1