Hi Every one , I am New to the Android what is the use of handler and where can we use this handler.
please help me. Thanks in Advance... On Thu, Feb 25, 2010 at 12:22 PM, Paolo <[email protected]> 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? > > -- > 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]<android-developers%[email protected]> > 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 [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

