How do I rotate a Camera preview to take landscape photos in portrait mode?

view story

http://stackoverflow.com – I see a lot of advice from people wanting to take portrait photos that tell them to rotate the camera by 90 degrees. However, no matter what I try the only thing that actually "rotates" is the image being taken by the camera, however it retains it's width and height proportions, so what happens is that the picture is only not distorted if the SurfaceView is narrow and tall. What I'm trying to achieve is to take a 4x3 photo that is NOT warped in a 3x4 layout. It will be fairly narrow, I know, but the object is to rotate the Preview view -90degrees and yet preserve the normal aspect ratio of (HowTos)