What I want to do is simple. I want to launch an intent like this.
String url = "https://maps.google.com/maps?saddr=47.295601,0.010586&daddr=47.295601,1.010586+to:47.295601,2.010586+to:47.295601,3.01058";
Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse(url));
The url is this: https://maps.google.com/maps?saddr=47.295601,0.010586&daddr=47.295601,1.010586+to:47.295601,2.010586+to:47.295601,3.01058
The intent launches fine, and I get to choose between "Maps" and "Browser"-apps.
When I choose to open this intent with the "Browser", I can see the route with it's checkpoints without problems.
However, if i choose to open it with the Maps-app. It will say "No results for 47.295,1.010 to:47.295,2.010..... etc"
How to format the url to be able to open the Maps-app with navigation and checkpoints?
(Even if you open this link in your phone from the browser, it will ask you if you want to open the Maps-app. The same problem will occur if you do.)
thank you!
EDIT: I clarify: I want to know how to get directions from point A to Y, via point B,C,D,E...etc.
How to get directions from point A to B I; know how to do.