I set a data member, imageUri, and pass that into an intent that launches the camera activity. In the camera activity I take a picture and the rotate the screen before clic
Istvan Jonyer. thank you very much.my problem solved. when i off auto rotate setting in my phone galaxy j510 j5 2016 and rotate camera in landscape i get error. but you help me. i add this code: android:configChanges="keyboardHidden|orientation|screenSize" to manifest file to tag my activity that start camera.