Android Activity Lifecycle, Updated
November 5th, 2008
A few days ago, I posted a diagram showing the Android activity lifecycle. I think that diagram can be improved, so here is my second attempt.

I like this format better because there is a logical top-to-bottom arrangement showing the activity progressing from the newest state at the top, down to the terminal state at the bottom.
I like your diagram, the only thing its missing is what causes each transition to happen (i.e. User hits “back” button, user clicks “home” button etc…)
The activity lifecycle is a complicated state machine which cannot live completely in my head so i like having a diagram to reference, however without the transition events its not a complete reference.
Nice flow, Also, you could add more details of what are all the possible ways to make a running one to pause state and to stop state. Also how to kill the pause/stoped activity
Also What is the difference between onstart() and onresume().. why there are two methods.. what do be done in onstart() and what do be done onresume().. similar what should not be done in each..
If you could bring out these points.. it would be very nice.
Thanking you.