[android-developers] Re: Confusing situation/crash in onPause()

2009-03-10 Thread Matt Hall
Hi Diane, I took your suggestion and changed our configChanges from: android:configChanges="keyboardHidden" to android:configChanges="keyboardHidden|orientation" And that solved the problem. Now when one of those popups shows up overtop of our app we get rotated, but we don't get destroyed. T

[android-developers] Re: Confusing situation/crash in onPause()

2009-03-10 Thread Dianne Hackborn
I am having a little trouble understanding what you are describing -- I don't see how your own variables can suddenly become null; unless something really wacky is going on, you are either clearing them somewhere, or you have a different instance of the activity that didn't initialize them. For th

[android-developers] Re: Confusing situation/crash in onPause()

2009-03-10 Thread Matt Hall
Just adding some more info here for any who follow - this only happens in one of our games, and the major difference is that the game with the problem has it's screen orientation locked to landscape mode. Since the home screen intent view appears in portrait orientation I suspect this is causing t