I have an application that I just would like to use in portrait mode, so I have defined android:screenOrientation="portrait" in the manifest xml. This works ok for the htc magic phone.
But I have a problem with the HTC G1 phone as i open the hardware qwerty keyboard (not the virtual keyboard). My activity stays in portrait mode, but seems to get restarted and looses all its states. This does not happen with the hero version.
My application is quite big so i dont want it to restart and loose all its states when the keyboard is opened. Any idea on how i can do that?