• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Camera rotation in Galaxy phones

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!
 
Back
Top Bottom