-4

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.

1 Answers1

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