Hi, all.
I really want to know how to distinguish what brings onPause() between
pressing Home Key or being hid by another activity for a moment.
I read the SDK document about activity life-cycle and found the following
sentence.
"An example when
onPause()<http://developer.android.com/reference/android/app/Activity.html#onPause()>
is
called and not 
onSaveInstanceState(Bundle)<http://developer.android.com/reference/android/app/Activity.html#onSaveInstanceState(android.os.Bundle)>
is
when activity B is launched in front of activity A: the system may avoid
calling 
onSaveInstanceState(Bundle)<http://developer.android.com/reference/android/app/Activity.html#onSaveInstanceState(android.os.Bundle)>
on
activity A if it isn't killed during the lifetime of B since the state of
the user interface of A will stay intact."
but onSaveInstanceState() is always called. OTL.
Please help me.

-- 
Chungha Yun
blog : http://sozu.tistory.com

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

Reply via email to