A simplified explanation of the Android lifecycle

If you have ever used an Android device, you have probably noticed it works quite differently to many other operating systems. For example, you might be using an app—say you're checking what people are doing on Facebook.

Then you get an email notification and you tap the notification to read it. Midway through reading the email, you might get a Twitter notification, and because you are waiting on important news from someone you follow, you interrupt your email reading and change apps to Twitter with just a touch.

After reading the tweet, you fancy a game of Angry Birds, but midway through the first fling, you suddenly remember that Facebook post. So, you quit Angry Birds and tap the Facebook icon. ...

Get Android Programming for Beginners - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.