Hi Friends,
Is there any way to find the direction between two locations in Android?
Hi Friends,
Is there any way to find the direction between two locations in Android?
You could use the Google Directions API to get the directions if you wanted to display them yourself inside your own app.
Alternatively, if what you want to do is launch Google Maps for Android to show directions, you do this with an Intent
. This question has details on how to do this.
First have a look at this Tutorial shows how to use the Android built in access to the Google DrivingDirections API .
Also, Check these SO questions for more information, which are regarding the Google Maps - Direction:
http://stackoverflow.com/questions/2662531/launching-google-maps-directions-via-an-intent-on-android
http://stackoverflow.com/questions/2853017/android-google-directions
Hope this helps,
Enjoy!!