Answers for "open google maps cycling navigation intent"

0

open google maps cycling navigation intent

Uri gmmIntentUri = Uri.parse("google.navigation:q=Taronga+Zoo,+Sydney+Australia");
Intent mapIntent = new Intent(Intent.ACTION_VIEW, gmmIntentUri);mapIntent.setPackage("com.google.android.apps.maps");
startActivity(mapIntent);
Posted by: Guest on April-14-2021
0

open google maps cycling navigation

var gmmIntentUri = Uri.parse("google.navigation:q="+destintationLatitude+","+destintationLongitude + "&mode=b");
var mapIntent = Intent(Intent.ACTION_VIEW, gmmIntentUri);
mapIntent.setPackage("com.google.android.apps.maps");
startActivity(mapIntent);
Posted by: Guest on April-14-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language