List of utility methods to do Camera Orientation Set
void | setCameraDisplayOrientation(Activity activity, int cameraId, android.hardware.Camera camera) set Camera Display Orientation Camera.CameraInfo info = new android.hardware.Camera.CameraInfo(); Camera.getCameraInfo(cameraId, info); int rotation = activity.getWindowManager().getDefaultDisplay() .getRotation(); int degrees = 0; switch (rotation) { case Surface.ROTATION_0: degrees = 0; ... |