Android ppt

Preview:

DESCRIPTION

 

Citation preview

Presented by:Pooja Garg

I.T-III rd year0905613076

Introduction to Android

Open software platform for mobile development

A complete stack – OS, Middleware, Applications

An Open Handset Alliance (OHA) project

Powered by Linux operating systemFast application development in JavaOpen source under the Apache 2

license

What is the Open Handset Alliance (OHA)?

→ It's a consortium of several companies

Sagar

Smart phone market

VersionsName Version

Cupcake 1.5

Donut 1.6

Eclair 2.1

Froyo 2.2

Gingerbread 2.3

Honeycomb 3.0

Icecream 2.4

Android Features

• Application Framework• Dalvik virtual machine• Integrated browser based on the open source

WebKit engine• 2D and 3D graphics APIs with HW• Sqlite (Structured data storage)• Media Support (common audio,video and image format)• Bluetooth, EDGE, 3G, and WiFi• Camera, GPS, compass, and accelerometer• Rich Development Environment

Android Architecture

Android applications are compiled to Dalvik bytecode

Write app in Java

Compiled in Java

Transformed to Dalvik bytecode

Linux OS

Loaded into Dalvik VM

Application building blocks

Activity IntentReceiverServiceContentProvider

DEVELOPMENT TOOL

Android Emulator -A virtual mobile device that runs on our computer -use to design, debug, and test our applications in an actual Android run-time environment

Android Development Tools Plugin -for the Eclipse IDE – adds powerful extensions to the Eclipse integrated environment

Dalvik Debug Monitor Service (DDMS) -Integrated with Dalvik-this tool let us manage processes on an emulator and assists in debugging

Life cycle of application

04/08/2023

1. A foreground process

2. A visible process 3. A service process 4. A background

process 5. An empty process

APPLICATION

Application Development Steps

Download and Install the Android SDK and Test the Emulator.

Installing JDK and JRE(1.5 or above) Install Eclipse. Install ADT plugin for Eclipse

Creating HelloWorld Application

Application development contd.,

New > Project… Select Android project in wizard menu

Application development contd.,

Main Activity>>

Main.xml>>

AndroidManifest.xml>>

Application development contd.,

>>Running Your First Application

Output in the emulator

Porting Applications to Mobile

Resource files are bundled to .apk file archive

Bundled by aapt toolOne .apk file archive is a Single

application

FINDINGS

Android uses proven technology like Java, XML andLinux

There is an initial learning effort Android doesn‘t have many of the

limitations of current mobile platforms It offers a rich API for application

development Android is still in beta Android development is fun

Questions ?

http://developer.android.com

Thank you