geolocation - Android: Mimicking Geofence with BroadcastReceiver and Location Updates -


i trying build app, based on location queries database find scheduled tasks, given latitude, longitude , radius.

i have found many answers, articles , libraries online similar things, sophisticated , don't quite me understand concept.

i have been able set alarmmanager fire tasks based on scheduled time, , have thinking can set geofence same, without me needing create scripts implement location updates. looks not case , have manually re-implement simple system wide support.

ideal scenario: 1. schedule new task lat, lng , radius. 2. add geofence, without worrying user is. 3. when user in area, find row database belongs , stuff db row.

but think have go further working.

any ideas how can achieve this?

the geofence training good, if perhaps over-verbose example of api. core of relies building geofence requests , adding them via locationclient.addgeofences using connected locationclient. receive callbacks pendingintent passed in addgeofences() per handling geofence transitions.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -