YUNOVA · Android Development

Module 9: Working with the device

Notes for offline study · 3 November 2026

Camera and image picker

Key points

  • The Photo Picker lets users choose images without giving your app storage permission.
  • ActivityResultContracts.TakePicture captures a photo into a Uri you provide.
  • Camera access needs the CAMERA permission requested at runtime.

Location and Google Maps

Key points

  • The Fused Location Provider gives the device location while balancing accuracy and battery.
  • Location needs runtime permission: approximate (coarse) or precise (fine).
  • The Maps SDK shows a map, and markers and the camera are set from code.

Background work with WorkManager

Key points

  • WorkManager runs deferrable work that must finish even if the app closes.
  • Constraints such as network or charging decide when a worker may run.
  • Work can run once or periodically, and workers can be chained.

Material Design 3 theming

Key points

  • Material 3 builds a theme from colour roles, typography and shapes.
  • Dynamic colour takes the colour scheme from the user's wallpaper on Android 12+.
  • Define light and dark colour schemes so the app follows the system setting.