An Android activity is loosely defined as an object that "does something," but in an app designed for phones and tablets it controls the appearance and behavior of a single screen. Learn how to add new activities to your app.
- [Instructor] In Android, an activity…is generally defined as something an app can do.…In apps designed for phones and tablets,…activities manage screens.…An activity screen might not always look the same,…it might, for example, only serve as a container…for smaller user interface components named fragments…but on phones and tablets,…each screen is always managed by an activity.…This activity is named MainActivity…and as with all activities, it's registered…in the application manifest.…
When the user starts an app by tapping its launcher icon,…the app framework looks for the app's launcher activity…which is marked by this intent-filter.…The filter has an action and a category.…The action is set to MAIN…and the category is set to LAUNCHER.…Each application should have only one activity…that's marked in this way.…When you first create an application in Android Studio,…regardless of which activity template you use,…it'll always have a single launcher activity.…
When the users starts an app by tapping its launcher icon…
- Installing Android Studio
- Creating your first Android Studio project
- Managing configuration files, including Gradle scripts
- Defining screens with activities
- Implementing designs in XML layouts
Skill Level Beginner
Android P First Look for Developerswith David Gassner36m 30s Beginner
Android Studio Essential Trainingwith David Gassner2h 28m Beginner
What you should know2m 10s
1. Android Development Fundamentals
2. Getting Started
3. Explore Android Projects
4. Android App Architecture
Next steps1m 10s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.