I am developing a camera application for Android API 16 to 21 which main and only purpose is to take portrait photo. I am able to take picture with several
You can try to use Camera parameters to fix rotation issue.
Camera.Parameters parameters = camera.getParameters(); parameters.set("orientation", "portrait"); parameters.setRotation(90); camera.setParameters(parameters);