title: Android camera rotate
body: <p>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: </p>
  
  <pre><code>Parameters parameters = camera.getParameters();
  parameters.setRotation(90);
  </code></pre>
  
  <p>but it's not working. I didn't find any solution yet.</p>