On Aug 24, 12:34 pm, Hong <[email protected]> wrote:
> 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.

We do get crashes (that we're working on), but they don't matter
since our data files are deleted on uninstall, which is what we
want to ensure are not corrupted.

> If onDestroy() is never called, try to do things in onStop().
> I would assume onDestroy() will be called during un-installation process.

I'll give that a try, thanks.

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

Yeah, we've been trying that and getting wierd results. If that's
really the
only way we can pursue it more.

Thanks,
Dave
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to