SuriDevs Logo

Tutorials — Page 4

Page 4 of 5 — browse earlier tutorials on Android development, Kotlin, Jetpack Compose, and Flutter.

Foreground Service → WorkManager: 70% Less Battery
Android WorkManager Technical Deep Dive Background Services

Foreground Service → WorkManager: 70% Less Battery

We migrated our auto app backup feature from a 24/7 foreground service to WorkManager periodic workers, significantly improving battery life while maintaining reliable backups. This post shares our journey adapting to Android's increasingly strict background execution policies.

Dynamic App Links in Android 15: Finally, Server-Side Deep Link Control
Android App Links Deep Linking Android 15

Dynamic App Links in Android 15: Finally, Server-Side Deep Link Control

Android 15 introduces Dynamic App Links - configure deep linking from your server instead of shipping app updates. No more waiting weeks to fix a broken link.

Android Backup Strategies: Implementing Contacts, SMS, and App Data Backup
Android Backup ContentResolver Kotlin

Android Backup Strategies: Implementing Contacts, SMS, and App Data Backup

Building a backup feature sounds straightforward until you hit Android's permission maze. Here's how I implemented backup for contacts, SMS, call logs, and calendar events.

CameraX Feature Groups: HDR + 60 FPS Compatibility
Android CameraX Camera API

CameraX Feature Groups: HDR + 60 FPS Compatibility

CameraX 1.5's Feature Group API lets you check if camera feature combinations work before enabling them. No more crashing when you try to combine HDR with 60 FPS on unsupported devices.

ConstraintLayout: When to Use It and When to Keep Things Simple
Android ConstraintLayout UI Design

ConstraintLayout: When to Use It and When to Keep Things Simple

ConstraintLayout is powerful, but it's not always the right choice. Here's how it actually works under the hood, when it makes sense to use it, and when simpler layouts are better.

R8 optimizedResourceShrinking: Reduce Android APK Size by 50%
Android Performance Gradle

R8 optimizedResourceShrinking: Reduce Android APK Size by 50%

I tested AGP 8.12's optimized resource shrinking on a real project — APK went from 25 MB to 13 MB. Here's how to set it up and what to watch out for.