How many times does it take to crash if you skip rotating the phone 30 times while displaying the bitmap?
Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 22, 2011 at 2:32 PM, John <[email protected]> wrote: > I have an Activity that displays a bitmap. I have tried 30 times > rotating the phone into landscape and back to portrait. There is no > crash. > > Then I display an AlertDialog using Activity.showDialog. Instead of > pressing the "OK" button to dismiss the dialog, I rotate the phone. > The dialog is still displayed in landscape mode, and everything looks > good. Then I rotate the phone a total of 9 times, and the app crashes > with an out-of-memory error. > So my question is what effect does displaying the AlertDialog have > on my Activity that causes it to run out of memory after 9 rotations? > > Thanks, > John > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

