@Override
  public void onCreate(Bundle savedInstanceState) {

    ZmqHandler.initialize(this);

    m_eRobot = RobotType.RBT_PIRATEDOTTY;
    // we don't own the robot because it is a service and could have been started
    // before displaying the UI
    m_bOwnsRobot = false;

    // if direct
    PirateDottyProxy robot = new PirateDottyProxy(this, PirateDottyService.class);

    // if ipc
    //		RemoteRobotWrapper robot = new Rover2Remote(this, RobotType.RBT_ROVER2,
    // Rover2Service.class);
    //		robot.setHandler(m_oUiHandler);

    setRobot(robot);

    // zmq handler and robot type have to be assigned before calling the parent's
    // onCreate
    super.onCreate(savedInstanceState);
  }