Android App Development Certification Trainin ...
- 57k Enrolled Learners
- Live Class
In our previous Android Tutorials, we have discussed quite a few concepts of Android development. However, while browsing through the articles, I discovered that we have not had a proper discussion about Android Architecture.
Because it is one of the most elementary concepts of Android development, I decided to back up a little, and take a quick walk through the Android Architecture.
If you wish to strengthen your basic concepts of Android and expand your career opportunities in the same, taking up an online Android Certification training is one of the best ways to do so.
The Android stack, as the folks over at Google call it, has a number of layers, and each layer groups together several programs. In this tutorial I’ll walk you through the various layers in Android stack and the functions they are responsible for.
Following are the different layers in the Android stack:
At the bottom of the Android stack is the Linux Kernel. It never really interacts with the users and developers, but is at the heart of the whole system. Its importance stems from the fact that it provides the following functions in the Android system:
With the evolution of Android, the Linux kernels it runs on have evolved too.
The Android system uses a binder framework for its Inter-Process Communication (IPC) mechanism. The binder framework was originally developed as OpenBinder and was used for IPC in BeOS.
The next layer in the Android architecture includes Android’s native libraries. Libraries carry a set of instructions to guide the device in handling different types of data. For instance, the playback and recording of various audio and video formats is guided by the Media Framework Library.
Surface Manager: composing windows on the screen
Located on the same level as the libraries layer, the Android runtime layer includes a set of core Java libraries as well. Android application programmers build their apps using the Java programming language. It also includes the Dalvik Virtual Machine.
Dalvik is open-source software. Dan Bornstein, who named it after the fishing village of Dalvík in Eyjafjörður, Iceland, where some of his ancestors lived, originally wrote Dalvic VM. It is the software responsible for running apps on Android devices.
Operates on DEX files.
Our applications directly interact with these blocks of the Android architecture. These programs manage the basic functions of phone like resource management, voice call management etc.
Important blocks of Application Framework:
Resource Manager: Manage the various types of resources we use in our Application
The applications are at the topmost layer of the Android stack. An average user of the Android device would mostly interact with this layer (for basic functions, such as making phone calls, accessing the Web browser etc.). The layers further down are accessed mostly by developers, programmers and the likes.
Several standard applications come installed with every device, such as:
We hope you are clear with the basic Android architecture now! If not, please feel free to ask our experts! Stay tuned for more advanced tutorials of Android.