[android-developers] Re: FLAG_ONEWAY for asynchronous communication between services

2008-11-29 Thread Dianne Hackborn
On Thu, Nov 27, 2008 at 4:31 AM, nimbus83 [EMAIL PROTECTED] wrote: May you shortly explain how Android behave while many services are running in separate processes and communicating with each other? Each process currently has an overhead of about 2MB (generally there is ~20MB total available

[android-developers] Re: FLAG_ONEWAY for asynchronous communication between services

2008-11-27 Thread nimbus83
Why are you wanting to run the service in another process?  Why not just run all of this stuff in the same process?  Then you don't need aidl at all, you can just do direct Java calls between all of your classes through whatever Java API you want, and you can introduce asynchronicity at any

[android-developers] Re: FLAG_ONEWAY for asynchronous communication between services

2008-11-26 Thread nimbus83
Thank you for your answer. On 25 Nov., 19:14, Dianne Hackborn [EMAIL PROTECTED] wrote: A oneway interface currently only applies when an IPC is needed to go through the interface -- that is when the callee and caller are running in different processes -- and is handled by Binder, the

[android-developers] Re: FLAG_ONEWAY for asynchronous communication between services

2008-11-25 Thread Dianne Hackborn
A oneway interface currently only applies when an IPC is needed to go through the interface -- that is when the callee and caller are running in different processes -- and is handled by Binder, the low-level IPC transport. When two interfaces are in the same process, calls on them are just direct