Leanpub Header

Skip to main content

The Complete Guide to Android 17 Development

From Fundamentals to Production: Kotlin, Compose, Architecture, and Beyond

This book is 100% completeLast updated on 2026-07-13

Master Android 17 with a practical guide that takes you from Kotlin and Jetpack Compose fundamentals to building and publishing production-ready apps. Packed with clear explanations, real-world code examples, and modern best practices, this book helps you create high-quality Android applications with confidence.

Minimum price

$19.00

$29.00

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

PDF
EPUB
About

About

About the Book

Android 17 "Cinnamon Bun" (API level 37) represents the latest evolution of Google's mobile platform, bringing significant changes to app architecture, privacy, performance, and developer tooling. This comprehensive guide walks you through everything from setting up your development environment to publishing production-quality apps on the Play Store. Whether you are a beginner learning Android for the first time or an experienced developer adapting to the latest APIs and behavior changes, this book provides the knowledge, code examples, and best practices you need to build modern, high-quality Android applications. Every chapter includes practical code samples, architectural patterns, troubleshooting guidance, and exercises designed to solidify your understanding.

Share this book

Author

About the Author

Steve T. Publications

Steve T. Publications is a specialized book publishing company dedicated to delivering high-quality technical resources for IT professionals, students, educators, and technology enthusiasts. Our mission is to make complex technology concepts accessible through well-structured, practical, and industry-relevant publications.

We focus on publishing books across a wide range of information technology disciplines, including software development, cloud computing, cybersecurity, artificial intelligence, data science, networking, DevOps, databases, and enterprise technologies. Every publication is designed to bridge the gap between theory and real-world application, helping readers build the skills needed to succeed in today's rapidly evolving digital landscape.

At Steve T. Publications, we collaborate with experienced industry experts, educators, and technology professionals to produce accurate, up-to-date, and engaging content. We are committed to maintaining the highest editorial standards while empowering learners and professionals with trusted technical knowledge.

Whether you're beginning your IT journey, preparing for professional certifications, or advancing your expertise in emerging technologies, Steve T. Publications is your trusted source for authoritative and practical technical books.

Contents

Table of Contents

From Fundamentals to Production: Kotlin, Compose, Architecture, and Beyond

Introduction: Why Android 17 Matters

  1. Who This Book Is For
  2. What You Will Learn
  3. How to Use This Book
  4. Getting the Most Out of This Book

Chapter 1: The Android Platform — History, Architecture, and Where We Are Today

  1. From Android 1 to Android 17 — A Brief History
  2. The Android Platform Architecture: HAL, Kernel, Runtime, and Framework
  3. What Makes Android 17 Different: Key Themes and Design Philosophy
  4. The Android Open Source Project and the Release Cadence
  5. Device Fragmentation in 2026 and API Level Targeting
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 2: Setting Up Your Development Environment

  1. Installing Android Studio Ladybug/Next Generation
  2. Configuring the Android 17 SDK and System Images
  3. Emulator Setup: Hardware Acceleration, Virtual Devices, and Cloud Testing
  4. Physical Device Configuration: USB Debugging, ADB, and Fastboot
  5. Project Templates and Your First “Hello World”
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 3: Kotlin-First Development on Android

  1. Why Kotlin Won: History, Adoption, and Language Design
  2. Kotlin Fundamentals for Android: Types, Null Safety, and Extension Functions
  3. Coroutines and Structured Concurrency on Android
  4. Kotlin Flow for Reactive Data Streams
  5. Kotlin Multiplatform: Shared Business Logic
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 4: Modern App Architecture

  1. The Evolution of Android Architecture: MVC to MVVM to MVI
  2. ViewModel, Repository, and Use Case Patterns
  3. Dependency Injection: Hilt and Koin
  4. Navigation Component and Deep Linking
  5. Clean Architecture on Android 17
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 5: Jetpack Compose — Declarative UI for Android

  1. From XML Layouts to Compose: The Declarative Paradigm Shift
  2. Compose Fundamentals: Composables, State, and Recomposition
  3. Layouts, Modifiers, and Custom Components
  4. Navigation in Compose: Single-Activity Architecture
  5. Animations, Theming, and Material Design 3
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 6: Android Views and Compose Interoperability

  1. The View System: Layouts, Adapters, and RecyclerView
  2. Compose in Views: ComposeView and AndroidView
  3. Views in Compose: AndroidViewBridge
  4. Incremental Migration Strategies
  5. When to Use Views vs Compose
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 7: Lifecycle Management and Process Death

  1. Activity Lifecycle: Creation, Resumption, Pausing, and Destruction
  2. Service Lifecycles: Foreground, Background, and WorkManager
  3. Configuration Changes and SavedStateHandle
  4. Process Death and State Restoration
  5. Lifecycle-Aware Components and LifecycleOwner
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 8: Permissions, Security, and Privacy in Android 17

  1. The Permission Model: Normal, Dangerous, and Special Permissions
  2. Runtime Permissions and Scoped Storage
  3. Android 17 Privacy Enhancements: Photo Picker, Notification Permissions, and More
  4. Security Best Practices: Keystore, Encryption, and Network Security Config
  5. App Sandbox and Inter-Process Communication
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 9: Background Processing and Battery Optimization

  1. Background Execution Limits and Android 17 Restrictions
  2. WorkManager: Deferrable, Guaranteed Background Work
  3. Foreground Services and Foreground Service Types
  4. JobScheduler and AlarmManager for Scheduled Tasks
  5. Battery Optimization: Doze Mode, App Standby, and Power Profiles
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 10: Networking and Data Storage

  1. HTTP Client Libraries: Retrofit, Ktor, and OkHttp
  2. JSON Serialization: Kotlinx Serialization and Moshi
  3. Room Database: Entities, DAOs, and Migrations
  4. DataStore: Preferences and Proto-based Storage
  5. Caching Strategies and Offline-First Architecture
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 11: Media, Graphics, and Sensors

  1. CameraX and the Modern Camera API
  2. Audio Playback: ExoPlayer, Media3, and AudioFocus
  3. Video Recording and Processing
  4. Skia, Canvas, and Custom Drawing
  5. Sensor APIs: Accelerometer, Gyroscope, Location, and Geofencing
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 12: AI, On-Device ML, and Android 17 Intelligent Features

  1. TensorFlow Lite on Android: Model Loading and Inference
  2. MediaPipe Tasks: Vision, Audio, and NLP
  3. Neural Networks API (NNAPI) for Hardware Acceleration
  4. On-Device LLMs and Gemini SDK Integration
  5. Android 17 AI Features: Live Captions, Translation, and Smart Compose
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 13: Performance Optimization and Profiling

  1. Android Studio Profiler: CPU, Memory, and Network
  2. Frame Rendering and Jank Detection with Choreographer
  3. Memory Management: Leak Canary, Heap Analysis, and Bitmap Optimization
  4. Startup Time Optimization and Splash Screen API
  5. Benchmark Library and Macro/Micro Benchmarks
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 14: Accessibility and Internationalization

  1. Accessibility Fundamentals: Content Descriptions and Touch Targets
  2. TalkBack, Switch Access, and Screen Magnification
  3. Dynamic Type and Scalable UI
  4. Internationalization: Locale, Number Formatting, and Date/Time APIs
  5. Right-to-Left Layouts and Bidirectional Text
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 15: Testing on Android

  1. Unit Testing with JUnit 5 and MockK
  2. Compose Testing: Semantics, Actions, and Assertions
  3. Espresso and UI Automation
  4. Continuous Integration and Cloud Testing (Firebase Test Lab)
  5. Chapter Summary
  6. Exercises
  7. Interview Questions

Chapter 16: Debugging, Crashes, and Production Monitoring

  1. Android Studio Debugger: Breakpoints, Stepping, and Evaluate Expression
  2. Logcat Mastery: Filtering, Tags, and Remote Logging
  3. Crash Reporting: Firebase Crashlytics and ACRA
  4. ANR Analysis and Main Thread Violations
  5. Remote Configuration and Feature Flags
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 17: Publishing to the Play Store

  1. App Signing: Upload Keys, Play App Signing, and Bundletool
  2. Android App Bundles vs APKs
  3. Play Console: Store Listing, Screenshots, and Metadata
  4. Release Tracks: Internal, Alpha, Beta, and Production
  5. Play Store Policies, Rating Requirements, and Content Guidelines
  6. Chapter Summary
  7. Exercises
  8. Interview Questions

Chapter 18: Migration Strategies and Backward Compatibility

  1. API Level Targeting: minSdk, targetSdk, and compileSdk
  2. Deprecated APIs in Android 17 and Their Replacements
  3. Build Configuration: Flavors, Dimensions, and Dynamic Features
  4. Backward Compatibility Libraries: AndroidX and Jetpack
  5. Migration Case Studies: From Android 12 to Android 17
  6. Chapter Summary

Conclusion: Building for the Future

References

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub