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 any other light weight way of achieving this obejctive?
   1) Pipes - How to open a pipe between 2 apps? are they lighter than
tcp sockets?
   2) Files - using shared file between 2 apps (if signed with same
certficate and using the same userid.)
      How to use this shared file to know if the other app is still
running or not? locks?

Basically, I don't want to explicitely query if the other app is
running or not every now and then and then communicate with it.
Instead wait on some event that gets triggered when the other app is
down.

Appreciate any suggestions on a light weight protocol.

Thank you
Jacob

-- 
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

Reply via email to