Hi,

I did some digging, but couldn't find a clear answer. I have an application
with TabActivity as the main activity. I have some computing and network
communication that needs to be done when user clicks on the big red jolly
"DO IT" button. One tab hosts the form with "DO IT" button, while the other
tabs display the results from computing (each tab displays different part of
results). The computing is done as AsyncTask as it's supposed to be (afaik).

Now the question is, what is the best way to share the results between the
tabbed activities? It can be done with ContentProvider + database from what
I have read, although that seems like a bit too much for my needs. I have
also considered an option to save the results to some cache file activities
could read in onCreate, onResume etc and display the data. Are there any
other convenient ways to share the data? (To make it more clear, the data
aren't simple, so doing it through preferences etc is impossible.)

Thanks for your advices and thoughts about this matter.
Filip Havlicek

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to