On Wed, Sep 28, 2011 at 7:03 AM, Mark Murphy <[email protected]> wrote: > On Tue, Sep 27, 2011 at 6:00 PM, Streets Of Boston > <[email protected]> wrote: >> In addition to Mark's suggestions, you could assign a ResultReceiver to one >> of the Intent's extras: >> Your Activity could implemented this ResultReceiver's onReceiveResult >> method. >> Your IntentService could just call 'send(resultCode, resultBundle)' on it. >> This will cause the onReceiveResult at the Activity's side to be called. > > Out of curiosity, do you know of a ResultReceiver sample anywhere? I > tried it once a while back and had difficulty with it. >
The iosched app seems to be using one: http://code.google.com/p/iosched/source/browse/android/src/com/google/android/apps/iosched/util/DetachableResultReceiver.java http://code.google.com/p/iosched/source/browse/android/src/com/google/android/apps/iosched/ui/HomeActivity.java -- 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

