Am using the following code to open google map from my app with driving mode.
String url = "http://maps.google.com/maps?f=d&daddr="+latitude+","+longitude+"&mode=driving";
Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(url));
intent.setClassName("com.google.android.apps.maps", "com.google.android.maps.MapsActivity");
startActivity(intent);
But Google map always showing walking option as shown in image. Any way to change this ?