Inside the Android OS: Building, Customizing, Managing and Operating Android System Services : 9780134096346

Inside the Android OS: Building, Customizing, Managing and Operating Android System Services

Published by
Pearson Higher Ed USA
Available once published
Title type
Inside the Android OS is the first comprehensive guide and reference for developers who want to customise and integrate Android into their own embedded devices. Replete with code examples, it encourages you to create your own working code versions as you read -- whether for your own personal insight or for a workplace project in the fast-growing marketplace for non-phone Android devices.

G. Blake Meike responds to the real-world needs of embedded and IoT developers moving to Android, providing indispensable information without becoming obscure or too specialised. Meike teaches through a book-length project that covers everything developers need to know to create their own custom Android service. You’ll find approachable yet precise coverage of:

  • Why Android is becoming a pervasive embedded platform
  • Using Android’s four-tier architectural model in embedded devices
  • Setting up a build platform, downloading the AOSP source, and building an Android image
  • Walking through system startup on a running Android system
  • Running native services on embedded systems
  • Using Android’s Native Development Kit (NDK) and HAL to link interpreted Java with native C/C++ code
  • Taking a deep dive into the seminal Zygote application and its Dalvik interpreter
  • Quickly building Java system services
  • Working with Binder, Android’s heart and the root of its security and access control models
  • Establishing permissions and access control
  • Enabling apps to use the services you’ve created
Table of contents
  • 1. Customizing Android
  • 2. Building AOSP
  • 3. System Startup
  • 4. Running a Native Service
  • 5. Getting to Java
  • 6. Android Startup
  • 7. Building a Java System Service
  • 8. Binder and IPC
  • 9. Permissions and Access Control
  • 10. Letting Apps use Your Service
  • 11. Putting a Bow on It