Thank you, you answered all of my questions

On Dec 29, 10:52 am, Dianne Hackborn <hack...@android.com> wrote:
> On Tue, Dec 28, 2010 at 11:56 PM, b_t <bartata...@gmail.com> wrote:
> > Hmm, so there is no possibility to display "real-time" information in
> > a widget? For example a compass widget?
>
> Correct, app widgets are not intended to be continually refreshing.
>
> > What is an acceptable refresh rate?
>
> Less is better.  For polling, I'd suggest 15 minutes.  Many times you would
> be better off doing something push-based, however, such as how gmail gets
> pushes when there is new mail, causing it to sync, and update any widget as
> part of that process.
>
> > And the main question, why does the alarmmanager send alarms in sleep
> > mode
> > when I use RTC instead of RTC_WAKEUP?
>
> Because something is still keeping the CPU running.  Note the use of the
> word "asleep" in the documentation here is somewhat misleading -- it is not
> talking about the screen being off, but the actual CPU being asleep.
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to