In the Android Application Fundamentals it says that after the call to the onStart()-method of the activity lifecycle either the callback method onResume()
or
According to the flowchart on the page provided, it is not possible for onStop()
to be called without onResume()
being called. I could think of some potential scenario in which the system shuts down the application in the middle of starting it up, but I have no clue what or how such a scenario would be triggered, or if it even exists.
As pointed out by Tseng, it's possible that a task will never be brought to the foreground (I'm thinking of say, the task that syncs the phone with an Exchange server). I imagine Such a task will never have onResume()
or onPause()
called.