I'm working on an "update" of may Android APP to include "Android auto" service for maps. I have tested in DHU and everything works fine, but when I wan to launch "google maps" or another "maps app", this code should open it, but it doesn't work. No error but "maps app" doesn't start.
This is the code that I use, based on the docs https://developer.android.com/training/cars/apps#user-interaction
var myCoordinates = latitude + "," + longitude
val intent = Intent(CarContext.ACTION_NAVIGATE, Uri.parse("geo:0,0?q=" + myCoordinates + "(" + nome + ")"))
carContext.startCarApp(intent)
Is it supposed that DHU will open "google maps" or it only works in real car devices?
Has anyone tested a similar situation?