I want to show turn by turn directions between two locations. I tried
uri = "http://maps.google.com/maps?saddr="
+ "lat1" + ","
+ "lon1" + "&daddr="
+ "lat2" + "," + "long2";
Intent intent = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse(uri));
It gives the route. But i dont want to open a browser and show. Instead is there a way to get the route so that it can be displayed in my own layout. For ex in text views.