Anzi wrote:
> 1. I want to know the behavior of activity for the cases where onStop
> and onDestroy were not called like low memory situations.

The process is destroyed, so the activity has no more behavior.

> 2. I was registered my handler in onCreate() and unregistring in
> onDestroy, what is the behavior if other thread sends messages to the
> registrants after the activity was killed by android without calling
> onDestroy. I know that those handler were not removed by GC as they
> are still referring by the thread.

The process is destroyed, so the activity has no more behavior, and the
threads are terminated, so the threads cannot send messages.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.0 Available!

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