I got all the parameters from a Droid for the camera - looks like
rotation is not one of them... how do you get the camera to rotate the
output?:

picture-size-
values=1280x960,1600x1200,2048x1536,2592x1936,2592x1456;mot-postview-
mode=on;zoom=0;antibanding=auto;zoom-
supported=true;whitebalance=auto;jpeg-thumbnail-height=240;scene-
mode=auto;jpeg-quality=95;smooth-zoom-supported=true;preview-format-
values=yuv422i-yuyv,yuv420sp;focus-mode=auto;preview-
format=yuv420sp;mot-test-command=;mot-zoom-step=0.5;preview-
size=560x320;picture-format-values=jpeg,jfif,exif;mot-areas-to-
focus=0;mot-postview-modes=off,on;flash-mode-
values=off,on,auto;preview-frame-rate-values=5,10,15,20,24,25,30;mot-
max-areas-to-focus=1;preview-frame-rate=30;flash-mode=off;effect-
values=none,mono,sepia,negative,solarize,red-tint,blue-tint,green-
tint;focus-mode-values=off,auto,infinity,macro;picture-
size=2048x1536;max-zoom=6;effect=none;jpeg-thumbnail-
width=320;whitebalance-values=auto,daylight,fluorescent,cloudy-
daylight,incandescent,warm-fluorescent;scene-mode-
values=auto,action,portrait,landscape,night,night-
portrait,theatre,beach,snow,sunset,steadyphoto;picture-
format=jpeg;jpeg-thumbnail-size-
values=160x90,160x120,176x144,320x180,320x240;mot-zoom-
speed=99;preview-size-
values=176x144,320x240,352x288,640x480,720x480,720x576,848x480;antibanding-
values=auto,50hz,60hz





On Dec 19, 6:00 pm, Mark Wyszomierski <mar...@gmail.com> wrote:
> I have a typo in my code listing above, it really reads:
>
>   params.set("rotation", 90);
>
> (90 degrees, not zero),
>
> Thanks
>
> On Dec 19, 5:57 pm, Mark Wyszomierski <mar...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > I'm using this camera code to ask the camera to rotate the captured
> > image data:
>
> >   Camera.Parameters params = camera.getParameters();
> >   params.set("rotation", 0);
> >   camera.setParameters(params);
>
> > this seems to work on all phones, except the Droid. Has anyone else
> > seen this? The image data is always landscape, however, the native
> > camera app produces portrait images ok. I wonder if the Droid will
> > only respect the new Camera.Parameters.setRotation() method, but this
> > seems to only be available in sdk level 5?
>
> > Thanks

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

Reply via email to