What's the best way to make a request from an android service to an activity or service and wait for a response? -
I have seen all the IPC mechanisms in Android and no one looks like what I see, maybe a better Way ...
I have a service that is starting, and it needs to get information in a completely different application from another service or activity.
What is startActivityForResult I? I see, but it is not available from a service, there is only one activity. I would really like to get information from other app activity, but let me serve it 2 apps I am happy to get from
But in the part in which I am really interested, it is making synchronous call from service and wait for a response. I can send the broadcast app from service to 2 app service, but then no tie comes back when the 2 AP service sends me back a broadcast intention with replies.
Is there a way to do such a service?
Is there any way to do this by doing something?
Calls made from one bound service to binders
are synchronous Documentation discusses, you will need in various applications of services.
Personally, I do not want to overwrite the first service for the need of synchronous calls.
Comments
Post a Comment