Screen orientation on Samsung Galaxy 9000 When I have my samsung galaxy 9000 (with Android 2.2) on a flat surface (table) and start an application, then the application is shown in landscape mode, even when the start/home screen was in portrait mode.

This does not happen when I hold the phone in my hands.

Is there a way to disable this behavior?

Update: I think I got something wrong: the home screen is never rotated, so the problem is simply that the galaxy thinks it is in landscape-mode when it is lying flat.
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.