title: TabActivity that create an intent onClick button but the tabhost of activity receiver disappear
body: <p>I have 2 activity: A, B. The first is an TabActivity and the second an Activity. 
  Inside A i have a clickable button that make an intent to call the other activity.</p>
  
  <pre><code>public class A extends TabActivity implements OnClickListener {
  
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
  
          tabHost = getTabHost();
          tabHost.addTab(tabHost.newTabSpec("a").setContent(R.id.a).setIndicator("a"));
  
          b = new Intent(this,B.class);
      tabHost.addTab(tabHost.newTabSpec("b").setContent(b)
              .setIndicator(this.getString(R.string.b)));
  
          btn.setOnClickListener(this);
      }
  
  
      public void onClick(View arg0) {
          if (arg0 == btn) {
          startActivity(b);
          }
      }
  }
  </code></pre>
  
  <p>Inside B, i have a thread that gets data from internet every time that the button in A class is clicked:</p>
  
  <pre><code>public class B extends Activity {
      public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.search_result);
  
         searchHandler = new Handler() {
             @Override
             public void handleMessage(Message msg) {
                 draw(msg.obj.toString());
             }
      }
  
      Intent intent = getIntent();
      if(..)
          sendHttpRequest();
  }
  </code></pre>
  
  <p>Data returns correctly and I can manage it, but my tabhost disappear. How I can solve?</p>