Is there a recommended method for setting alarms that will survive a
power cycle ?

On Mon, Dec 8, 2008 at 3:21 AM, Dianne Hackborn <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 8, 2008 at 12:18 AM, alex <[EMAIL PROTECTED]> wrote:
>>
>> My problem is that some alarms (maybe 20% of them) fire late, up to 15
>> minutes late.  Others are right on time.  Is this expected behavior?
>> Has anyone else noticed this?
>
> Are you sure you are holding a wake lock the entire time you process the
> alarm?  Put a log output in your intent receiver to be sure the problem is
> the alarm not going off, instead of the CPU going to sleep while your own
> code is running,
>
>>
>> A related question: if the user powers off and on his/her device, it
>> seems that the alarms that were set prior to the off/on don't fire.
>> Is that expected behavior as well?
>
> Yes.
>
> --
> Dianne Hackborn
> Android framework engineer
> [EMAIL PROTECTED]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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