I am developing an Android app and want to get the road distance between 2 locations. If I understand correctly, the options are:
- Using the distanceTo() or distanceBetween() methods of the Location class — but this only provides the direct line instance.
- Using the Google Directions API — but this only seems to be available to Javascript, and I am developing in Java.
Are there any other options available? If so, an example would be appreciated.
Any other info or ideas would be most appreciated – user396707 Feb 01 '11 at 16:14
Any other info or ideas would be most appreciated – user396707 Feb 01 '11 at 16:14