Inco Mob
Inco Mob

Reputation: 594

Search GeoPoints from an array of points

I want to search whether a given GeoPoint is within a given radius provided with the users current location in Android. Are there any methods like containsLatLang() method in javascript?

Upvotes: 1

Views: 141

Answers (1)

Theblacknight
Theblacknight

Reputation: 575

Try this, standard android API lets you calculate the distance between two points. Should be enough for you to do your check.

Upvotes: 1

Related Questions