Posts

Showing posts from May, 2023

Android Architecture & Activity Lifecycle

Image
  Hello Developers, before starting the Android development let's first understand Android architecture & activity lifecycle.  Android Architecture: Android architecture is categorized into mainly 5 parts: Linux Kernel Native Libraries Android Runtime Application Framework Application Linux Kernel  is the heart of Android architecture. It is responsible for device drivers, power management, device management & resource access. On top of the Linux kernel, there are Native Libraries such as OpenGL, SQLite, SSL, Media, etc. SQLite library is for databases, Free Type for font support, and Media for playing audio and video. Core libraries and DVM (Dalvik Virtual Machine) reside in Android Runtime. DVM is like JVM but it is optimized for mobile devices. It consumes less memory and provides fast performance. On top of Android Runtime & Native Libraries, there is Android Framework. It includes Android APIs like Content Provider, Window Manager, Activity Manager, etc. At the top