Android Camera exit rotate

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2012-09-10T09:36:14Z Indexed on 2012/09/10 9:37 UTC
Read the original article Hit count: 149

Filed under:

I am first time to write a camera app. At program, I am using setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) and android:screenOrientation="landscape" in Manifest to set the landscape screen.

My problem is when use System.exit() or Intent. The screen will change to portrait automatically. But in my program, it haven't set any screen orientation again. How can I prevent this problem? Thanks!!

© Stack Overflow or respective owner

Related posts about android-camera