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 <[email protected]>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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



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