문제

Does camera width and height in Camera.Parameters change when we change orientation from portrait to landscape ?

도움이 되었습니까?

해결책

If you are asking about the preview width and height then yes it depends on the orientation. Although I don't think it changes on its own. More info [here](http://developer.android.com/reference/android/hardware/Camera.Parameters.html#setPreviewSize(int, int))

If you are asking about the image that needs to be captured then no orientation should not have any effect on the width and the height.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top