From the course: Android Development Essential Training: 1 Your First App

Unlock the full course today

Join today to access over 23,100 courses taught by industry experts.

Define screens with activities

Define screens with activities

- [Instructor] An activity is a single, focused thing that the user can do. It typically represents a single screen in your application. For example, if you have a banking application, the first screen that the user sees may be an account overview. That would be one activity. Then when they click on a specific account, they're taken to the list of recent transactions. That would be another activity. And finally, they could click on a given transaction to see more details. That too would be represented by an activity. Now, although the activities work together to form a cohesive user experience in the app, each one is independent of the others. This is what gives Android much of its power and flexibility. Unlike a typical desktop app, where the user always enters at the same starting point, Android applications allow users to enter from various places. For instance, going back to our banking app, if I click on an…

Contents