Code example for TabActivity

Methods: getTabHost

0
						new DialogInterface.OnClickListener() {
 
							public void onClick(DialogInterface dialog,
									int which) {
								TabActivity tabs = (TabActivity) getParent();
								tabs.getTabHost().setCurrentTab(1);
 
							} 
						}); 
				alertDialog.show();
				apagarDados(); 
			} 
			 
			else{ 
				AlertDialog.Builder alertDialogFalha = new AlertDialog.Builder(
						AnuncioCaronaActivity.this);
				alertDialogFalha.setMessage("Todos os campos são obrigatórios");
				alertDialogFalha.show();
			} 
		} 
Stop searching for code, let great code find you!  Add Codota to your java IDE