Camera rotation in Galaxy phones


Last Updated:

  1. brunodahora

    brunodahora New Member This Topic's Starter

    Joined:
    Feb 5, 2013
    Messages:
    2
    Likes Received:
    0
    Hi all,

    I have a QR Code reader inside my application.
    And to adjust to my layout i have to rotate the camera to be in portrait.
    It works well, except in the Galaxy family.
    Does anyone had this problem or has any clues?

    I already have done this:
    [HIGH]1) mCamera.setDisplayOrientation(90);

    2) parameters.set("orientation", "portrait");
    parameters.set("rotation", 90);
    parameters.setPreviewSize(h, w);[/HIGH]

    Thanks for the attention!
     

    Advertisement

Share This Page

Loading...