Actually I found this very important step which is definitely causing it: -User downloads APK through the browser. -User installs. -User then gets prompted with two buttons: "Open" or "Done". - ** If you hit "Open", this starts the quirky behavior with the incorrect history stack. - ** If you hit "Done", and launch the app from the app tray, it works perfectly.
So it looks like the system/browser does something to the history of your app when launched through the "Open" button. Can anyone verify this? This is almost the same exact bug as launching the app from eclipse. Only in this case, eclipse is replaced by the browser. Thanks On Dec 4, 1:34 am, Mark Wyszomierski <[email protected]> wrote: > Hi, > > I just experienced this behavior on four different phones, 1.5 to 2.0. > > I made a brand new app. It's simply two activities, A and B. Activity > A launches B. That's all it does. Rest is wizard generated template > code. > > When the user installs the app (via web url apk), and runs it for the > *first* time, I get an out-of-order activity stack: > > -User starts the app, A is on top. > -They make A launch B by clicking a button. B is on top of the > stack. > -User hits the home screen button. > -User returns to the app, A is displayed, instead of B. > -User hits the back key, B is shown! > -User hits the back key again, A is shown! > -User hits the back key again, home screen shown. > -Now the stack is clean, and app behaves "normally" from now on! > > Is any one else seeing this? This is almost exactly like this known > bug, however my users are not installing from > eclipse:http://code.google.com/p/android/issues/detail?id=2373&q=first%20%20i... > > I can provide the test app/source if anyone wants to try, > > Thanks -- 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

