[android-developers] Re: App shutdown during package reinstall

2009-08-29 Thread nubin...@gmail.com
I don't know the details of your app, but every app in the Android market can be upgraded by the user while the app is running. During the upgrade process, the running instance of the older version would be shut down. I've rarely seen any complaints that the app is broken during upgrade from

[android-developers] Re: App shutdown during package reinstall

2009-08-25 Thread DaveG
On Aug 21, 5:09 pm, Mark Murphy mmur...@commonsware.com wrote: David Golombek wrote: We could kill our app proactively, as soon as we launch the ACTION_VIEW activity, but then we're left in a bad state if the user aborts. Why? In other words, what difference is there between: -- the

[android-developers] Re: App shutdown during package reinstall

2009-08-25 Thread DaveG
On Aug 24, 12:34 pm, Hong lordh...@gmail.com 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

[android-developers] Re: App shutdown during package reinstall

2009-08-24 Thread Hong
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

[android-developers] Re: App shutdown during package reinstall

2009-08-21 Thread Mark Murphy
David Golombek wrote: We could kill our app proactively, as soon as we launch the ACTION_VIEW activity, but then we're left in a bad state if the user aborts. Why? In other words, what difference is there between: -- the user exits your application via back-button -- Android closes up your