Code example for TabActivity

Methods: getTabHost

0
		// Set tab to first tab (subjects) 
		TabActivity tabActivity = (TabActivity) getParent();
		if (tabActivity != null)
		{ 
			 
			TabHost tabHost = tabActivity.getTabHost();
			tabHost.setCurrentTab(0);
		} 
	} 
 
	@Override 
	public void onResume() 
	{ 
		super.onResume(); 
		context = this;
		refreshContent(); 
	} 
 
	@Override 
	public void onPause() 
Stop searching for code, let great code find you!  Add Codota to your java IDE