For simply, I write an app with Splash, Home, Child1 and Child2 with following flow: Splash -> Home -> Child1 -> Child2. And we can back from Child2 to Child1, from Child1 to Home, and back from Home to exit app.
It sounds simple. I can navigate between these screens correctly.
Problem when I install app via OTA. After enter Splash -> Home -> Child1 -> Child2. Staying Child2, I press HOME button to minimize app, and re-enter app by choose app icon. But when re-entering app, it doesn't resume at Child2 but start from Splash -> Home. I cannot understand what happens here. It should resume at Child2 instead.
More surprised thing is, at Home screen, when I press BACK button to exist app, now Child2 is resumed (o_O). And from Child2, now I can back to Child1, and to Home, and back again to exist app.
All these issues happen when I install app via OTA but app works normally when I install by cable.
Can anyone tell me what happens in my situation? Any help is appreciated
Many thanks.
P/S: I get this bug when testing on Nexus 1 (Android 2.2) and Nexus S(Android 2.3.x)
Edit: even CNN app for Android still have this issue... Is it belong to OS?