Kamis, 23 Mei 2013

arsitekture android


In the android operating system package consists of several elements as shown below. Simply put android architecture is a Linux kernel and a set of libraries C / C + + within a framework that provides workflow and manage the application process. [Google IO, Android Anatomy and Physiology].

Linux kernel
Android is built on Linux kernel 2.6. But overall android is not linux, because in android there is no standard package owned by other linux. Linux is an open
operating system that is reliable in memory
and process management. Therefore there are only a few on the android services that are needed such as security, memory management, process management, and network drivers. Linux kernel provides the display driver, camera, keypad, WiFi, Flash Memory, Audio, and IPC (Interprocess Communication) to manage applications and security holes.

Libraries
Android uses a library package contained in the C/C++ with the standard Berkeley Software Distribution (BSD) is only half of the original for theem bedded Linux kernel. Some libraries are:
Media Library for playing and recording a variety of audio and video formats.
Surface Manager to set permissions layer of various applications.
  • Graphic Library including SG Land Open GL for 2D and 3D
  • SQLitedatabasetomanagerelationshipsused inthe application.
  • SSL and Web Kit for browser and internet security.
  • Libraries are not running their own applications, but can only be used by the program at the level it. Since the version of Android 1.5, developers can create and use their own libraries using the Native Development Tool kit(NDK).

Android Runtime
On android embedded packet core libraries that provides most of the functionality of android. This is what distinguishes Android compared to other operating systems also implement Linux. Android Runtime is a virtual machine that makes android apps become more resilient to the existing literature package. Error In Android, there are 2 main sections, including:
The corelibrary, androiddeveloped throughthe Java programming language, butnot theAndroidRuntimefor Javavirtualmachines. Androidcorelibrariesprovidenearlyall ofthe functionscontained in theJava libraryandaspeciallibraryandroid.
Dalvik virtual machine, Dalvik is a virtual machine that was developed by Dan Bornstein is inspired from the name of a village located in Iceland. Dalvik is a virtual Machine interpreter that executes files in the Dalvik Executable(*. Dex With this format Dalvik will optimize the efficiency of storage and memory addresses in the executable file. Dalvik running on the Linux kernel 2.6, with basic functions such as threading and memory management are limited
Aplication framework

Application framework provides classes that can be used to develop android applications. Moreover, it also provides a generic abstraction for accessing devices, and set the display of the user interface and application resources. The most important part in the android application framework is as follows [Hello Android 2nd Edition]:
1. Activity Manager,
 serves to control the lifecycle of applications and maintain a state of "backstack" for navigational use.
2. Content Providers,
serves to summarize the data that may be used by other applications, such as the list of names.
3. Resuource Manager, to manage existing resources in the program. As well as providing access to resources outside the program code, such as characters, graphics, and layout files.
4. Location Manager, serves to provide detailed information regarding the location of android device is located.
5. Notification Manager, covering a variety of alerts such as incoming messages, appointments, and so forth that will be displayed on the status bar.

Application Layer
Peak of android architecture diagram is the application layer and widgets. The application layer is the layer that is most visible to the user when running the program. Users will only see the program when it is used without knowing the process behind the application layer. This layer runs on the Android runtime using the classes and service available in the application framework.
Android application layer is very different compared to other operating systems. On all android applications, both the core application (native) as well as third-party applications running on the application layer by using the library API (Application Programming Interface) is the same.

0 komentar:

Posting Komentar

Blogroll

Blogger news

Blogger templates