Screen orientation on Samsung Galaxy 9000
Try recalibrating the orientation sensor from Settings -&gt; Display -&gt; Horizontal calibration. My phone does this too occasionally, since when the phone is lying flat, the difference between portrait/landscape is very small in the sensors.