Android Architecture

Android System Architecture

Lets have a look at the below image, which represents the overall android architecture. This image will give you some basic idea about android OS design. Basically you will learn the overall control flow between different android layers. The below image gives us some idea how the entire android OS communicate through different layers.

Android-system-architecture

Android Layers

Basically android has the following layers:

  • applications (written in java, executed in Dalvik). All your custom applications will be available in this layer. This is the top most layer in android OS.
  • framework services and libraries (written mostly in java). Internally all of your custom application APIs will call this layer. So what ever API we call from the java layer, all of them will go through this layer.
  • Android Runtime. All applications and most of the framework code executes in a virtual machine. It means all the Java and framework  code will be converted into executable code in this layer. The Android virtual machine is also called Dalvik virtual machine.
  • Native libraries, daemons and services (written in C or C++). Native libraries are nothing but part of internal Android OS. These libraries are used when we called any API from the application layer. Basically when we call any API from Java layer or from the upper layer, then it calls the API from the native layer which is mostly written in  C/C++, SO we can say here the Java API is converted into C/C++ API.
  • The Linux kernel, this layer includes drivers for hardware, networking, file system access and inter-process-communication. This is the most complex layer in the Android OS. What ever we do on the upper layer, every thing will be passed through this layers, which will give us the final output.

For more details on Android system layout, partition table, partition size etc, you can read my article ‘Android File System Structure/Architecture/Layout Details’.

I hope this small tutorial will help you at it’s best. If you have queries kindly send it to us, we will try to reply asap.

 

Post By SmrutiRanjan (57 Posts)

Working @ Samsung as a Project Lead for Android Smartphones. I have been blogging since 2008. Previously I was writing articles for other bloggers, but finally I have started my own blog-"Techblogon".I am also an active contributor for the blog-"Gadgets n Gizmos World". Job is my necessity, but blogging is my passion.

Website: → Techblogon

Connect

7 Responses to Android Architecture

  1. shaik.subhani says:

    send me android online new projects website.

  2. Sandy says:

    Hi,
    This the nice tutorial i am following this.I want to learn Android technology but i am a beginner right now i dont have any doubts but in case i will feel to ask i will.
    Again many thanks for this wonderful tutorial.

    Regards
    Sandy

  3. Sarang says:

    Great tutorial. Thanks.

  4. ASIF says:

    hi
    thank you for this wonderful tutorial.it is very easy to learn.thank you so much.

  5. g says:

    is there anyway to get rid of that twitter bird? that is so super annoying that I’m not sure if I can finish reading the article.

Leave a Reply

Your email address will not be published. Required fields are marked *


2 + = five

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">