8

How can I prevent Android Activity from briefly entering portrait mode when I have specified landscape?

view full story
linux-howto

http://stackoverflow.com – I forgot to add that this is happening when launching the app from eclipse. If I launch the app by clicking the icon, it doesn't seem to happen. I have the following specified in my manifest: <activity android:screenOrientation="landscape" android:configChanges="orientation|keyboardHidden" I have also tried: setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); When I was targeting API level 7, I believe this worked fine. Now I target API level8, and a strange quirk has appeared. In the oncreate method, the value of: getResources().getConfiguration().ori (HowTos)