An Overview of The Android Architecture
An Overview of The Android Architecture
Architecture
1
An Overview of the Android Architecture
❏ An open source and Linux-based Operating System for mobile devices such
as smartphones and tablet computers.
❏ Developed by the Open Handset Alliance, led by Google, and other
companies.
2
An Overview of the Android Architecture
3
An Overview of the Android Architecture
4
The Android Software Stack
5
The Android Software Stack
6
The Linux Kernel
7
Android Runtime – ART
8
Android Runtime – ART
9
Android Libraries
10
Android Libraries
❏ Some key core Android libraries available to the Android developer are:
❏ android.app – Provides access to the application model and is the
cornerstone of all Android applications.
❏ android.content – Facilitates content access, publishing and messaging
between applications and application components.
❏ android.database – Used to access data published by content providers
and includes SQLite database management classes.
❏ android.graphics – A low-level 2D graphics drawing API including
colors, points, filters, rectangles and canvases.
11
Android Libraries
❏ android.hardware – Presents an API providing access to hardware such as
the accelerometer and light sensor.
❏ android.opengl – A Java interface to the OpenGL ES 3D graphics rendering
API.
❏ android.os – Provides applications with access to standard operating system
services including messages, system services and inter-process
communication.
❏ android.media – Provides classes to enable playback of audio and video.
❏ android.net – A set of APIs providing access to the network stack. Includes
android.net.wifi, which provides access to the device’s wireless stack.
12
Android Libraries
13
Android Libraries
14
C/C++ Libraries
15
C/C++ Libraries
❏ SQLite database management
❏ Audio and video playback
❏ Bitmap and vector font rendering
❏ Display subsystem and graphic layer management and an
implementation of the standard C system library (libc).
❏ Access these libraries solely through the Java based Android core library
APIs.
❏ Direct access to these libraries: Android Native Development Kit (NDK)
❏ Call the native methods of non-Java or Kotlin programming languages
(such as C and C++) from within Java code using the Java Native
Interface (JNI).
16
Application Framework
17
Application Framework
18
Application Framework
19
Applications
❏ Located at the top of the Android software stack are the applications.
❏ These comprise both:
❏ Native applications provided with the particular Android implementation
(for example web browser and email applications).
❏ Third party applications installed by the user after purchasing the device.
20
Thank You
21