1. Check out our companion app, Forums for Android! Download from Google Play

Camera rotation in Galaxy phones

Discussion in 'Application Development' started by brunodahora, Feb 5, 2013.

  1. brunodahora

    brunodahora New Member
    Thread Starter
    5

    Feb 5, 2013
    2
    0
    5
    Male
    System Analist
    Sao Paulo, Brazil
    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...