not run oncreate() ,on tab change in same page, 2nd time
<p>I have 4 tabs in a page view when i click first time on tab it executes it <code>oncreate()</code> method of corresponding tab and when i go to other tab on same page and again click on previous clicked tab then its <code>oncreate()</code> method not execute why?why it is not work as button click means each time i click its <code>oncreate()</code> method run.</p>

<p><em><strong>my code for tab activity class is below</em></strong> </p>

<pre><code>  intent1 = new Intent().setClass(this, keywordxmlparsing.class);
spec1 = tabHost.newTabSpec("Activity2").setIndicator("keyword/ search...").setContent(intent1);
tabHost.addTab(spec1); 

intent2 = new Intent().setClass(this, filter.class);
spec2 = tabHost.newTabSpec("Activity1").setIndicator("filter search").setContent(intent2);
tabHost.addTab(spec2);
intent3 = new Intent().setClass(this, OpeningToday.class);
spec3 = tabHost.newTabSpec("Activity3").setIndicator("opening today").setContent(intent3);
tabHost.addTab(spec3);
intent4 = new Intent(keywordresulttab.this,Map.class);
spec4 = tabHost.newTabSpec("Activity4").setIndicator("Map").setContent(intent4);
tabHost.addTab(spec4);
</code></pre>

<p>dear if i use</p>

<pre><code>    @Override
public void onTabChanged(String label) {
    // TODO Auto-generated method stub
    if(label == "Activity2") {




    }
    try{
    if(label == "Activity4") {
        Intent intent4; 
        intent4 = new Intent(keywordresulttab.this,Map.class);
        startActivity(intent4);
        Log.i("suiuawhd","maps class");




                }
</code></pre>

<p><em>then can i go to other <code>activity</code> means using</em> </p>

<pre><code>  intent4 = new Intent(keywordresulttab.this,Map.class);
            startActivity(intent4);
</code></pre>

<p>we can load again <code>activity</code> on tab click??then what to written in place of</p>

<pre><code>     tabHost.addTab(spec3);
intent4 = new Intent(keywordresulttab.this,Map.class);
spec4 = tabHost.newTabSpec("Activity4").setIndicator("Map").setContent(intent4);
tabHost.addTab(spec4);
</code></pre>
