On Wed, Jun 8, 2011 at 12:31 PM, Indicator Veritatis <[email protected]>wrote:
> But shouldn't it trigger onStop() too? After all, the application is > no longer visible. And what about the Activity Stack? Doesn't pressing > Home put the least recently used Activity on that stack? > Yes and yes (assuming you meant "last" recently used) but the point is neither of those actions is due to HOME being pressed - this is the lifecycle. If you were to use a quick-launching app that allowed you to launch a new app "B" while you were still on app "A", app "A" would pause then stop and be placed on the history stack - it has nothing to do with the fact that the activity coming up happens to be the Home app. In fact, playing with my N1 with 2.3.4 shows that the *current* activity is place on the history stack as soon as it's brought up, not when you go away from it. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- 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

