Google-Directions-Android
This project allows you to calculate the direction between two locations and display the route on a Google Map using the Google Directions API.
This project isn't actively been maintained.
Download
Grab via Maven:
or Gradle:
Usage
To calculate the route you simply instantiate a Routing object and trigger the execute function.
*You can execute the task in this manner. ( See the example for more details on the exact implementation)
actual code
Known Issues
-
If the AutoComplete TextView/Map of the sample app isnt working then probably the API key hasn't been set in the manifest.
-
If the route is not being displayed then type "Routing" in your log cat to see the potential error messages from the library.
Contribution
Please fork repository and contribute using pull requests.
Any contributions, large or small, major features, bug fixes, additional language translations, unit/integration tests are welcomed and appreciated but will be thoroughly reviewed and discussed.