Tutorial to Developed Android Applications Using Eclipse Part 2
Object Oriented Principle was used in developing Android. We can reuse the object of the elements that make up the operating system. Understanding the Android OS architecture with its elements, this will help us to create a good application.
In general the android architecture divide into 4 layer elements. As you can see on image below, it’s shown the scheme elements of the Android architecture.
Layer Applications and Widgets
On this layer application and widget the application is running. Such as, Email, SMS, Calendar, Browser, Maps, Contacts and others. Java language is used to create these applications. Applications that we create will be on this layer.
Layer Applications Framework
Application Framework is where the components is used by application developers to develop their applications. Here’s an example of the components that go into the Applications Framework:
- Content Provider
- Resource Manager
- Notification Manager
- Activity Manager
Libraries, in this layer we can find the features of Android. When the applications running its need to access these libraries. There are two of libraries, one is the libraries that play the media like video and audio, and display libraries, this library is to run the display, such as graphics libraries, libraries SQLite for supporting the data base and many other libraries.
This is the layer where the android application can run. Android RunTime is divided into 2 parts:
- Core Libraries: translate the language functions to Java and C.
- Dalvik Virtual Machine: Virtual machine serves as a registers that assigned a functions to optimize the Android to be more efficient when running application.
The Linux kernel of the Android operating system is located on this layer. Its contents the system files that manage the task processing system, memory, resource, drivers and functions of Android other systems. Here we can see a similarity file system on Android and Linux-based operating system. Monolithic kernel based here. In the linux version its used version 2.6, version 3.x, and on Android its used version 4.0 and above.
So this is an overview of the architecture of Android. What is the purpose of the object reuse constituent elements of the operating system? This means the components contained in the Android app can be use when needed. Especially with the first and the second layer. For example, If we want to create our own browser. What we need is a class function WebKit browser to shows the web page.
Hopefully this little effort from us can be useful and able to provide additional knowledge for the readers.
Have your learn Android application development before?