On Mon, Aug 8, 2011 at 12:40 PM, Zwiebel <[email protected]> wrote:

> So, I had an A activity, from it I called B activity. A went to background,
> but it wasn't destroyed.
>

Right. onSaveInstanceState / onRestoreInstance state is for preserving /
restoring the state of a single Activity if and when it's killed and later
restored. If you need to pass data to another activity, put it in the Intent
used to launch the Activity.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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