1

setOrientationHint exception/fail on Samsung Galaxy S1 Android 2.3.3

view story
linux-howto

http://stackoverflow.com – I've been trying to fix this problem with MediaRecorder video Rotation on and off for weeks. I cannot get the line setOrientationHint(90) to work on a physical Samsung Galaxy S1 running Android 2.3.3. So thats SDK 10. As far as I know this should run fine on anything above SDK 8. I get an exception on the line saying it setParameters(video-param-rotation-angle-degrees=180) failed on the line when I call setOrientationHint(90). Detailed error details below. As a result I'm forced to check SDK and only call setOrientationHint() if SDK>10. ie, this code works fine on all other SDK versions abo (HowTos)