how to call a chain of activities from TabActivity in androi

Search for BETA-testers and/or promote your own Application in a decent way.

how to call a chain of activities from TabActivity in androi

Postby malli.ch » Fri Oct 09, 2009 2:40 pm

Hi All,

I am very new to Android application development. I have one scenario that is,

I have one TabActivity with this I am forming 4 tabs. Each tab will call again different Activities again. This is i am able to do with bellow code.

TabHost tag = getTabHost();
tag.addTab(tag.newTabSpec("tab_test4").setIndicator("TAB 4").setContent(new Intent(this, TabTwoActivity.class)));

Again "TabTwoActivity" will call one more activity, here the new activity which is called by "TabTwoActivity" is replacing total tab view.

I want to display the new activity under tabs only.
How can i reach this functionality . please help me in this.

thanks in advance.

malli
Reply With Quote
malli.ch
Freshman
Freshman
 
Posts: 3
Joined: Thu Oct 08, 2009 3:54 pm

Top

Top

Return to Promote your Android Application

Who is online

Users browsing this forum: No registered users and 3 guests