camera - how to set framelayout to landscape even if my activity is in portrait mode in android 2.3.1 -


I have an activity where I'm opening the camera. I am using framelit for camera preview but I have a portrait In the mode, the camera has to be opened, which is causing many problems, like a small screen, the problem of rotation, can I set my framelay in landscape, even if my activity is in Paint Mode

Or if someone opens In the portrait portrait mode, the camera will be appreciated effectively

thanks in advance

API level includes 8 (v2.2), a method called set display in the camera. Call this method with 90 to rotate your camera's display in portrait mode.

Comments