Issue
I search a mean like an "shareintent" to launch the user default navigation app from my app.
I search long time on google, i find a mean to start google navigation but i would like to let the choice to my user to start his navigation app (like waze or an other app) there is a way to do that ?
Solution
Try this:
Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("http://maps.google.com/maps?daddr=" + lat + "," + lng));
startActivity(intent);
Answered By - roccocullo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.