open google maps cycling navigation intent

Solutions on MaxInterview for open google maps cycling navigation intent by the best coders in the world

showing results for - "open google maps cycling navigation intent"
Matteo
14 Feb 2019
1Uri gmmIntentUri = Uri.parse("google.navigation:q=Taronga+Zoo,+Sydney+Australia");
2Intent mapIntent = new Intent(Intent.ACTION_VIEW, gmmIntentUri);mapIntent.setPackage("com.google.android.apps.maps");
3startActivity(mapIntent);
Aidan
06 Mar 2018
1var gmmIntentUri = Uri.parse("google.navigation:q="+destintationLatitude+","+destintationLongitude + "&mode=b");
2var mapIntent = Intent(Intent.ACTION_VIEW, gmmIntentUri);
3mapIntent.setPackage("com.google.android.apps.maps");
4startActivity(mapIntent);
5