Whan I have got a tabhost and impolement the tabs. How I can get to tab constructor to pass some variables?
TabSpec architectureSpec = tabHost.newTabSpec("architecture");
architectureSpec.setIndicator(architecture);
Intent architectureIntent = new Intent(this, ArchitectureTab.class);
architectureSpec.setContent(architectureIntent);
And I would like get to ArchitectureTab before or right after “onCreate” method.
You can pass variables to the
ArchitectureTabclass viaIntent.putExtra()and read them from this activity viagetIntent().getExtra()