Code example for TabHost

Methods: clearAllTabs

0
    } 
     
    @Override 
    protected void onDestroy()  
    {  
    	mTabHost.clearAllTabs();
    	mTabHost = null;
    	 
    	 
    	super.onDestroy(); 
    } 
    private void initTabs() 
    { 
        mTabHost.clearAllTabs();
 
        Intent friendsIntent   = new Intent(this,   FacebookFriendsActivity.class);
        friendsIntent.putExtra("fromtabview", true);
         
        /* 
        Intent phonebookIntent   = new Intent(this,   FacebookPhonebookActivity.class);