You probably should reconsider your approach. It sounds like you need
a central data model, accessible from multiple activities:

-- database
-- file

managed by:

-- service
-- some other singleton
-- custom Application class

Extras on Intents should be viewed much along the lines of GET
parameters on Web pages. You wouldn't talk about passing a GET
parameter "back" to some page in the user's history.

On Tue, Sep 20, 2011 at 7:55 AM, John Goche <[email protected]> wrote:
>
> Hello,
>
> I have two A and B and clicking on a button in A opens B.
> I pass an object from A to B using parcelable and the extras in the
> intent used to open B. Now I have the following problem: given that
> A is beneath B on the activity stack and will not be reopened, how
> do I pass the object from B back to activity A?
>
> Thanks for your help,
>
> John Goche
>
> --
> 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



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

Android Training...At Your Office: http://commonsware.com/training

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