Thursday, May 3, 2012

Re: [android-developers] AlarmManager with "NightModus"

Reschedule the alarm each time it goes off to go off at the next time you want it.

On Thu, May 3, 2012 at 2:11 PM, BearTi <mlrtimbo@googlemail.com> wrote:
Hi,

I´ve implement an AlarmManager to update a widget every (for example) 2 hours.
Now I want to develope a night modus so that for example the Alarm/Update is not fired beetween 0:00 to 8:00am.

How can I do this?
The update frequency and the "night off modus" should be set dynamically.

Thanks!

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
Dianne Hackborn
Android framework engineer
hackbod@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate