and for different device versions try this:- http://stackoverflow.com/a/5140988/1384010
Hope this will help you !!
– Adarsh YadavNov 29 '15 at 11:01
@D T do you want to set the same orientation as of image captured from camera , in the image which you are going to display ??
– dexNov 29 '15 at 11:02
i setting mCamera.setDisplayOrientation(90);, but this code change preview of camera. so this value can't change to other value.
– D TNov 29 '15 at 11:07
It's not clear how you achieved 4 different orientations on the picture sequence.
– Alex CohnNov 30 '15 at 07:08