In B, set this flag in the Intent you are starting:

http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_FORWARD_RESULT

On Thu, Mar 11, 2010 at 12:04 AM, Mark Wyszomierski <mar...@gmail.com>wrote:

> Hi,
>
> Is it possible to forward a result like the following?:
>
> ActivityA
>   startActivityForResult(intentB, 22);
>
> ActivityB
>   startActivityForResult(intentC, 22);
>   finish();
>
> ActivityC
>   setResult(99);
>   finish();
>
> is it possible to get A's onActivityResult() to fire here and catch
> the value 99 as the resultCode? B excuses itself from the stack, so
> really A becomes the parent of C in this scenario.
>
> Thanks
>
> --
> 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<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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