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...
Bought separately
$68.00
Minimum price
$35.99
$59.55
About the Bundle
About the Books
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:
Every project introduces new Android concepts while reinforcing best practices used in professional apps.
This book is perfect for:
After finishing this book you'll be able to:
Instead of small code snippets, this book focuses on complete applications.
Every chapter includes:
Project: PhoneCheckup
Understand how Android communicates with device hardware and build an application that inspects every sensor available on a device.
Project: DriveSafe
Learn Accelerometer and Gyroscope APIs by detecting movement, acceleration, and driving behavior.
Chapter 3 — Position SensorsProject: ProCompass
Build a fully functional digital compass using the Magnetometer and Orientation sensors.
Project: SleepComfort
Measure ambient light, pressure, and temperature to improve user comfort.
Chapter 5 — Proximity SensorProject: SmartEtiquette
Automatically react when the phone is placed near the user's face or pocket.
Project: WalkMate
Create a modern pedometer application that counts daily steps and visualizes activity.
Chapter 7 — GPS & GeofencingProject: ParkPin
Build a smart parking assistant with location tracking and geofence notifications.
Project: DocPocket
Create a document scanner using CameraX with modern image capture APIs.
Chapter 9 — MicrophoneProject: BabySentry
Monitor environmental sounds and detect important audio events.
Project: AppLock
Protect applications using fingerprint and biometric authentication.
Chapter 11 — Health SensorsProject: MorningVitals
Integrate health-related data to build wellness applications.
Project: FallGuard
Combine multiple sensors to detect falls and complex device movements.
Chapter 13 — Data VisualizationProject: MyDay
Transform raw sensor streams into meaningful dashboards and charts.
Chapter 14 — Foldable SensorsProject: FlexMode
Adapt applications for foldable Android devices and posture changes.
Project: SensorBench
Learn how to test sensor applications, benchmark performance, and ensure reliability across devices.
✔ 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
To get the most from this book you should have:
No prior experience with Android sensors is required.
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
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.
Android development doesn’t stop at Kotlin.
Some of the most powerful capabilities in mobile apps—high-performance processing, real-time audio, computer vision, secure native logic, game engines, and on-device AI—are built with native code.
Mastering Android NDK is a practical, project-based guide designed to help Android developers unlock the full power of the Android Native Development Kit (NDK) using C++, JNI, and modern native tooling.
Starting from the fundamentals, you’ll learn how Kotlin and C++ work together through JNI, how data flows between managed and native layers, and how memory management works under the hood. Then you’ll progressively move into advanced real-world applications.
Inside this book, you will learn how to:
• Build and integrate native C++ libraries into Android apps
• Master JNI data types, arrays, objects, and type conversion
• Handle callbacks, multithreading, and concurrency safely
• Debug native crashes and integrate external native libraries
• Apply security techniques to protect secrets and sensitive business logic
• Build real-time audio processing pipelines
• Use OpenCV for computer vision tasks
• Process and manipulate video efficiently
• Create the core systems of a 2D game engine
• Run on-device machine learning models
• Build a complete production-ready secure media vault app
This is not a theory-heavy book.
Every chapter focuses on practical implementation, real-world architecture, and production-ready techniques you can directly apply in your Android apps.
Whether you want to improve app performance, strengthen security, build multimedia applications, or explore advanced native capabilities, this book will give you the skills to confidently work with Android’s native layer.
By the end of this book, you won’t just understand the NDK—you’ll know how to use it to build powerful real-world Android applications.
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
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
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
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.