Good Morning Experts:

I think I'm reading some conflicting statements about the AlarmManager on
the Android docs website.  The following statements both exist on this page:

http://developer.android.com/reference/android/app/AlarmManager.html

[at the top]

"Registered alarms are retained while the device is asleep (and can
optionally wake the device up if they go off during that time), but will be
cleared if it is turned off and rebooted."

- and - 

[under setRepeating()]

"This alarm continues repeating until explicitly removed with
cancel(PendingIntent)"

So, the question is, do I need to register a BootReceiver that re-sets my
Alarms when the phone turns on.  The first statement makes me think I do,
but the second statement is worded in a way that would lead one to believe
that it would live forever, unless a cancel() call on that Intent is called.

So, which statement do I believe or am I misinterpreting one of the
statements?  I suppose when the power is turned off or back on, Android
itself could call the cancel() function on all alarms.  I guess it would
help if it said that after the second sentence.

Thanks,
Nick Owens
VP, ThreeClix
Office: (904) 429-7039
Mobile: (847) 565-9392
After Hours: (904) 540-5830


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to