I just wasted several hours tracking down a bug in the emulator. It turns out to have been found before:
http://code.google.com/p/android/issues/detail?id=2423 Fortunately it does not seem to be a problem in any device. In some configurations when the emulator is switched from Landscape to Portrait (using CNTL-F11), onResume is called twice. Actually the entire lifecycle is executed twice. For most activities this should not matter. It was a problem for me because I was using onResume to detect a static flag in another class and display a message to the user, and then cancel that static flag. But with the first lifecycle going by so quickly, the user never sees the message. I just think this bug ought to be a little more publicized. -- 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

