Thursday, 13 December 2012

Linux kernal for Android

Android is a world famous Super Hero in mobile world.Android consist of linux kernel that is well known to all.Even though am adding some information regarding to android kernel.android has kernel based on linux kernel from version 2.6 to linux kernel 3.X.its API and libraries are written in c.The figure shows the android Architecture which explains its operation and linux kernel
































Linux kernel
                        core services including hardware drivers,process,memory management,network,power management,security are handled by linux kernel 2.6.The kernel also provide Abstraction layer between hardware and the remainder of stack. i,e hides the implementation details of assenbler,filmware,,etc

Libraries
                 On the top of kernel, Android include various c&c++ core  libraries such as libc,SSL,OpenGL,SGL
  •   A media library for playback of audio and video
  •   Graphics library that include OpenGL and SGL for 2D,3D.
  •   SSL and webkit for integrated web browser and internet security 
  •   Surface manager to provide display management
  •   SQLite for native database support
Android runtime
  • Core libraries
                Android development is done in java.but dalvik virtual machine is not java VM.
           The core android libraries provide most of the functionality in core java as well as
           android specific libraries
  • Dalvik virtual Machine
                              Dalvik is a register based virtual machine,optimized for device
         that can run multiple instances effectively.It relies on the Linux kernel for
         threading and low-level memory management

Application Famework
                                       Application framework provide classes used to create android application.it also provide generic abstraction for hardware access,user interface and application resources.

Application Layer
                               All application including third party are built on application layer using  same API libraries.The application layer runs within the android run time using the classes and services made available from the application framework.

I Hope this helped you about understanding the android software stack :):)

1 comment: