I have a Motorola Defy OS Android 2.1 and I make an application with camera Preview. The problem is that the camera works fine on Samsung Galaxy S with Android 2.1, but on Motorola the camera is rotated with 90 degrees. I have tried to do this:
Parameters parameters = camera.getParameters();
parameters.setRotation(90);
but it's not working. I didn't find any solution yet.