+ All Categories
Home > Technology > Android General information

Android General information

Date post: 12-May-2015
Category:
Upload: prashant-gosai
View: 618 times
Download: 1 times
Share this document with a friend
Popular Tags:
19
Created By. Jainik B Patel 112332 Prashant A Goswami 112344 Gujarat Vidyapith Computer Department Ahmedabad
Transcript
Page 1: Android General information

Created By.Jainik B Patel 112332Prashant A Goswami 112344

Gujarat VidyapithComputer Department

Ahmedabad

Page 2: Android General information

What is Android?

• A software platform and operating system for mobile devices.

• Based on the Linux kernel.

• Founded in 10/2003 in Palo Alto, California.

• Developed by the Andy Rubin, Rich Miner, Nick Sears and Chris White.

• Bought by Google in 8/2005.

• Allows writing managed code in the Java language.

• Android platform was announced on 5 November 2007 with the founding of OHA

• The First Android Powered Phone  was sold in October 2008.

• Goal: “smarter mobile devices that are more aware of it’s owner’s location and preferences.”

Introduction

Page 3: Android General information

Open Handset Alliance (OHA)

Page 4: Android General information

Features

Android supports wireless communication using:-

Android is a multi-process system, in which each application (and parts of the system) runs in its own process.

3G Networks 4G Networks 802.11 Wi-Fi Networks Bluetooth Connectivity

Page 5: Android General information

Features

Interface that is better then the previous touch screen mobiles.

User gets millions of applications that user can not get in any other mobile operating system.

Android supports advanced audio/video/still media formats such as MPEG-4, H.264, MP3, and AAC, AMR, JPEG, PNG, GIF.

Developing an android application is not tough using SDK(standard development kit) and java emulator we can easily develop applications that we want.

Page 6: Android General information

Versions

Page 7: Android General information

7

Architecture

Page 8: Android General information

Linux Kernel• Note that Android based on a Linux kernel not a

Linux OS

• Supplies Security, Memory management, Process management, Network stack and Driver model

• Acts as an abstraction layer between the hardware and the rest of the software stack

Page 9: Android General information

Libraries• Run in system background

• Using C/C++ Language• 4 types of Libraries

– Bionic Libc, system C libraries– Function Libraries, supporting multimedia, web

browser, SQLite...– Native Servers– Hardware Abstraction Libraries

Page 10: Android General information

Core Libraries• System C library, the standard C system library, tuned for

embedded Linux-based devices• Media Libraries, support playback and recording of many popular

audio and video formats, as well as image files, including MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG

• Surface Manager, manages access to the display subsystem and seamlessly composites 2D and 3D graphic layers from multiple applications

• WebKit, a modern web browser engine which powers both the Android browser and an embeddable web view

• SGL, the underlying 2D graphics engine• 3D libraries, an implementation based on OpenGL ES 1.0 APIs• FreeType , bitmap and vector font rendering• SQLite , a powerful and lightweight relational database engine

Page 11: Android General information

Android Runtime• The core of Android platform

• Dalvik Virtual Machine– Register-based– Executes files in the Dalvik

Executable (.dex) format

• Java core Libraries– Provides most of the functionality of the Java

programming language.

Page 12: Android General information

Android Runtime (cont.)• The functions of Java core libraries rely on the

Dalvik VM and the underlying Linux kernel

• Multiple Dalvik VMs may run at the same time

• Every Android application runs in its own process, with its own instance of the Dalvik virtual machine– The "dx" tool in Android SDK can transform

compiled JAVA class into the .dex format

Page 13: Android General information

Dalvik Virtual Machine• Android custom implementation virtual machine

– Provides application portability and runtime consistency– Runs optimized file format (.dex) and Dalvik bytecode– Java .class / .jar files converted to .dex at build time.‾ Every application (.apk) gets a unique Linux user ID and group ID‾ Apps run with their unique user ID‾ Each running app gets its own dedicated process and a dedicated

Dalvik VM‾ Each app has its own storage location in /data/data/<app>, only

accessible by the unique user ID and group ID

• Designed for embedded environment– Highly CPU-optimized bytecode interpreter– Efficiently Using runtime memory

• Core Libraries– Core APIs for Java language provide a powerful, yet simple and

familiar development platform

Page 14: Android General information

Application Framework• Simplify the reuse of components

– Applications can publish their capabilities and any other application may then make use of those capabilities

• Applications is a set of services and systems, include – Views system, content providers, resources manager and

so on

Page 15: Android General information

Application Framework (cont.)• Activity Manager, manages the lifecycle of applications

and provides a common navigation backstack• Notification Manager, enables all applications to display

custom alerts in the status bar• Resource Manager, providing access to non-code

resources such as localized strings, graphics, and layout files

• Content Providers, access data from other applications (such as Contacts), or to share their own data

• Views, used to build an application, including lists, grids, text boxes, buttons, and even an embeddable web browser

Page 16: Android General information

Applications• A set of core applications shipped with Android

platform– an email client, SMS program, calendar, maps, browser,

contacts, and others

• All written in Java• Our applications are in the same level as these

applications

Page 17: Android General information

3.1 Development requirements 

• Java

• Android SDK

• Eclipse IDE (optional)  

Software development

Page 18: Android General information

Useful Materials

18

Page 19: Android General information

Questions? 

Q & A


Recommended