 private Camera getCameraInstance() {         Camera camera = null;         try {             camera = Camera.open();          } catch (Exception e) {             // cannot get camera or does not exist         }         return camera;     }      