Easy to use library to get and display driving directions on Google Maps v2 in Android. This library gives you directions and displays the route on the map.
Only works with Google Maps v2
GoogleMap map = getMap(); Navigator nav = new Navigator(map,start,end); nav.findDirections(true, false);
Path displayed callbacks
Sometimes you may need to know when the path is finished being displayed so you can show all the different route segments in a listview or something.
Simple just implement the onPathSetListener
make sure your fragment or activity implements the interface OnPathSetListener then implement onPathSetListenerand you will get the callback when the path is ready
As per Google's TOS using this library to supply turn-by-turn directions is strictly prohibited
You also only get 2,500 requests/day, more for business customers
The Directions API has the following limits in place: 2,500 directions requests per day. When the mode of transportation is driving, walking, or cycling, each directions search counts as a single request. Searching for transit directions counts as 4 requests. Individual requests for driving, walking, or cycling directions may contain up to 8 intermediate waypoints in the request. Waypoints can not be specified for transit requests. Google Maps API for Business customers have higher limits: 100,000 directions requests per day. 23 waypoints allowed in each request. Waypoints are not available for transit directions.