Possible Duplicate:
J2ME/Android/BlackBerry - driving directions, route between two locations
I want to calculate distance between two geopoints in android. I used Location.distanceTo
and Location.distanceBetween
but this method return DIRECT length between two points.
I want to calculate the route between two points and then calculate the total distance between all route points.
I don't want to show points or route on map. I just want to calculate the distance from current location to given points nothings else.
ie. I want to calculate the Route length between two geo points. Can anyone help me to calculate the route length between two geo points?