Yusuf Saib (T-Mobile USA) wrote:
> Activity.onDestroy()

onDestroy() is called when the activity is destroyed. Nothing is called
on the activity when the CPU shuts down.

With that in mind...

> On Sep 15, 6:36 am, Zhihong GUO <[email protected]> wrote:
>> how to get notification before the CPU get to deep sleep?

There is no notification when the CPU shuts down.

>> I want to do some
>> task before my application be killed by the system.

When the CPU shuts down, your application is not killed.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android 1.5 Programming Books: http://commonsware.com/books.html

--~--~---------~--~----~------------~-------~--~----~
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