On Tue, Sep 14, 2010 at 11:50 AM, Bret Foreman <bret.fore...@gmail.com> wrote:
> As far as I can see from the docs, createPendingResult works with
> onActivityResult, which works with startActivityForResult.

onActivityResult() yes, startActivityForResult(), no.

> In other
> words, it only works with an Activity, not a Service.

Yes, it works with a service. The client side has to be an activity;
the one sending the message can be anything, including a service.

> It's just amazing how hard this is with Android. Marshalling and
> displaying data from web services has got to be one of the most common
> patterns in modern programming.

It is not well-documented. However, it is not particularly hard,
particularly if you read the right books... :-)

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

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

Reply via email to