I need to check if the gps location(lat,long) are with in the 50 meter radius of a specific defined lat long through my android application.
Asked
Active
Viewed 1,045 times
-4
-
2Thats very nice for you. But what is the question? Please see the guide in the help center on how to ask questions on StackOverflow – JDurstberger Feb 17 '17 at 11:50
-
and what is your question? – Vladyslav Matviienko Feb 17 '17 at 11:50
-
3Possible duplicate of [Calculating distance between two geographic locations](http://stackoverflow.com/questions/8049612/calculating-distance-between-two-geographic-locations) – Vladyslav Matviienko Feb 17 '17 at 11:51
1 Answers
1
Geofence is what you are looking for
Geofencing combines awareness of the user's current location with awareness of the user's proximity to locations that may be of interest. To mark a location of interest, you specify its latitude and longitude. To adjust the proximity for the location, you add a radius. The latitude, longitude, and radius define a geofence, creating a circular area, or fence, around the location of interest.
Try out :
https://developer.android.com/training/location/geofencing.html

Rissmon Suresh
- 13,173
- 5
- 29
- 38