How to set android:screenOrientation=“portrait” for Camera

后端 未结 4 1334
长发绾君心
长发绾君心 2021-01-27 10:35

I am using Samsung Galaxy Note to run a phonegap application. When I take picture, I can see that screen rotates just before entering camera. How can I disable this?

I h

4条回答
  •  无人及你
    2021-01-27 11:16

    Use android:configChanges="orientation|keyboardHidden" where you are setting screen as portrait.

提交回复
热议问题