Search code examples
androidandroid-serviceintentfilter

Send data from service to another android app


I have two android application. One has some services and other application start service. The application activity starts a service and need some data in return from that service. how can I return data from service to the activity start that service?


Solution

  • You can implement AIDL (Android Interface Definition Language) to set up the communication between 2 applications.