Have a camera activity that works for pretty much any other phone, in
portrait mode, using this code:

        Camera.Parameters parameters = camera.getParameters();
        parameters.set("orientation", "portrait");
        parameters.set("rotation", 90);
        camera.setParameters(parameters);
        if(android.os.Build.VERSION.SDK_INT > 7) {
            camera.setDisplayOrientation(90);
        }
        camera.startPreview();

But I have gotten word that it's not working in portrait mode for the
HTC Thunderbolt. Picture rotated and distorted. Has anyone else had
this experience, and perhaps have a fix?

-- 
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