Code example for FragmentActivity

Methods: onOptionsItemSelected, startActivity

0
		return true; 
	} 
 
	@Override 
	public boolean onOptionsItemSelected(MenuItem item) {
		startActivity(new Intent(this, Infos.class));
		return super.onOptionsItemSelected(item);
 
	} 
 
	public void dialog(View view) {
		UpdateChecker.checkForDialog(this, 1);
 
	} 
 
	public void notification(View view) {
		UpdateChecker.checkForNotification(this, 1);
 
	} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE