code: private void setUpAndConfigureCamera() {
  		// Open and configure the camera
  		mCamera = openConfigureCamera(mCameraInfo);
  		setCameraDisplayOrientation(mCameraInfo,mCamera);
  
  		// Create an instance of Camera
  		mPreview.setCamera(mCamera);
  
  		if( processing != null ) {
  			processing.init(mDraw,mCamera,mCameraInfo,previewRotation);
  		}
  	}
docs: Sets up the camera if it is not already setup.