1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

Camera rotation in Galaxy phones

Last Updated:

  1. brunodahora

    brunodahora New Member

    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!


Share This Page