Paolo wrote:
> Hi,
>
> In my main activity (ListActivity) i start a thread in background to
> do some work and always in the activity i use a Handler to receive a
> message, containing in the filed obj one vector with many objects,
> from the thread when it finishes its work. Obviously i have overridden
> the methods handleMessage(Message m).
> It seems to work fine if I don't rotate the screen.
>
> I would like to know what happen to the handler if i rotate the screen
> (like in the G1 using keybord). I know the the activity is destroyed
> with onDestroy and created again with onCreate(). and my handler? what
> happen to my handler?

handler is just handler (new one is created), the real question is
what you do with your thread if you rotate the screen

pskink

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