Reputation: 3224
As of I know, we can use Bound service if we wanna bind multiple clients to a service. But, there are many advantages of intent service over a service. So, I am wondering if it is possible to bind multiple components to an intent service. Also, is it possible to let the intent service handle the requests from different processes as well(may be via IPC(AIDL) or some other technique). Thanks in advance.
Upvotes: 1
Views: 911
Reputation: 1116
Yes, you can bind different clients to your IntentService, just be sure that you've implemented OnBind method in your Service class. After that you can use IPC in order to pass data in and from your Service in a way which you think is more comfortable for you. More details in the Developers page
Upvotes: 2