introduction to android

29
GEETANJALI INSTIUTE OF TECHNICAL STUDIES ANDROID

Upload: nitinmehra2205

Post on 17-May-2015

1.862 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Introduction to Android

GEETANJALI INSTIUTE OF TECHNICAL STUDIES

ANDROID

Page 2: Introduction to Android

What is ANDROID ???

Mobile Application Development (MAD)Intro to Android platformPlatform ArchitectureApplication Building BlocksDevelopment ToolsHello Android

Page 3: Introduction to Android

Few reasons to go MAD…•Smart PhonesInternet access anywhere

Social networking•Millions of mobile users•Open Standards

Page 4: Introduction to Android

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

Page 5: Introduction to Android
Page 6: Introduction to Android

Linux Kernel

• Works as a HAL• Device Drivers• Memory Management• Process Management• Networking

Page 7: Introduction to Android

Libraries• C/C++ libraries• Interface through Java• Surface Manager – Handling UI

Windows• 2D and 3D graphics• Media codes, SQLite, Browser

engine

Page 8: Introduction to Android

Android Runtime• Dalvik Virtual Machine

Dex files Compact and

efficient than class files

Limited memory and battery power

• Core Libraries Java 5 Std edition Collections, I/O

etc…

Page 9: Introduction to Android

Application Framework

• API interface• Activity Manager –

manages application life cycle.

Page 10: Introduction to Android

Applications

• Built in and user apps• Can replace built in apps

Page 11: Introduction to Android

Application Building Blocks

•Activity•Intent Receiver•Service•Content Providers

Page 12: Introduction to Android

Activities

•Typically correspond to one UI screen•But, they can:•Be faceless•Be in a floating window•Return a value

Page 13: Introduction to Android

Intent Receivers

•Components that respond to broadcast ‘Intents’•Way to respond to external notification or alarms•Apps can invent and broadcast their own Intent

Page 14: Introduction to Android

Intents

•Think of Intents as a verb and object; a description of what you want doneE.g. VIEW, CALL, PLAY etc..

•System matches Intent with Activity that can best provide the service•Activities and Intent Receivers describe what Intents they can service

Page 15: Introduction to Android

Services

Faceless components that run in the backgroundE.g. music player, network download etc…

Page 16: Introduction to Android

Content Providers

•Enables sharing of data across applicationsE.g. address book, photo gallery

•Provides uniform APIs for:queryingdelete, update and insert.

•Content is represented by URI and MIME type

Page 17: Introduction to Android

Development Tools

Eclipse

Android SDK 1.0-2.0developer.android.com

Page 18: Introduction to Android

Network Connectivity 

It supports wireless communications using:

GSM mobile-phone technology

3G

Edge

802.11 Wi-Fi networks

Page 19: Introduction to Android

Devices

Page 20: Introduction to Android

Application Lifecycle

•Application run in their own processes (VM, PID)•Processes are started and stopped as needed to run an application's components•Processes may be killed to reclaim resources

Page 21: Introduction to Android

Views

Page 22: Introduction to Android

Views

Page 23: Introduction to Android

Notification Manager

Page 24: Introduction to Android

What is the Open Handset Alliance (OHA)???

• Devoted to advancing open standards for mobile devices

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

Page 25: Introduction to Android
Page 26: Introduction to Android

Limitations Bluetooth limitationso Android doesn't support:

Bluetooth stereo Contacts exchange Modem pairing Wireless keyboards

 Firefox Mobile isn't coming to Android o Apps in Android Market need to be

programmed with a custom form of Java Mozilla and the Fennec won't have that

 

Page 27: Introduction to Android

THANX…

N

QUERIES ???

Page 28: Introduction to Android

GET SMARTER GET

ANDROID…

Page 29: Introduction to Android

NITIN MEHRA

PRESENTED BY:-