Android, Service and client (activity) are running on different process. two-way communication using aidl -


I am using ADL interfaces for IPC communication. After binding for the service, I am able to call an API call from the client to the server. But how do I send an event to the server using ADL? Service and customers are running on different processes.

You intent to the client with service The event happens.

Another option may be to ask a few seconds to audal if there is a new event.

And I think that you can send via AIDL (this is parcelable) so that you can pass the messenger for the service, and use it to work with this activity. Can be on service.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -