android basics

Post on 06-May-2015

2.010 Views

Category:

Education

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Prepared By:

Krushnakant A. Solanki

2

OVERVIEW

Introduction To Android

Introduction To The Platform

Android Architecture

Applications

Development Tools

Anatomy Of An Android Application

Android Building Blocks

Life Cycle Of An Android

Conclusion

3

INTRODUCTIONTO

ANDROID

WHAT IS ANDROID?

o Android is a software platform and A complete & modern embedded operating system for mobile devices.

o It is based on the Linux kernel.

o Developed by Android Inc, Google and later the Open Handset Alliance

o Allows writing managed code in the Java language

o A world-class software stack for building applications

o An open platform for developers, users & industry

4

Why Android Was Created? Full phone software stack including applications

Designed as a platform for software development

Android is open

Android is free

Complete

Community support

100% Java Phone

It is primarily used to power Mobile Phones

5

HISTORY

July 2005

Google acquired Android Inc. 5 Nov 2007

Open HandSet Alliance formed-

Google, HTC, Intel, Motorola, Qualcomm,T-Mobile Android is the OHA first product 12 Nov 2007

OHA released a preview of the Android OHA

6

ANDROID VERSIONS

Number of updates since its original release;

1. 1.0 Release 12. 1.5 Cupcake3. 1.6 Donut4. 2.0/2.1 Eclair5. 2.2.x Froyo6. 2.3.x Gingerbread7. 3.x Honeycomb8. 4.0 Ice Cream Sandwich9. 4.1 Jelly Bean

7

INTRODUCTIONTO

THE PLATFORM : ANDROID

8

ANDROID ARCHITECTURE

9

Linux Version 2.6

Security, Memory & Process Management

Hardware Abstraction Layer

Efficient computing resource management

Stable and proven OS for mobile platform10

Includes a set of core libraries that provides most of the functionality-JAVA

Optimized for low memory requirements Every Android application runs in its own process

Dalvik VM executes files in the (.dex) format Device can run multiple VMs efficiently

11

Android Runtime

Parts of this toolkit are provided by Google, and

parts are extensions or services that you write.

Manages the life cycle of applications and a common “back-stack” for user navigation

12

13

Applications

14

Development ToolsThe Android SDK includes a variety of custom tools that help you develop mobile applications on the Android platform.Three of the most significant tools are:

1.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

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

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

15

Anatomy of an Android Application

There are four building blocks for an Android application:

Activity -a single screen

Service -code that is long-lived and runs without a UI.

Content Provider - manages a shared set of application data

Broadcast Receiver-receive and respond to any broadcast announcements. 

16

Life Cycle of an Android Application

17

Android Building BlocksThese are the most important parts of the Android APIs:

AndroidManifest.xml -the control file-tells the system what to do with the top-level components Android Layout xml - The files for design different layouts and UI.

SCREEN SHOTS

18

SCREEN SHOTS

19

SCREEN SHOTS

20

Co

lleg

e O

f En

gin

ee

ring

Ch

en

ga

nn

ur

FIRST APPLICATION

21

FIRST APPLICATION

22

FIRST APPLICATION

23

Co

lleg

e O

f En

gin

ee

ring

Ch

en

ga

nn

ur

FIRST APPLICATION

24

FIRST APPLICATION

25

FIRST APPLICATION

26

FIRST APPLICATION .

27

STATISTICS OF 2010

28

GROWTH OF ANDROID

29

CONCLUSION

Participating in many of the successful open source projects

Aims to be as easy to build for as the web.

Google Android is stepping into the next level of Mobile Internet

30

THANK YOU

?

top related