0
Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("http://maps.google.com/maps?saddr=20.344,34.34&daddr=20.5666,45.345"));

intent.setClassName("com.google.android.apps.maps", "com.google.android.maps.MapsActivity");

startActivity(intent);

Sorry for my english.

This code is working fine, however, its opening multiple routes. If I click on routes its going on map.

My question is there any way by which I directly jump to map without user interaction.

Verma
  • 8,199
  • 2
  • 15
  • 17
parmitKR
  • 47
  • 13
  • Is it the default location you are looking for? That's already been answered: http://stackoverflow.com/questions/14157536/how-do-i-set-default-location-and-zoom-level-for-google-map-api-v2 – Tomas Zezula Mar 18 '15 at 22:05
  • I think there is no way to change having multiple routes. – Verma Mar 18 '15 at 22:09

0 Answers0