Hi All ,
I am calling a remote service from my app which initiates a callback
from another thread. I have implemented the message handler and am
getting the message in my UI thread. the problem is the callback data
contains a boolean along with int which i need in my app.
stub in my avctivity
CBGetuserPresence(int type,boolean isCommunicatorRunning)
{
  mhandler.obtainmessage(type,0)//passing zero as i dont know how top
pass bool values);
} i am using mhandler.obtainmessage(what,obj) to partially get my
value. The thing is how do i get my boolean value in th message so
that i can retreive it from there.
Thanks All.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to