← Android App Development (Kotlin) learning pathAndroid App Development (Kotlin) · Module 9 of 10
Permissions, notifications and services
Access device features responsibly.
📖 Key ideas
- Dangerous permissions (camera, location) need runtime requests.
- Explain why you need a permission before asking.
- Notifications need channels and POST_NOTIFICATIONS permission (Android 13+).
- WorkManager for background tasks; foreground services for ongoing user-visible work.
- Firebase Cloud Messaging for push notifications.
💡 Real-life example: Asking permission is knocking before entering a room, and explaining why you need to come in.
Runtime permissionPermission requested while app runs
Notification channelCategory of notifications
Foreground serviceVisible ongoing background work
FCMPush notification service