Activity.onDestroy() is Android's way of saying "I will kill you now."


Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.



On Sep 15, 6:36 am, Zhihong GUO <[email protected]> wrote:
> how to get notification before the CPU get to deep sleep? I want to do some
> task before my application be killed by the system.
>
> 2009/9/9 Dianne Hackborn <[email protected]>
>
>
>
> > When no wake locks are held, the CPU will not run at all, and time has
> > effectively stopped for most scheduling (that is scheduling based on
> > SystemClock.uptimeMillis(), which is what most things like Handler and Java
> > timeouts use).
>
> > On Tue, Sep 8, 2009 at 10:19 PM, sukumar bhashyam <
> > [email protected]> wrote:
>
> >> Hello,
> >> I have some basic doubts with Deep Sleep on Android device. Deep sleep
> >> will turn the CPU to OFF. Suppose if I have a service which does some
> >> operations every 5 sec and I din't acquire any power manager locks in my
> >> service.
>
> >> When device goes to Deep sleep, will my service still running?.
>
> >> If CPU is turned off on Deep Sleep, when Device comes out of Deep Sleep,
> >> will my service continues(resumes) its operations which it was doing
> >> earlier?.
>
> >> Can anyone please help me out in understanding this.
>
> >> Thanks,
> >> Sukumar.
>
> > --
> > 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, 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 [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