Usually when you do something in the onCreate() or onStart() that shows something on top of the current Activity (such as showing another Activity). But also if the user switches applications, a phone call comes in, or anything else happens that interrupts the normal flow.
crispy bacon. crispy tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads