1

このリンクhttp://developer.android.com/reference/android/hardware/Camera.htmlで「setCameraDisplayOrientation」関数を使用していますが、現在のアクティビティをこの関数に渡す方法がわかりません。体は私を助けることができますか?どうも

4

1 に答える 1

6

このように使用

setCameraDisplayOrientation(this)また

setCameraDisplayOrientation(YourActivityName.this)

于 2013-08-21T07:00:42.803 に答える