- If you want just to send a message to another app, *without expecting *a result, use Intents on one app (and a BroadcastReciever on the other app). - If you want to send a message to another app, while *expecting *a result, but this result could be sent back later (*asynchronously*), use an Intent with a ResultReceiver in one of its 'extras', and use a BroadcastReceiver in the other app that calls 'send' on the received Intent's 'extra' (ResultReceiver) when it needs to send back a result. - If you want to send a message to another app, while expecting a result *synchronously*, you can do the same as the previous point, but you have to write some synchronization code yourself. Or you could use AIDL where the methods you define have a return value.
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en