Wednesday 24 May 2017

Android

Introduction of Android

Android is a rich application structure that allows you to responsive and interactive apps and games for mobile devices in a Java language environment. Android provides an Open Source and Linux-based operating system for mobile devices such as tablet computers and smartphones.It is developed by Google, and later the OHA (Open Handset Alliance).

The aim of the android project is to create a successful real-world product that develops the mobile experience for end users.

Why Android??

1) It is open source.
2) Anyone can customize the Android Platform.
3) It provides beautiful UI (User Interface).
4) SQLite, a lightweight relational database, is used for data storage purposes.
5) Android OS (Operating System) is Multitasking.
6) Higher success ratio.
7) It gives many interesting features like weather details, opening screen, live RSS (Really Simple Syndication) feeds etc.

Future of Android??

In the future, don’t be shocked if your car dashboard runs Android. This enables your car to run the same apps on your mobile phone. Android in a car enables you to make phone calls, play music, GPS navigation, traffic updates, car characteristic with parts replacement suggestions, parts price comparison, and service center nearest to you. The opportunities are endless. Your kitchen refrigerator could also have a potential of running Android for an instant recipe, phone calls, clock, appointment calendar, reminders, weather, and local traffic updates.

Android Application??

Android applications are normally developed in the Java language using the Android SDK (Software Development Kit).

There are mainly 4 components of Android Application:

Application components are the necessary building blocks of an Android application.
1) Activities
2) Services
3) Broadcastreceiver
4) Content Provider

1) Activities: They manage the UI (User Interface) and handle the user interaction or UX (User Experience) to the smartphone screen.
2) Services: They Handle background process.
3) Broadcast Receiver: They Handles communication or interaction between Android OS and application.
4) Content Provider: They handle the transfer of data between two applications.

Architecture of Android

android

1) Linux Kernel
2) Libraries
3) Android RunTime.
4) Android Framework
5) Android applications.

1) Linux Kernel: It is the heart of Android Architecture.It is the last layer of the  Android Architecture.This gives a level of idea between the device hardware and it contains all the essential hardware drivers like camera, keypad, display etc.


2) Android Run Time: This is the third layer of the architecture and available on the second layer from the bottom. This section gives a key component called Dalvik Virtual Machine which is a kind of Java Virtual Machine specially designed and optimized for Android.


DVM (Dalvik Virtual Machine)

flow.jpg


3) Application Framework: On the top of libraries and android runtime, there is an application framework.
Application framework includes Android API such as UI (User Interface), telephony, resources, locations, Content Providers (data) and package managers. It provides a lot of classes and interfaces for android application development.

4) Application: Android applications are normally developed in the Java language using the Android SDK (Software Development Kit).


The Dalvik Virtual Machine (DVM) 

Dalvik is a virtual machine where every android application runs. Dalvik VM. The dx tool takes all the class files of your application and generates a single .dex file. The Android Asset Packaging Tool (aapt) handles the packaging process.The Android Asset Packaging Tool (aapt) handles the packaging process.Multiple class files are converted into one dex file.
Dalvik Virtual Machine is an android virtual machine optimized for mobile devices.


0 comments:

Post a Comment