Code example for FragmentActivity

Methods: onPause

0
    } 
	 
	@Override 
	protected void onPause() { 
		if(DEBUG) Log.d(TAG, ".onPause()...");
		super.onPause(); 
	} 
	 
	@Override 
	public boolean onKeyDown(int keyCode, KeyEvent event) {
		switch(keyCode) {
		case KeyEvent.KEYCODE_BACK:
			if(handleBackKeyEvent()) { 
				return true; 
			} 
		} 
		return super.onKeyDown(keyCode, event);
	} 
	 
	/* 
	 * METHODS