Hi All,
I have a question regarding Message object. In handleMessage  (Message
msg) of Handler class we get Message Object.
Till now i have seen only code like
            switch (msg.what)
                        {
                case 1:
                                ------
                        }
 I want to know about msg.obj.e.g

 String name = null;
  switch (msg.what)
                        {
                case 1:
                        name= (String) msg.obj;
                                                ---
                        }
so my question is how and where we can set String object in Message
Object.

Thanks,
Sohan Badaya


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