Android Architecture: Key Components

In this article, the reader can read the Key Components of Android architecture are as follows :

  1. Linux Kernel
  2. Libraries
  3. Android Runtime
  4. Application Framework
  5. Applications 

f:id:cbitssexp:20190702180855j:plain

Android Architecture

Read also - 6 Reasons to Learn Android Development

Linux Kernel:  Android runs on Linux 2.6. It provides core functionality of security, network stack,  process management, memory management and driver model. It also acts as an abstraction layer between software and hardware stacks.

 

Library: Android contains a C / C ++ library used by components of the Android system. These libraries are exposed by the application framework.

  • System C library - BSD-derived implementation of the standard C system library (libc) for Linux platform devices.
  • Media Libraries - This is based on PacketVideo's "OpenCORE". These libraries still support image files with playback and recording of many popular audio and video formats, as well as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
  • Surface Manager - manages access to the display subsystem and basically connects 2D and 3D graphics layers from many applications.
  • LibWebCore - The latest web browser engine that enhances both Android browser and embedded web view
  • SGL - the underlying 2D graphics engine
  • 3D Library - An implementation library based on the OpenGL ES 1.0 API uses either Hardware 3D Acceleration (if available) or highly optimized 3D software rasterizer.
  • FreeType - bitmap and vector font rendering
  • SQLite - powerful, lightweight relational database engine accessible for all applications

Android Runtime:  This is a list of core libraries that provide most of the functionality available in the Java programming language core library.

The Android application runs in its own process using an instance of its own Dalvik Virtual Machine (DVM). Dalvik can run multiple VMs efficiently. DVM executes files in .Dalvik executable format (.dex)

It is optimized for minimal memory usage. The virtual machine is register based and runs the classes compiled by a Java based compiler into .dex format with the dx tool provided together.

dalvik VM relies on the Linux kernel for basic functions such as thread and memory management.

Application Framework: On Android, you can develop applications that contain rich content by proving all core libraries through the application framework. This feature gives developers access to the device hardware, location, alarm settings, and many other features because of this ability.

At the root of the framework are several services.

  • Views
  • Content Providers
  • Resource manager
  • Notification manager
  • Activation manager

Applications: On the android framework there is an application. All applications such as home, contacts, settings, games, browsers etc. use android framework which uses android runtime and library. The Android runtime and native libraries use the Linux kernel.

If you want to learn android course and know about more then Android training in Chandigarh is the best option for you.