On Mon, Oct 22, 2012 at 09:53:12PM -0700, Haris wrote:
> I don't know why it's not worked with me. If I set orientation as
> portrait in manifest file I am getting 90 degree rotated image in my
> preview. But in the case of landscape orientation I am getting normal
> image in my preview while my phone orientation is portrait I know it is
> 90 degree rotated from landscape ,  and while saving or drawing  to a
> canvas I am getting 90 degree rotated image. For this issue I just
> rotated my image 90 degree backward. I thought it is better to set the
> orientation correctly rather than rotating the image after
> capture.........  

I'm assuming that you have some specific reason for wanting to use
portrait, where "normal" camera orientation is landscape?  In every
camera I've seen, used, or read about, the normal orientation is
landscape.  If you want portrait, you have to rotate the camera.
I recall reading somewhere in the developer's guide docs on the
camera that (as with 35mm and DSLR cameras) the Android camera's
normal orientation is landscape.  You CAN change that in java,
if you want to, though (but why would you?  if the user wants
to rotate the camera for a portrait-oriented shot, they'll
just rotate the device)

Later,
   --jim

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4) //  North American Hunting Club Member #70781171
ICBM/Hurr.: 30.44406N 86.59909W // Running Mac OS X Lion >

   "Now what *you* need is a proper pint of porter poured in a proper
   pewter porter pot.."     --Peter Dalgaard in alt.sysadmin.recovery


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to