When other apps send data, it arrives in the form of an intent object. You can register your app's activities to handle those messages. Learn how to register an intent filter in your app manifest, and then how to handle a simple message coming from another app.
- [Instructor] When you send data from one activity…to another using an intent,…that's called an explicit intent within your application,…but when you pass data from application to application,…that uses something called implicit intents.…An intent that sends the data without knowing…which application or activity is going to handle it.…Your own application can register…to handle these kinds of intents.…You do this in the application manifest.…I'm going to set up my DetailActivity…so that it can receive data from other applications…on the device and specifically it'll be looking…for simple text.…
It'll translate that simple text into a request…to display a particular image.…I'll start in my manifest file…and I'll turn my DetailActivity declaration…into an opening and closing tab.…Then, I'll make a copy of this intent filter…from the MainActivity and then I'll paste it…into the DetailActivity.…I'll reset the action and the category's name.…When any application sends simple text for handling…by any other application, the action is always SEND…
Looking for study partners?Join the Associate Android Developer Exam study group
Explore the world of Android app development. The Android Development Essential Training series walks beginners through the process of developing, designing, managing, and distributing Android apps. In this course—the first installment in the series—David Gassner steps through how to create your very first Android app using a mixture of programming languages, including XML and Kotlin. Learn how to configure Android Studio, the Android SDK, and emulator software, and explore the different files in a typical Android app, including build scripts and the app manifest file. Finally, learn how an app is built from the bottom up, with screens, activities, and layouts. Check out later courses in the series to continue building your app development skills.
- 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 Studio Essential Trainingwith David Gassner2h 28m Beginner
Android P First Look for Developerswith David Gassner36m 30s 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.