Android Camera in Portrait on SurfaceView
<p>I tried several things to try to get the camera preview to show up in portrait on a <code>SurfaceView</code>.  Nothing worked.  I am testing on a Droid that has 2.0.1.  I tried:</p>

<p>1) forcing the layout to be portrait by: <code>this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);</code></p>

<p>2) using</p>

<pre><code>Camera.Parameters parameters = camera.getParameters();
parameters.set("orientation", "portrait");
parameters.setRotation(90);
camera.setParameters(parameters);
</code></pre>

<p>Is there something else I can try?  If this a bug in Android or the phone how can I make sure that this is the case so that I have proof to inform the client?</p>

<p>Thanks,
Prasanna</p>
