I’m just starting with Android, and if you are a beginner like me, you probably want to understand two of main concepts of Android: Activities and Intents. You probably start off with a “Hello, World.”, so in Android that is an Activity. Anything you can see on the screen is handled by an Activity. And Intents are what is used to start other activities (and services). To understand an Activity’s behavior when triggered by Intents and user interactions, it is very important to properly understand the life cycle of an Activity. That is what I’m trying to do. You can find a good description of the life cycle here, but it was a little difficult to find an example code. I finally found in lecture slides of Victor Matos of Cleveland State University here. Below I have put the code, with some parts commented out so that I can easily understand the bare bone stuff. This is just a single Activity, next I’ll try to demo this behavior with two Activities using Intents.