Is it recommended to send large amounts of data as parameter in AIDL interface.?I have a remote service that fetches the data using REST network calls and sends data over AIDL callback to caller. Sometimes the data fetched from network can be a image data which is several kilobytes. What is the best way to send the data to the caller.?
1. As AIDL data
2. Keeping the large data in database and informing the caller about it.