Skip to content Skip to sidebar Skip to footer

Passing Objects In Ipc Using Messenger In Android

I am using Messenger instead of aidl in Android for IPC. I have a service with which clients can bind . How can i pass a custom object form service to a client using Messenger Mech

Solution 1:

How can i pass a custom object form service to a client using Messenger Mechanism for IPC so that client can use that object to invoke operations.

You can't. Apps in one process cannot hold objects from another process, let alone "invoke operations" upon them.

Post a Comment for "Passing Objects In Ipc Using Messenger In Android"