this problem appears to be unit dependent. on my G1, the camera
orientation is always wrong. on the G1 belonging to a colleage, it's
correct. this would suggest that if i set rotation, it would fix some
phones and break others.
are the G1 hardware camera parameters documented anywhere apart from
the source code? log messages indicate that there are many more
parameters than the base API allows access to.
tx
Did you try using parameters.set(rotation, 90) for the G1?
On Nov 6, 1:00 am, Kipling Inscore [EMAIL PROTECTED] wrote:
As can be discovered by using the built in camera (no need to look at
the source code), it always useslandscapemode, even when the
keyboard is closed and the home screen and most other apps are
inportraitmode.
I've tried using CameraPreview inportrait, found the same issue as
jarkman and apkdev, and decided to see what the built-in camera did,
which is to simply forcelandscapemode. So I decided to do the same.
I would guess that it's possible to somewhat manually rotate the
image, using a view- or image-related class, but I don't think there's
anything like that in the camera-related classes.
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---