Hello i developed an android app, using the position of my user, to convert it in lat and lng, my user will set a range too (to this example 10km ), my user will do a search in my app, and i will search in a web server what places are near my user, the web server will return to me a list of places, the question is. How can i know if the lat and lng is in the specified range?
Ex:
user position -14.84598758/-17.54817477
position 1 -14.4451524/-16.54654254 // this is in the 10km range? poistion 2 -14.8444477/-17.54141587 // too?
google maps api v3 - android here