Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

New Forums: Nexus Player | Nexus 9
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:
[HIGH]1) mCamera.setDisplayOrientation(90);

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

Thanks for the attention!

Advertisements
brunodahora is offline  
Reply With Quote
sponsored links
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 11:58 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.