title: Camera on surfaceview android rotation
body: <p>I'm developing an application with camera and I use surfaceview to preview the camera, so when I start the preview the camera is rotated 90 degree or something like that it is in landscape but I hold my phone in portrait. </p>
  
  <p>How can I make it start in regular position. The photos that I take are in landscape.</p>
  
  <pre><code>parameters.set("orientation", "landscape");
  parameters.set("rotation", 90);
  </code></pre>