I have a ListView of locations.when user clicks on the particular location from list view then the route must be shown from current location to the user selected location.
How do i do that?
I have a ListView of locations.when user clicks on the particular location from list view then the route must be shown from current location to the user selected location.
How do i do that?
Code:
Intent intent = new Intent( android.content.Intent.ACTION_VIEW, Uri .parse("maps.google.com/maps?saddr="; + current_latitude + "," + current_longitude + "&daddr=" + Dest_lat + "," + Dest_long));
intent.setClassName("com.google.android.apps.maps", "com.google.android.maps.MapsActivity"); startActivity(intent);