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