Code example for TabHost.TabSpec

Methods: setContent

0
		getTabHost().setCurrentTab(1);
	} 
	 
	public void setAddressSpecContent() { 
	     if (searchOnLine) {
	        addressSpec.setContent(createIntent(SearchAddressOnlineActivity.class));
	     } else { 
	        addressSpec.setContent(createIntent(SearchAddressActivity.class));
	     } 
	} 
 
}