I'm trying to start a navigation activity with an intent from my app. I want it to start navigation from my location to a point that I provide. I've tried this way
String uri = "geo: "+String.valueOf(latitude) + "," + String.valueOf(longitude);
Intent intent =
"&daddr=" + String.valueOf(latitude) + ","
've done this myself and have had no issues using it the following way:
intent.setData(Uri.parse("geo:" + getLatitude() + "," + getLongitude() + "?q=" + getStreet() + "+" + getHousenumber() + "+" + getPostalcode() + "+" + getCity()));
The difference is that I use "&q=" for the query as stated by Google.