First time here? Check out the FAQ!
public void swapCamera() { int index = CAMERA_ID_FRONT; if (getCameraIndex() == CAMERA_ID_FRONT) index = CAMERA_ID_BACK; this.disableView(); this.setCameraIndex(index); this.enableView(); }
Not working