Code example for FragmentActivity

Methods: onPause

0
	} 
 
	@Override 
	protected void onPause() { 
		mCapptainAgent.endActivity();
		super.onPause(); 
	} 
 
	/** 
	 * Get the Capptain agent attached to this activity. 
	 *  
	 * @return the Capptain agent 
	 */ 
	public final CapptainAgent getCapptainAgent() { 
		return mCapptainAgent;
	} 
 
	/** 
	 * Override this to specify the name reported by your activity. The default 
	 * implementation returns the simple name of the class and removes the 
	 * "Activity" suffix if any (e.g. "com.mycompany.MainActivity" -> "Main").