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 Mechanism for IPC so that client can use that object to invoke operations.I know we can send simple data types using Parcelable or databundle but what about custom objects
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.