If you do: adb uninstall your.package.name.mainactivity, do you ever get any crash/error etc?
If not, the upgrade/installation process will uninstall your app cleanly. If onDestroy() is never called, try to do things in onStop(). I would assume onDestroy() will be called during un-installation process. Other than that, you can potentially have a separate service running and check the state of your app, and also the activity of the installer/download activities, and clean up things accordingly. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

