Android: Activity Dialog / Dialog disappears unexpectedly
问题 I have an application with TabActivity in which I am displaying a dialog each time I get a callback from my engine (NDK C code). I make sure dialog is displayed when app is in resume state. Upon receiving the callback from the engine, I start the NetworkDownDialog activity, but this causes the dialog to stay for a second and then disappear. The same thing happens if I use Dialog or AlertDialog . Most strangely, the disappearance seems random (doesn't always happen). This is an S3 device. What