I'm developing an android app and I have a route path generated from Google Directions API like this example here
I want to check whether a location X falls on the route or not.
How i can possibly do this ?
NOTE: After searching on Stackoverflow i found this question and it's similar to what i want to do but it is in JavaScript and from the answers i found a method in Google maps JavaScript APIs here that do what i want but it's not available for the Android API Library ,How can i use it on Android ?