How to put other activity in a tabhost?
<p>I'm a newbie in android can anyone help me with my problem about TabHost? 
i have a Tab host and 3 class want i want is to put or call this activiy or class to TabHost. what I'm going to do. Here is my code in my Tab Host:</p>

<pre><code>public class Tab extends Activity  {

    TabHost th;

    @Override
    public void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);
        setContentView(R.layout.tab);

        Resources res = getResources();    

        th = (TabHost)findViewById(R.id.tabhost);    
        th.setup();
        TabSpec specs = th.newTabSpec("tag1");
        specs.setContent(R.id.tab1);
        specs.setIndicator("Settings", res.getDrawable(R.drawable.ic_tab_setting));
        th.addTab(specs);

        specs = th.newTabSpec("tag2");
        specs.setContent(R.id.tab2);
        specs.setIndicator("Battery Information",res.getDrawable(R.drawable.ic_tab_batteryinfo));
        th.addTab(specs);

        specs = th.newTabSpec("tag3");
        specs.setContent(R.id.tab3);
        specs.setIndicator("Help", res.getDrawable(R.drawable.ic_tab_help));
        th.addTab(specs);
    }
}
</code></pre>

<p>Where am i going to call those three class that i made?</p>
