The Android architecture

Many a time, Android is referred to as Java on Linux. As a developer or security researcher, it is very important to understand the architecture behind any platform. Android's architecture is based on the Linux 2.x and 3.x kernels and acts as the hardware abstraction layer.

It consists of:

  • Key applications
  • An operating system (which is the abstraction between the software and hardware components)
  • Middleware
  • The runtime environment
  • Different services
  • Native and custom libraries

It can be represented as five different layers, as shown in the following architecture diagram:

The Android architecture

All the components are tuned and integrated to provide the ...

Get Mobile Application Penetration Testing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.