android basics

31
Prepared By: Krushnakant A. Solanki

Upload: krushnakant-solanki

Post on 06-May-2015

2.010 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Android Basics

Prepared By:

Krushnakant A. Solanki

Page 2: Android Basics

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

Page 3: Android Basics

3

INTRODUCTIONTO

ANDROID

Page 4: Android Basics

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

Page 5: Android Basics

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

Page 6: Android Basics

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

Page 7: Android Basics

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

Page 8: Android Basics

INTRODUCTIONTO

THE PLATFORM : ANDROID

8

Page 9: Android Basics

ANDROID ARCHITECTURE

9

Page 10: Android Basics

Linux Version 2.6

Security, Memory & Process Management

Hardware Abstraction Layer

Efficient computing resource management

Stable and proven OS for mobile platform10

Page 11: Android Basics

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

Page 12: Android Basics

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

Page 13: Android Basics

13

Applications

Page 14: Android Basics

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

Page 15: Android Basics

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. 

Page 16: Android Basics

16

Life Cycle of an Android Application

Page 17: Android Basics

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.

Page 18: Android Basics

SCREEN SHOTS

18

Page 19: Android Basics

SCREEN SHOTS

19

Page 20: Android Basics

SCREEN SHOTS

20

Co

lleg

e O

f En

gin

ee

ring

Ch

en

ga

nn

ur

Page 21: Android Basics

FIRST APPLICATION

21

Page 22: Android Basics

FIRST APPLICATION

22

Page 23: Android Basics

FIRST APPLICATION

23

Co

lleg

e O

f En

gin

ee

ring

Ch

en

ga

nn

ur

Page 24: Android Basics

FIRST APPLICATION

24

Page 25: Android Basics

FIRST APPLICATION

25

Page 26: Android Basics

FIRST APPLICATION

26

Page 27: Android Basics

FIRST APPLICATION .

27

Page 28: Android Basics

STATISTICS OF 2010

28

Page 29: Android Basics

GROWTH OF ANDROID

29

Page 30: Android Basics

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

Page 31: Android Basics

THANK YOU

?