Leanpub Header

Skip to main content

Jetpack Compose Ninja

Master modern mobile development with Jetpack Compose and Kotlin Multiplatform. Build real-world Android projects, work with powerful device APIs and sensors, and learn to share code and UI across Android and iOS with KMP—all through practical, production-focused examples.

Bought separately

$89.98

Minimum price

$49.99

$69.99

You pay

Author earns

$

Also available for 2 book credits with a Reader Membership

These books have a total suggested price of $89.98. Get them now for only $49.99!
About

About

About the Bundle

Master Modern Android & Kotlin Multiplatform Bundle

Take your mobile development skills beyond the basics with a practical bundle focused on modern Android development, Jetpack Compose, and Kotlin Multiplatform.

This bundle brings together two hands-on books designed to help Android developers build more advanced, production-ready applications.

📱 Master Android Sensors with Jetpack Compose Projects

Go beyond ordinary Android apps and learn how to interact with the powerful hardware inside modern devices.

Build 15 real-world projects while learning Jetpack Compose and working with accelerometers, gyroscopes, GPS, geofencing, CameraX, microphones, biometrics, health APIs, sensor fusion, foldables, and more.

You'll learn how to combine modern Android APIs with Kotlin, Coroutines, Flow, MVVM, Clean Architecture, testing, and performance optimization.

🌍 Master Kotlin Multiplatform

Learn how to build applications for Android and iOS from a shared Kotlin codebase.

Understand how Kotlin Multiplatform works in practice, how to structure shared and platform-specific code, share business logic and UI, handle platform APIs, and design maintainable cross-platform architectures.

Instead of simply learning KMP syntax, you'll learn how to think about real-world Kotlin Multiplatform development and make the right decisions about what should—and shouldn't—be shared.

What You'll Master
  • Jetpack Compose and modern Android development
  • Kotlin Multiplatform (KMP)
  • Shared Android & iOS development
  • Production-ready mobile architecture
  • Coroutines and Flow
  • Android sensors and hardware APIs
  • CameraX, GPS and geofencing
  • Biometrics and health APIs
  • Sensor Fusion
  • Clean Architecture and MVVM
  • Testing and performance
  • Building practical, real-world mobile applications

Whether you're an Android developer looking to deepen your expertise or you want to expand into cross-platform Android and iOS development, this bundle gives you a practical path from modern Android development to Kotlin Multiplatform.

Two books. Two platforms. One modern Kotlin development stack.

Share this bundle

Books

About the Books

Master Kotlin Multiplatform

Master Kotlin Multiplatform

Build Production-Ready Android and iOS Apps with Kotlin Multiplatform, Compose Multiplatform, Ktor, Coroutines, and Modern Architecture

Build Android and iOS apps without building everything twice.

Master Kotlin Multiplatform is a practical, hands-on guide to building production-ready Android and iOS applications with Kotlin Multiplatform (KMP) and Compose Multiplatform.

Instead of focusing only on basic demos, this book takes you through the architecture, tools, libraries, and real-world decisions involved in creating a complete multiplatform application.

You'll learn how to share business logic and UI while still taking advantage of the native capabilities of Android and iOS.

What You'll Learn
  • Build and structure a Kotlin Multiplatform project for Android and iOS
  • Create shared UI with Compose Multiplatform
  • Design scalable multiplatform app architecture
  • Build networking layers with Ktor
  • Use Coroutines, Flow, StateFlow, and SharedFlow across platforms
  • Store data locally with Room KMP
  • Implement dependency injection with Koin
  • Build repositories and offline-first applications
  • Master expect / actual and platform-specific abstractions
  • Work with native platform capabilities such as permissions, location, maps, and sensors
  • Integrate native Android and iOS UI when shared UI isn't enough
  • Implement logging, analytics, crash reporting, and error handling
  • Manage configuration, secrets, and feature flags
  • Test multiplatform code effectively
  • Optimize performance, memory usage, and application size
  • Set up CI/CD and release Android and iOS apps
  • Understand Kotlin ↔ Swift interoperability
  • Incrementally migrate an existing Android application to KMP
  • Choose libraries that are safe and practical for multiplatform projects
More Than Just "Hello World"

Kotlin Multiplatform becomes much more interesting when you move beyond a simple shared function.

How should you structure a real app? What belongs in commonMain? When should you use expect/actual? Should the UI be shared? How do you handle native APIs? What happens when you need maps, sensors, permissions, analytics, persistence, or platform-specific UI?

This book focuses on answering those questions.

By the end, you'll understand not only how Kotlin Multiplatform works, but how to make practical architectural decisions when using it in real applications.

Who Is This Book For?

This book is especially useful for:

  • Android developers moving into Kotlin Multiplatform
  • Kotlin developers who want to target Android and iOS
  • Mobile developers exploring Compose Multiplatform
  • Teams considering KMP for an existing Android application
  • Developers who already know KMP basics and want to build production-ready applications

If you already know Kotlin and Android development, you'll feel right at home.

One Kotlin codebase. Two platforms. Native capabilities when you need them.

Master Kotlin Multiplatform and start building Android and iOS applications with a modern, pragmatic approach to shared mobile development.

Master Android Sensors with Jetpack Compose  Projects

Master Android Sensors with Jetpack Compose Projects

Learn Android sensors through practical projects using modern Android development, Jetpack Compose, CameraX, Health APIs, and Sensor Fusion.

Modern Android development is no longer just about screens and buttons.

Today's smartphones include sophisticated hardware capable of detecting movement, location, light, sound, biometric authentication, health metrics, and much more.

Unfortunately, most tutorials only scratch the surface.

This book takes a completely different approach.

Instead of reading isolated examples, you'll build 15 practical Android applications, each designed around a different sensor or sensor family.

Throughout the journey you'll learn how to:

  • Work with Android sensor APIs
  • Build modern UIs using Jetpack Compose
  • Process real-time sensor data
  • Optimize battery consumption
  • Handle lifecycle correctly
  • Visualize sensor information
  • Test sensor-based applications
  • Apply Clean Architecture
  • Build production-quality features

Every project introduces new Android concepts while reinforcing best practices used in professional apps.

Who This Book Is For

This book is perfect for:

  • Android developers wanting to master hardware integration
  • Intermediate developers looking for real-world projects
  • Mobile engineers preparing for interviews
  • Students learning Android development
  • Developers transitioning to Jetpack Compose
  • Anyone interested in IoT and mobile sensing
  • Software engineers building fitness, navigation, health, or camera applications

What You'll Learn

After finishing this book you'll be able to:

  • Understand the Android Sensor Framework
  • Read sensor data efficiently
  • Handle accelerometer and gyroscope events
  • Build digital compass applications
  • Detect device orientation
  • Create pedometer apps
  • Work with GPS and geofencing
  • Build CameraX applications
  • Capture and analyze microphone input
  • Integrate biometric authentication
  • Use Android Health APIs
  • Combine multiple sensors using Sensor Fusion
  • Visualize sensor information with charts
  • Optimize battery usage
  • Test sensor-heavy applications
  • Benchmark sensor performance

What Makes This Book Different?

Instead of small code snippets, this book focuses on complete applications.

Every chapter includes:

  • Project architecture
  • Step-by-step implementation
  • Production-ready code
  • Best practices
  • Common mistakes
  • Performance optimization
  • Modern APIs
  • Clean Architecture
  • MVVM
  • Jetpack Compose
  • Testing strategy

Table of Contents

Part I — Android Sensor Fundamentals

Chapter 1 — The Android Sensor Ecosystem

Project: PhoneCheckup

Understand how Android communicates with device hardware and build an application that inspects every sensor available on a device.

Part II — Motion & Position

Chapter 2 — Motion Sensors

Project: DriveSafe

Learn Accelerometer and Gyroscope APIs by detecting movement, acceleration, and driving behavior.

Chapter 3 — Position Sensors

Project: ProCompass

Build a fully functional digital compass using the Magnetometer and Orientation sensors.

Part III — Environmental Awareness

Chapter 4 — Environmental Sensors

Project: SleepComfort

Measure ambient light, pressure, and temperature to improve user comfort.

Chapter 5 — Proximity Sensor

Project: SmartEtiquette

Automatically react when the phone is placed near the user's face or pocket.

Part IV — Activity Tracking

Chapter 6 — Step Counter

Project: WalkMate

Create a modern pedometer application that counts daily steps and visualizes activity.

Chapter 7 — GPS & Geofencing

Project: ParkPin

Build a smart parking assistant with location tracking and geofence notifications.

Part V — Camera & Audio

Chapter 8 — Camera & CameraX

Project: DocPocket

Create a document scanner using CameraX with modern image capture APIs.

Chapter 9 — Microphone

Project: BabySentry

Monitor environmental sounds and detect important audio events.

Part VI — Security & Health

Chapter 10 — Biometric Sensors

Project: AppLock

Protect applications using fingerprint and biometric authentication.

Chapter 11 — Health Sensors

Project: MorningVitals

Integrate health-related data to build wellness applications.

Part VII — Advanced Sensors

Chapter 12 — Sensor Fusion

Project: FallGuard

Combine multiple sensors to detect falls and complex device movements.

Chapter 13 — Data Visualization

Project: MyDay

Transform raw sensor streams into meaningful dashboards and charts.

Chapter 14 — Foldable Sensors

Project: FlexMode

Adapt applications for foldable Android devices and posture changes.

Part VIII — Production Ready

Chapter 15 — Testing & Benchmarking

Project: SensorBench

Learn how to test sensor applications, benchmark performance, and ensure reliability across devices.

Why Read This Book?

✔ Build 15 complete Android projects

✔ Learn modern Android development

✔ Master Kotlin

✔ Master Jetpack Compose

✔ Learn CameraX

✔ Work with GPS

✔ Build Health applications

✔ Learn Sensor Fusion

✔ Improve performance

✔ Production-ready architecture

✔ Real-world examples

✔ Beginner-friendly explanations

✔ Intermediate and advanced techniques

✔ Best practices from industry experience

Requirements

To get the most from this book you should have:

  • Basic Kotlin knowledge
  • Basic Android Studio experience
  • Familiarity with Android development fundamentals

No prior experience with Android sensors is required.

Technologies Covered

  • Kotlin
  • Jetpack Compose
  • Android Sensor Framework
  • CameraX
  • Google Maps
  • Location Services
  • Geofencing API
  • Biometric API
  • Android Health APIs
  • Material 3
  • Coroutines
  • Flow
  • ViewModel
  • Clean Architecture
  • MVVM
  • Dependency Injection
  • Unit Testing
  • Benchmarking

Included Projects

Project

What You'll Build

PhoneCheckup

Device sensor inspector

DriveSafe

Motion detection app

ProCompass

Digital compass

SleepComfort

Environmental monitor

SmartEtiquette

Proximity automation

WalkMate

Step tracker

ParkPin

GPS parking assistant

DocPocket

Document scanner

BabySentry

Audio monitoring app

AppLock

Biometric authentication

MorningVitals

Health dashboard

FallGuard

Fall detection system

MyDay

Sensor analytics dashboard

FlexMode

Foldable-aware application

SensorBench

Performance benchmarking tool

Frequently Asked Questions

Is this book beginner friendly?

Yes. The book starts with Android sensor fundamentals before progressing to advanced topics.

Does it use XML or Jetpack Compose?

All projects use Jetpack Compose and modern Android APIs.

Does it include complete projects?

Yes. Every chapter builds a complete real-world application.

Is Clean Architecture covered?

Absolutely. Projects follow modern architecture principles with maintainable, scalable code.

Do I need physical hardware?

Most projects can be tested on a real Android device. Some sensors may not be available on emulators.

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