I am developing an Android app(java) that can calculate the travel distance of two places given their coordinates. I have a Google Distance Matrix API key with me but I was unable to find a proper way to add the dependency in my Android project. How can I solve this problem?
Asked
Active
Viewed 304 times
1
-
1You can use Java client library for web services: https://github.com/googlemaps/google-maps-services-java – xomena Sep 09 '19 at 18:22
1 Answers
0
The best method is to develop a REST API and call Distance Matrix API and transfer the decoded JSON object to app as a String.

Vizard
- 149
- 1
- 12