The only IPC mechanism you really listed is Binder. Messenger and broadcasts are higher-level concept built on top of internal Binder interfaces. So those two will always be less efficient than a direct binder interface, but that is irrelevant because the reason you would use them is for the different semantics or conveniences they provide.
On Tue, May 15, 2012 at 7:00 AM, Mika <[email protected]> wrote: > Hi all, > > In my app the process number 1 generates around 1KB of data every > couple of seconds and passes this to process number 2. To my > understanding there are three ways to pass data between processes: > publishing IPC interface using Binder, using Messeger or using > Broadcasts. I would like to get some feedback what would be the best > way > to pass the data between the processes? Any ideas how android handles > these different scenarios? Also would it be more effective to cache > the data in process 1 for a while and then send the data in longer > intervals and bigger chunks to process 2? > Any insight to this is really valuable. > > I know that this all could be done in one process also, but because > of > the use case and some external requirements unfortunately that is not > really option in my case... > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

