title: Android setting manual focus by touching
body: <p>I am going to set the my Android App by opening the camera and enable manual focus by touching the point in to camera. The camera can refocus to the point where I have pointed on to the screen. Would you please tell me the methodology or which component should I start with to modify ? </p>
  
  <p>Below is my code:</p>
  
  <pre><code>public void takePhoto(File photoFile, String workerName, int width, int height, int quality) {
      if (getAutoFocusStatus()){
          camera.autoFocus(new AutoFocusCallback() {
              @Override
              public void onAutoFocus(boolean success, Camera camera) {
                  camera.takePicture(shutterCallback, rawCallback, jpegCallback);
              }
          }); 
      }else{
          camera.takePicture(shutterCallback, rawCallback, jpegCallback);
      }
  
  this.photoFile = photoFile;
  this.workerName = workerName;
  this.imageOutputWidth = width;
  this.imageOutputHeight = height;
  }
  
  public void takePhoto(File photoFile, int width, int height, int quality) {
  takePhoto(photoFile, null, width, height, quality);
  }
  </code></pre>