I would like to register a BroadcastReceiver in the Android manifest, or in code if necessary, that would send a broadcast to my application based on time.
e.g. i would like my onReceive to be called time-dependently by the Android OS
- at say a regular interval
- or at a given time of day
- or once after a specific amount of time has lapsed (say after 44 minutes from some call in my application)
How might that be possible without leaving my app running in the background all the time ?
See AlarmManager and android.intent.action.TIME_TICK