Code example for ActionBarActivity

Methods: onOptionsItemSelected

0
			Intent homeIntent = new Intent(this, Putio.class);
			homeIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
			startActivity(homeIntent);
			return true; 
		} 
		return (super.onOptionsItemSelected(menuItem));
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE