Yes and no.

As long as your Extra in the Intent implements Parcelable properly, it 
works. Calling getIntent() in onCreate or in onNewIntent gets you the data 
that was used in the Intent that (originally) started the Activity.

If the user interacts with the Activity and thus *changes *the original 
state/data of the Activity, you may want to save these state/data changes 
when the onSaveInstanceState() is called by the OS. Then when the Activity 
is restarted (onCreate, onNewIntent), you get the original data from the 
Intent's extra and merge in the changes in the onRestoreInstanceState().


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