I don't think that onDestroy is guaranteed to be called. My
understanding is that the system chooses when/whether to destroy it.
But onPause is guaranteed to be called, and you can check isFinishing
to see whether the activity is finishing in the onPause.

On Feb 14, 11:25 am, guich <[email protected]> wrote:
> Hi,
>
> Running an application in Android 1.6 throught 2.1, when i call
> finish(), the onPause then onDestroy method is correctly called. On
> Galaxy Tab (Android 2.2), when i call finish, the onPause is called,
> but onDestroy not.
>
> What i have to invoke to make onDestroy be called? Seems that the
> Galaxy is holding the process in memory for some obscure reason. What
> changed in Android's lifecycle in version 2.2?
>
> thanks and regards
>
>     guich

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