- Sort Posts
- 5 replies
- Last post
Re: Setting Camera as Vertical
November 16, 2010 - 4:04am #3
What I did do was change
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
to
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
Then played about in the configureVideoBackground() method in the QCARSampleActivity.cpp file to get the screen dimensions correct.
Re: Setting Camera as Vertical
November 16, 2010 - 8:49am #1
See the comments on orientation in the QCARSampleActivity.java file. Portrait should work on 2.2 devices. We suggest sticking with landscape if you would like your app to work on 2.1 devices.
- Kim