On Sat, Feb 5, 2011 at 8:57 PM, AndroidDevTime <androiddevd...@gmail.com> wrote:
> I would like to handle application shutdown gracefully.

There is no such concept as "application shutdown" in Android.

> Whether the
> user ends the application or the system decides the kill the process,
> I want to know the best place to put hooks in the application to
> detect and handle this.

There are none. Design your app such that you don't care about
"application shutdown", whatever you consider that to be.

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

Android Training in Atlanta: http://bignerdranch.com/classes/android

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