@Override
    public boolean onSingleTapUp(MotionEvent e) {
      // Let the EmulatorView handle taps if mouse tracking is active
      if (view.isMouseTrackingActive()) return false;

      // Check for link at tap location
      String link = view.getURLat(e.getX(), e.getY());
      if (link != null) execURL(link);
      else
        doUIToggle((int) e.getX(), (int) e.getY(), view.getVisibleWidth(), view.getVisibleHeight());
      return true;
    }
 @Override
 public boolean onSingleTapUp(MotionEvent e) {
   doUIToggle((int) e.getX(), (int) e.getY(), view.getVisibleWidth(), view.getVisibleHeight());
   return true;
 }