You basically can never know, because the Application class is never closed, it is just created and then remains for the remaining life of the process.
On Wed, Dec 17, 2008 at 10:34 AM, djfrodo <[email protected]> wrote: > > Hi all, > > O.k. it's clearly stated in the docs (here: > http://code.google.com/android/reference/android/app/Application.html) > that the Application class allows one to maintain global application > state. > > Unfortunately this seems not to be the case due to the fact that > onTerminate() doesn't fire when an application shuts down. > > Has anyone found a way to fire an event when an app closes using this > class? Is there another way to do this? > > Thanks! > > djfrodo > > > > -- 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. 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 -~----------~----~----~----~------~----~------~--~---

