Code example for FragmentActivity

Methods: onPause

  protected void 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. 
Experience pair programming with AI  Get Codota for Java