[android-developers] How to tell when application exits?

2009-06-09 Thread Max Salley
I have an app that has some network connections that are causing issues when the app closes/reopens. I would like to close the connections when the app exits, and reinstantiate them when it opens again. onCreate/onDestroy don't work for this purpose because they get called for the foreground act

[android-developers] How to tell when application exits?

2009-06-05 Thread Max Salley
I'm making an app that uses some network connections that I would like to tear down when the app exists, and put back up when it starts up again. Activity.onCreate/onDestroy will not work since those get invoked by a few actions that don't entail quitting/starting the app, such as sliding out the