How can I tell when the application exits? I have some network connections that I want to establish when it starts and close when it exits. onCreate/onDestroy do not work since they are called when the screen is slid out, when the orientation is changed programatically, etc. I would like the connections to stay alive when changes like this occur that keep me in the app, but take them down when it actually exits. Is there any way to do this?
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

