I see all the AlarmManager examples set by Activity.
My question is this: If my application sets up a repeating AlarmManager, does this persist even after the running application is closed and deleted from memory?
If not, how do I run AlarmManager at a lower level, which Android starts at boot, and if it ever fails or dies or throws an exception, restarts without having to do anything?
Finally, if the action that I want to perform for BroadcastReceiver does not have visual components, do I still need to create a separate Activity for it? In my case, I want there to be a background bootloader that wakes up and looks into the folder, and if it sees the files in this folder, sends them to the server. I do not need user feedback.
So, my ideal would be to have a magical, OSM-based AlarmManager that calls an IntentService that just handles loading, but I don't understand how to get such an AlarmManager to work in the first place.
TIA
android alarmmanager
Genia S.
source share