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…
- 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.