Code example for FragmentActivity

Methods: getSupportActionBar

0
		super.onDestroy(); 
		log("onDestroy"); 
	} 
 
	protected void setActionBarTitle(String title) {
		getSupportActionBar().setTitle(title);
	} 
 
	@Override 
	public boolean onKeyDown(int keyCode, KeyEvent event) {
		if (keyCode == KeyEvent.KEYCODE_BACK && event.getRepeatCount() == 0) {
			log("onKeyDown KEYCODE_BACK"); 
		} 
		return super.onKeyDown(keyCode, event);
	} 
 
	@Override 
	public void onActivityResult(int requestCode, int resultCode, Intent data) {
		super.onActivityResult(requestCode, resultCode, data);
		log("onActivityResult"); 
	}