Sending data between activities within my app?
Posted
by user246114
on Stack Overflow
See other posts from Stack Overflow
or by user246114
Published on 2010-03-09T08:12:37Z
Indexed on
2010/03/09
9:06 UTC
Read the original article
Hit count: 155
android
|android-sdk
Hi,
I have a TabActivity, and the tabs point to sub activities. Is there a way I can send a 'message' to those child activities? I just want to pass a string across, not sure if this is possible.
I have some data being fetched by the parent TabActivity, and the child tabs can't do anything useful until the parent is done fetching. When fetching is complete, I'd like to pass that data to the child activities so they can do something useful with it.
Notmally I'd set the data to be passed in the Intent when first creating the activity, but in this case I can't do that.
Thanks
© Stack Overflow or respective owner