Re: [android-developers] Event based communication between two apps.

2011-05-05 Thread Dianne Hackborn
The normal way you do this on Android is by providing an IBinder object across the processes and using IBinder.linkToDeath. That said, as others have commented, stay connected with each other and know when an app stops working are *really* nebulous concepts on Android, and if you are thinking in

Re: [android-developers] Event based communication between two apps.

2011-05-04 Thread TreKing
On Wed, May 4, 2011 at 10:45 AM, Jacob jacobroutolo...@gmail.com wrote: I have 2 apps; need to stay communicated with each other Why? What are you trying to achieve? - TreKing

[android-developers] Event based communication between two apps.

2011-05-04 Thread Jacob
Hi I have 2 apps; need to stay communicated with each other and make sure battery is not affected. I know I can open TCP socket between them and get notified if for some reason the other app stops working. I thought TCP sockets might be expensive to maintain and perhaps drain battery? Is there