0
I’m looking for a way to give user option select which app mount your route (Waze, google maps, Uber...), but just does not work on google maps.
When I choose it, it just shows the location on the map, but does not open the navigation, as in other.
Selecting google maps to open the route
Currently I’m doing so:
val gmmIntentUri = Uri.parse("geo:${mClient.lat},${mClient.lng}")
val mapIntent = Intent(Intent.ACTION_VIEW, gmmIntentUri)
startActivity(mapIntent)
I know there’s a choice:
Uri.parse("google.navigation:q=${mClient.lat},${mClient.lng}")
Really opens the navigation of cute google maps, but so stops working on all other apps.
I’d like a way that works for everyone.
If you notice well, this is how I said I was using. I already found a solution, I commented right down
– Iago Silva