I have searched over all the internet to find the intent for this but haven't been successful till now, all i have found up till now is the same old route intent, can someone here help me out. Attached along is the screen where i want my application to land.
Asked
Active
Viewed 521 times
-1

Phantômaxx
- 37,901
- 21
- 84
- 115

Hamza
- 1
- 2
1 Answers
0
Try below code :
String URL = "https://www.google.com/maps/dir/?api=1&travelmode=driving&dir_action=navigate&destination=Ahmedabad";
Uri location = Uri.parse(URL);
Intent mapIntent = new Intent(Intent.ACTION_VIEW, location);
startActivity(mapIntent);

Samir Bhatt
- 3,041
- 2
- 25
- 39