I have a problem with TabHost...
I have TabBarActivity class flow as :
public class TabBarActivity extends TabActivity implements OnTabChangeListener{
<
You have to use TabGroupActivity class,
further more u have to implement Tab1Activity class and Tab2Activity class which are extends from TabGroupActivity
where you will call startChildActivity(TAB1.class) and startChildActivity(TAB2.class) respectively, by this you will have options for your tabs whether u r in TAB1 or TAB2.
you can have the TabGroupActivity class implemented sample good onlinely,
recently i had simillar project thats y m stating like this.