Android Question Camera lib : could i take a photo in portrait orientation?

Javier Campo Martinez

Member
Licensed User
Greetings !!!
I am using Camera library. I have an Activity with a Panel view, for the camera to be displayed. It seems that the activity must be in Landscape orientation to take a picture with this library. I changed programatically the activity orientation to "Landscape", but it does not take long to return to portrait orientation (it takes a few seconds in Landscape mode and returns automatically to Portrait mode) ... is it any way to "freeze" the orientation while taking the picture? Once the picture is taken, i must return to portrait orientation.
Or ...ejem...(better) ... is it any way for the camera to appear in portrait mode?

Any ideas?

Thanks in advance, and looking forward for your kind comments.
 
Last edited:
Top