Hi,

I need pass a Binder object to another process via Message, in Android 2.1,
the code like below:

Bundle b = new Bundle();
b.putIBinder("KEY_BINDER", new Binder());
message.setData(b);
mService.send(message);

It works well in Android 2.1. However, the API putIBinder() is deleted in
Android2.2.
So what's the replace way?  Because the communication is based message
mechanism,
I don't want to go to back to use AIDL.

Thanks in advance.

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