Skip to main content
Participant
September 4, 2012
Question

Camera freeze on device rotation

  • September 4, 2012
  • 2 replies
  • 949 views

Hi,

I'm trying to get the camera video content from a Samsung Galaxy Tab 10.1 and to attach it to a video component. All fine through here, but when I rotate the device the video freezes. I've tried to run the same code on an iPad, and everything works just fine (regardless of the device orientation). I was wondering if I have to setup another android permission from the manifest file, or is another workaround.

If I set the <autoOrients> tag to false, then the device rotation does not force the application to rotate, and the video is continiously displayed.

Waiting for your opinions!

Thanks

This topic has been closed for replies.

2 replies

Inspiring
September 13, 2012

I used to have a similar problem with air 3.2 but not since then...  Are you sure you are using 3.4?

Also, if you post the snippet of what you are doing with your camera it could help...

What I do in my app, is when the device is rotated I disable the camera, do the neccessary rotation etc and then re-enable after a set timeout.  It seems to work fine.

Good luck..

Danut_tAuthor
Participant
September 11, 2012

Nobody came across this problem?