My application requires me to periodically do the following:
I've written the services for each of the items listed above but here is where I need help, communication between those services...
The heartbeat service needs to be able to:
The screen capture service needs to be able to do the following:
The messaging service needs to be able to do the following:
With all of the communication pathways required, I'm wondering how to do that? Would I just bind my application to all of the services? Bind services to other services? Use some other from of communication?
I need all of those services to continue running/functioning even if my application isn't in the foreground.
First of all IPC means Inter Process communication where two applications or processes will communicate with each other by passing some data between them. Since android is meant for embedded and small devices, we should not use serialization for IPC , rather we can use BINDERs which internally uses parcels .
The Android Interface Definition Language (AIDL) is similar to other IDLs you might have worked with. It allows you to define the programming interface that both the client and service agree upon in order to communicate with each other using interprocess communication (IPC).
Provided more info in chat, but the general thrust is:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With