title: camera captured image default rotating with 90 degree angle
body: <p>currently i am using android Api 4.
  my camera initializing code is follow:</p>
  
  <pre><code>public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) {
    // Now that the size is known, set up the camera parameters and begin
    // the preview.
    Parameters parameters = camera.getParameters();
    parameters.set("jpeg-quality", 100);
    parameters.set("orientation", "portrait");
    parameters.set("picture-size", "320X430");
    parameters.set("rotation", 0);
    parameters.setPictureFormat(PixelFormat.JPEG);
    camera.setParameters(parameters);
    camera.startPreview();
  
   }
  </code></pre>
  
  <p>i set the orientation portrait, camera preview working appropriately.
  but when i captured the image ,its rotating the image with 90 degree.In the landscape orientation its working perfectly.
  so how i can capture normal image using portrait orientation.</p>
  
  <p>thanks.</p>