[android-developers] onPause not being followed by onStop and onDestroy...

2010-10-07 Thread sdphil
I am seeing an issue where when I hit the back button, I get the
onPause call, but it isn't followed by onStop and onDestroy.

On most phones, I see this, but on one particular phone (Droid-X), I
don't

Any ideas?

tia.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] onPause not being followed by onStop and onDestroy...

2010-10-07 Thread Prakash Iyer
It is not required that an onPause is always followed by onStop - in fact if
you press the home key that's what I have seen as the default behavior. This
way if the user goes back to your app, thru the home key press or from
launchpad, the onResume will be called and it will all be much faster than
doing an onCreate which would otherwise have been required.

On Thu, Oct 7, 2010 at 10:06 AM, sdphil phil.pellouch...@gmail.com wrote:

 I am seeing an issue where when I hit the back button, I get the
 onPause call, but it isn't followed by onStop and onDestroy.

 On most phones, I see this, but on one particular phone (Droid-X), I
 don't

 Any ideas?

 tia.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en