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

Discussion in 'Android Questions' started by Javier Campo Martinez, Jan 12, 2019.

Tags:
  1. Javier Campo Martinez

    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: Jan 12, 2019
  2. Erel

    Erel Administrator Staff Member Licensed User

    BillMeyer likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice