Android Tutorial #13: Content Providers and File System Access

Your app needs to pick a photo from the gallery. Or save a file that other apps can open. Or read contacts. All of these go through Android’s storage and content provider system. The way Android handles file access has changed significantly. Scoped storage, the photo picker, and MediaStore have replaced the old “read everything on the device” approach. In this tutorial, you will learn how to work with files, media, and content providers the modern way. ...

July 7, 2026 · 9 min

Android Tutorial #12: Foreground Services — Music Player, Location Tracking

Your music app needs to keep playing when the user switches to another app. Your fitness app needs to track location while the phone is in the user’s pocket. A download manager needs to stay alive until the file is complete. These are foreground services. They run long-running operations that the user is aware of, shown with a persistent notification. In this tutorial, you will learn how to build foreground services — service types, lifecycle, communication with the UI, and practical examples for music playback and location tracking. ...

July 7, 2026 · 10 min