Hi All,

I think what you did is to kill the process not activity. Doing so,
all threads created by this task (application) will be killed also.

I think switching SCREEN_ORIENTATION_PORTRAIT to
SCREEN_ORIENTATION_LANDSCAPE using Ctrl + F12 kill the activity but
the process is still working. After switch, OnDestroy is called, but
the process is not killed, because a thread the activity created is
still working.

I think activity life circle diagram in
http://code.google.com/android/reference/android/app/Activity.html has
a bug. It says "process is killed" described in red colour. But I
think it is not "process is killed". It is "Activity is killed".  If
"process is killed", bundle data will not be saved. Meanwhile it will
follow with "Activity Start" not "OnCreate" like the diagram
specified. ONLY when process is not killed, the system can save bundle
data. Otherwise the bundle data is gone.

Thank you everybody.

Forrest

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