24
ANDROID Presented By Mastan Vali.SK

ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

Embed Size (px)

Citation preview

Page 1: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

ANDROID Presented By

Mastan Vali.SK

Page 2: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

© artesis 2008 | 2

1. Introduction

2. Platform

3. Software development

4. Advantages

Main topics

Page 3: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

© artesis 2008 | 3

What is Android?

• A software platform and operating system for mobile devices

• Mobile Application Development

• Based on the Linux kernel

• Developed by Google and later the Open Handset Alliance (OHA)

• Android platform was announced on 5 November 2007 Introduced by ANDY RUBIN

Page 4: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

What is the Open Handset Alliance

• Devoted to advancing open standards for mobile devices

• Develop technologies that will significantly lower the cost of developing and distributing mobile devices and services

• OHA is complete set of software for mobile devices

Page 5: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

© artesis 2008 | 5

It's a consortium of several companies from OHA

Page 6: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

© artesis 2008 | 6

Platform

•Hardware•Operating System•Network Connectivity•Security

Page 7: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

Hardware  

Android is not a single piece of hardware; it's a complete, end-to-end software platform that can be adapted to work on any number of hardware configurations. Everything is there, from the boot loader all the way up to the applications.

Page 8: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

Linux Kernel• Device drivers• Memory management• Process management• Networking

Operating System

Page 9: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

• C/C++ libraries• Interface through Java• 2D and 3D graphics• SQLite, Browser engine

Libraries

Page 10: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

• Dalvik VM– Dex files

– Compact and efficient than class files

– Limited memory and battery power

• Core Libraries– Java 5 Standard edition

– Collections, I/O etc…

Android Runtime

Page 11: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

Android applications are compiled to Dalvik byte code

Write app in JavaWrite app in JavaCompiled in JavaCompiled in Java

Transformed to Dalvik byte codeTransformed to Dalvik byte code

Linux OS Linux OS

Loaded into Dalvik VMLoaded into Dalvik VM

Page 12: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics
Page 13: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

Network Connectivity 

It supports wireless communications using:

GSM mobile-phone technology

3G

802.11 Wi-Fi networks

Security 

• Android is a multi-process system, in which each application (and parts of the system) runs in its own process. •Process permissions are enforced at user and group IDs assigned to processes

Page 14: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

Security 

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

•Process permissions are enforced at user and group IDs assigned to processes

Page 15: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

• API interface• Activity manager – manages application

life cycle.

Application Frame work

Page 16: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

Typically correspond to one UI screenBut, they can:

•Be faceless•Be in a floating window•Return a value

Activities

Content Providers

•Enables sharing of data across applications-E.g. address book, photo gallery

•Provides uniform APIs for:-querying-delete, update and insert.

Page 17: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

Location Manager

Page 18: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

NotificationManager

Page 19: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

View System

Page 20: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

Development requirements 

• Java

• Android SDK

• Eclipse IDE (optional)  

SoftwareDovelopment

Page 21: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

© artesis 2008 | 21

The Android Emulator Implementation of the Android virtual machine Test and debug your android applications.

DalvikDebug Monitoring Service (DDMS) Monitor and Control the Dalvikvirtual machinesLocate(see logged msgs)

Android Debug Bridge (ADB) Manage the state of an emulator instance or Android-powered device Copy files, install compiled application packages, and run shell commands.

Tools

Page 22: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

Trace viewGraphical analysis tool for viewing the trace logs from your Android application Debug your application and profile its performance

MkSDCardCreates an SDCarddisk image

Contd

Page 23: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

© artesis 2008 | 23

Advantages   

• The ability for anyone to customize the Google Android platform

• Features like

• weather details,

• opening screen,

• Live RSS(Really Simple Syndication) feeds and

• Android keeps information visible your home screen

• Android is a better application market

• Android lets you change your settings faster

Page 24: ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics

Thank You