Android App Security · Course 3
Components & Intents
See how apps' parts talk to each other, and which doors stay locked.
About this course
An Android app has no single front door. It's built from screens, background services, receivers and data providers, and Android can start any of them directly. Apps ask each other for help with messages called intents, which is how the share sheet works and how a tapped link opens an app. Every part that other apps can reach is a possible way in, so this is where security reviews start.
You'll find each component in an app's manifest, send different intents in the lab, and see how apps hand over files safely with content:// links and temporary grants. You'll learn what the exported setting means, why unprotected components are a classic bug, and how verified App Links stop another app from grabbing links meant for someone else. The final challenge has you review a relative's note-sharing app before launch and find the doors left open.
Lessons
- 1The Four Building Blocks12 min · Meet activities, services, receivers and providers, the parts every app is built from.Find each component in the QuickNotes manifest · Learn what activities and content providers do · See how services and broadcast receivers run in the background
- 2Intents & the Share Sheet13 min · See how apps ask each other for help, and how the share sheet decides who answers.Send four different intents in the lab · Learn explicit vs implicit intents and intent filters · See how apps hand over files with content:// links and temporary grants
- 3Exported Components13 min · Learn which parts of an app other apps can reach, and how developers lock the rest.Find QuickNotes' exported components in the lab · Learn the exported attribute and the Android 12 rule · See why unprotected components are a classic bug
- 4Deep Links12 min · Find out how a tapped link picks an app, and how verified links stop impostors.Learn deep links, web links and Android App Links · See how a website proves which app it trusts · Understand link hijacking and Android 12's fix
- 5Challenge: The StudyBuddy Review15 min · Review a friend's app before launch and find the doors she left open.Find the risky component, link and file sharing · Recommend safer designs
Do it on the simulated phone
Lessons have labs you can try in your browser, plus questions that earn points toward the Intent Tracker badge.
Start lesson 1