On Sat, Dec 11, 2010 at 9:03 PM, DanH <[email protected]> wrote:

> In Android the same basic function is accomplished with "intents".
>

Well.  If this is all just in your app, I would generally just recommend
doing normal direct callbacks.  There isn't a generic "local callback
registry" API in Android, but this is trivial to build yourself -- just make
a class with an ArrayList<Callback> and functions to add and remove
callbacks, and perform a call on all callbacks.  It's 20 lines of code max.
 If you want to make it async, it's a couple more lines of code to have a
Handler that you post a Runnable on to, to do the callbacks.

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

Reply via email to