Go Back   Android Forums > Android Development > Application Development
Application Development Dev Lounge for the Coder Folks
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

test: Reply
 
LinkBack Thread Tools
Old February 5th, 2013, 02:28 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Feb 2013
Location: Sao Paulo, Brazil
Gender: Male
Posts: 2
 
Device(s): Motorola Defy Nexus 4 Nexus 7
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default 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:
1) mCamera.setDisplayOrientation(90);

2) parameters.set("orientation", "portrait");
   parameters.set("rotation", 90);
   parameters.setPreviewSize(h, w);
Thanks for the attention!

brunodahora is offline  
Reply With Quote
Sponsors
Reply


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:36 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.