I want to take to string as input example New Delhi & Mumbai and i want to show the path between them on Google map.
i have used this but it was not working.
String new_url = "http://maps.google.com/maps?saddr=" + ServerData.LATTITUDE + "," + ServerData.LONGITUDE + "&daddr=" + latitude + "," + longitude ;
Intent intent_map = new Intent(Intent.ACTION_VIEW, Uri.parse(new_url));
startActivity(intent_map);