Android Architecture defines how Android works inside a device means it illustrate the relationship between the user input and hardware output. Architecture of Android have 4 layers which are further categories into 5 sections namely Linux kernel, Native Libraries (middleware), Android Runtime, Application Framework and Applications.
1. Linux Kernel: – It is present in the bottom layer, which is also known as the heart of Android Architecture. It manages the drivers, networking and other functionalities. Even Android Runtime depend on Linux Kernel for these core system service. It core part is made in C language.
2. Native Libraries: – It is set of libraries including open-source Web browser engine (WebKit), library (libc, SQLite database that are useful for storage and sharing of application data). These can be in C/C++ Some of the Java Android libraries available to the Android developer is as follows:
android.app , android.view , android.util
3. Android Runtime:- Itis collection of two parts that is Core Libraries (java based) and Dalvik Virtual Machine(DVM). Both are responsible to run android application. DVM is a virtual machine for mobiles which generate .dex that is dex code or Dalvik byte code.
4. Application Framework:- This layer provide higher level services in the form of java classes(Content provider, View System , Notification Manager etc.) to application. Android developer uses these services in their application. Therefore, we can say that it offers a great ability to develop application, manages user Interface and application resources.
5. Applications: –It is at the topmost layer of Android Architecture. This layer consists of components to which users interact. For example, if you are performing an operation on calculator than your application is that Calculator or if you are watching the day , date and event in the calendar then at that time your application is that calendar app.
So, this was all about Android Architecture. In the next post we will cover the topic”Components of Android Architecture.” For any query feel free to comment.