The Very Basics of Android: Tasks, Activities, and the Backstack

Welcome to The Very Basics of Android ! This series is aimed at folks just starting out on Android, and the goal is by the end of the series, you should be familiar enough with common Android topics to be able to go on to other intro materials. To start, this first article will discuss the terminology we use when talking about the UI of the app: Tasks, Activities, and the Backstack. Go onto your Android phone, and click on the small square button at the bottom of the screen. This screen represents all of the tasks running that you have opened! Here's what it looks like on my screen: As you can see, I most recently opened Duolingo and second most recently opened the calculator app, so I have a Duolingo task as well as a calculator task. Each one of these tasks is just a stack of "webpages", called the backstack . Each one of these "webpages" we call an activity . Here's my artist's rendition of what this looks like: When browsing a webpage, you are clicki...