I'm working on an application. I need geo-fencing to check whether a particular latitude and longitude lies within a specific radius. I'm following a tutorial on geo-fencing but my problem is that I dont know where to pass the latitude and longitude that I want to check
Tutorial Link:
https://code.tutsplus.com/tutorials/how-to-work-with-geofences-on-android--cms-26639
Here
.setCircularRegion( LATITUDE, LONGITUDE, RADIUS)
When the IntentService
detect the transition (enter, exit or dwell) on region specified the onHandleIntent()
will be called and you can do your action (alert or anything)