Android daily updating geofences -


i'm working on creating coupon/deals app. premise each day there special deals @ different stores. when user happens close store (within geofence), i'd send notification user of coupon/deals @ store.

given stores may change daily, i'm trying figure out best way update geofences.

one idea - use alarmmanager create alarm trigger @ 12 each day sends intent starts service queries server > pulls list of new geofences > sets new geofences.

is reasonable? there better way handle it?

thanks!

you're on right path, check commonware's repository

it doesn't keep device on wake , service call.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -