msg.getData().getString("key");
On Wed, Oct 27, 2010 at 9:55 AM, Sohan badaya <[email protected]>wrote:
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
--
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