How to register Geofence after device restarted?
<p>I built an app that popup Notification in location i set.
Everything works smoothly. Even after I Rebooting my device. There is no problem. But I noticed that if I turn off the GPS and then reboot my device the BroadcastReceiver probably trying to login the Geofence api and gets error because there is no GPS. and the Geofence notification are not popup any more, till i reboot my device with gps on mode.
Will I have to use AlarmManager? For push some refresh every x time? To verify that a GPS mode is on? </p>