맞춤 카메라 및 표면보기를 사용하고 있습니다. 그러나 문제는 카메라 방향이 적절한 모드로 표시되지 않는다는 것입니다.카메라 방향이 적절한 모드로 표시되지 않습니다. android
이 코드로 시도 :
Camera.Parameters p = c.getParameters();
parameters.set("orientation", "portrait");
parameters.set("rotation", 90);
c.setParameters(p);
또한이 코드 :
mCamera.setDisplayOrientation(mRotation);
But no effect. If there any other solution for this. Please tell me.
내가 코드를 통해 가서 나는 이것이 당신이 [이 확인] 도움이 될 것입니다 생각 [1] [1] : http://stackoverflow.com/questions/4645960/how-to-set- android-camera-orientation-properly –