I have a application running on N93. N93 camera is initiated when you turn orientation of camera, which sometime it crashed our application. Because our application is using the camera now. I put code to put native camera to be background, but it still crashes sometime.
I did not put screen drawing according to orientation, so when orientation is changed, our video only show a portion of screen.
In general, how to prevent this happen, or I have to draw screen based on orientation to prevent crash?

Thanks in advance.