Android ppt

Post on 03-Nov-2014

42 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

power point presentation on android

Transcript

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 system Fast application development in Java Open 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

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

REAL TIME APPLICATION

A translater for Android If you are in a country where no one

understands your language You cannot read anything No aditional device needed You have your mobile phone always with you Uses the google translator Can be extended with new languages Uses XMPP for data transmission GUI fully defined in XML

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 tool One .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

Thank you

top related