I am developing an app having a feature that link to "Google map" via Intent to show direction, it works ok with the devices using Google map. But in some devices use "Google map go" and "Navigation for google map go", seem like these app don't handle Intent the same with "Google map".
I tried to replace "Google map" package with "Google map go" and "Navigation for google map go" package. But it wasn't work.
Uri gmmIntentUri = Uri.parse("google.navigation:q=" + destinationPoint.latitude + "," + destinationPoint.longitude + "&mode=d"); Intent mapIntent = new Intent(Intent.ACTION_VIEW, gmmIntentUri); mapIntent.setPackage("com.google.android.apps.navlite"); context.startActivity(mapIntent);
I research and couldn't find any docs about that, so how to do that?