Ask Your Question

seroj1293's profile - activity

2017-03-30 08:48:54 -0600 answered a question How to add a button to switch between cameras
    public void swapCamera() {
            int index = CAMERA_ID_FRONT;
            if (getCameraIndex() == CAMERA_ID_FRONT)
                index = CAMERA_ID_BACK;
            this.disableView();
            this.setCameraIndex(index);
            this.enableView();
   }
2016-09-28 04:07:06 -0600 commented answer Rotating Android Camera to Portrait

Not working