I'm trying to pass data from tab n to tab n+1 activities, based on TabActivity in the MainContainerActivity, using parcelables but can't succeed as I can not apply "getExtras" method on the tab n+1 intent.
I can pass my parcelable object from one tab to the next one if I start the tab n+1 activity using startActivity(nextactivity)
instead of using the tab switcher with tab.setCurrentTab(tab_n+1)
.
How shall I manage the activity intents sothat I can succeed to pass those parcelable objects, still implementing TabActivity in the MainContainer class and Activity in the tabs ?
or is there a way to force the activity start in the manifest when using tab.setCurrentTab(tab_n+1)
?
I read dozen of threads and have been trying many misc tests but w/o success so pls detail the answer as for a real noob :-)
EDIT: Looking to get this working from API8 onwards