Actually, there are 3 setResult methods. You want this:
http://code.google.com/android/reference/android/app/Activity.html#setResult(int,%20java.lang.String,%20android.os.Bundle)

On Apr 10, 10:08 pm, Ram <[EMAIL PROTECTED]> wrote:
> I'm passing a bundle of values (by setting intent.putExtra before
> calling startSubActivity) from a top-level activity to a subactivity.
>
> However, for the reverse scenario, it looks like setResult can only
> pass back one integer result code.
>
> Does anyone know of a good way to pass another bundle of values from
> the subactivity to the parent activity ?
>
> (Obviously, the subactivity can initialize a bunch of static fields
> that the parent activity can access, but I'm trying to understand if
> there are other options to cleanly pass data from a subactivity to a
> parent activity)
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to