Same problem here.

I've had NO luck getting the Camera to work in Portrait mode.  As a
last resort, I'm going to download the android source and peek in to
the built-in Camera app's source (assuming it's in there).

Cheers

On Nov 4, 2:29 am, jarkman <[EMAIL PROTECTED]> wrote:
> I'm using camera preview on the G1, using code from CameraPreview in
> ApiDemos.
>
> I'm seeing the preview image appear stretched & rotated unless my
> screen orientation is set to 'landscape' in the manifest.
>
> I can reproduce the same effect by changing the manifest for ApiDemos,
> setting the screen orientation for .graphics.CameraPreview to
> portrait.
>
> I'd love to know if this is a bug in the Camera class, or if there is
> some way I can work around this behaviour in my code, perhaps by
> telling the Camera or SurfaceHolder something about orientation.
>
> Thanks!
>
> Richard
--~--~---------~--~----~------------~-------~--~----~
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