[android-developers] passing objects to pushed activities
Hello,
I have an activity which when a specific button is pressed
pushes another activity onto the activity stack like so:
startActivity(new Intent(this, FooActivityClass.class));
Now I would like to pass the new FooActivityClass instance an
object as a data parameter which FooActivityClass can then
retrieve and operate on. Is it possible to pass such a parameter.
Otherwise it seems I will have to resort to global variables which
is not very nice.
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home