android fundamentals & figures of 2012

43
02-09- 2012 http://www.iwillstudy.com/ group/android Session #1

Upload: iwillstudycom

Post on 15-May-2015

503 views

Category:

Education


4 download

DESCRIPTION

Basics of Android Framework, Mobile Ecosystem and Market share of 2012

TRANSCRIPT

Page 1: Android Fundamentals & Figures of 2012

02-09-2012http://www.iwillstudy.com/group/android

Session #1

Page 2: Android Fundamentals & Figures of 2012

Mobile Ecosystem

Users

Service Provider

OEMDevelopers

Page 3: Android Fundamentals & Figures of 2012

Mobile Operating Systems

Android Symbian iOS Blackberry OS Samsung Bada Windows Mobile Windows Phone 7

Page 4: Android Fundamentals & Figures of 2012

What says the market share?

2012

Page 5: Android Fundamentals & Figures of 2012
Page 6: Android Fundamentals & Figures of 2012
Page 7: Android Fundamentals & Figures of 2012

Smartphone Sales

Gartner: World-Wide Smartphone Sales (Thousands

of Units)

Page 8: Android Fundamentals & Figures of 2012

World-Wide Smartphone Sales

Gartner: World-Wide Smartphone Sales (% of Smartphones / % of All phones)

Page 9: Android Fundamentals & Figures of 2012

Android History

Founded in 2003. Acquired by Google in August 2005 OHA was firmed in November 2007. Since October 2008 Android has been

available under a Free Space Software/Open Source License.

Page 10: Android Fundamentals & Figures of 2012

Open Handset Alliance (OHA)

Page 11: Android Fundamentals & Figures of 2012

Open Handset Alliance (OHA)

Page 12: Android Fundamentals & Figures of 2012

Open Handset Alliance (OHA)

Page 13: Android Fundamentals & Figures of 2012

Android Versions1.0

Sept 20081.1

Feb 2009

1.5 Cup CakeApril 2009

1.6Donut

Sept 2009

2.0/2.1Éclair

Oct 2009

2.2 Froyo

May 2002

2.3/2.3.3Gingerbread

Dec 2010

3.XHoneycomb

Feb 2011

4.0 Ice-Cream Sandwich Oct 2011

4.1 Jelly BeanJuly 2012

Distribution

API level  %

1.5 Cupcake 3 0.2%

1.6 Donut 4 0.5%

2.0, 2.1 Eclair 7 4.2%

2.2 Froyo 8 15.5%

2.3.x Gingerbread 9-10 60.6%

3.x.x Honeycomb 11-13 2.3%

4.0.x Ice Cream Sandwich

14-15 15.9%Usage share of the different versions, by August 2, 2012

Page 14: Android Fundamentals & Figures of 2012

Google Services

Gmail Maps Docs Latitude Calendar Google Talk

Page 15: Android Fundamentals & Figures of 2012

Market Place

Market?

Revenue?

Free Apps?

Review

Systems

?

Page 16: Android Fundamentals & Figures of 2012

Why Android is growing?

•Open Source•Free SDK•Easy To Use APIs

Developers

•Free•Open Standards (Design/Hardware)OEMs

•Suits Business Model•Huge Market Space

Service Providers

Page 17: Android Fundamentals & Figures of 2012

Introduction to Android Platform

Android is an open software platform for mobile development.

Page 18: Android Fundamentals & Figures of 2012

Android Architecture

Page 19: Android Fundamentals & Figures of 2012

Linux Kernel

The architecture is based on the Linux 2.6 kernel. Android use Linux kernel as its hardware abstraction layer.

It also provides memory management, process management, a security model, and networking, a lot of core operating system infrastructures that are robust and have been proven over time.

Page 20: Android Fundamentals & Figures of 2012

Native Libraries

The next level up is the native libraries. Everything that you see here in green is written in C and C++.

It's at this level where a lot of the core power of the Android platform comes from.

Page 21: Android Fundamentals & Figures of 2012

Android Run Time

Page 22: Android Fundamentals & Figures of 2012

Android Run Time

Page 23: Android Fundamentals & Figures of 2012

Application Framework

Page 24: Android Fundamentals & Figures of 2012

Application Framework

Page 25: Android Fundamentals & Figures of 2012

Application Framework

Page 26: Android Fundamentals & Figures of 2012

Application Framework

Page 27: Android Fundamentals & Figures of 2012

Application Framework

Page 28: Android Fundamentals & Figures of 2012

Applications

And the final layer on top is Applications. This is where all the applications get written. It includes the home application, the contacts

application, the browser, and your apps. And everything at this layer is, again, using the

same app framework provided by the layers below.

Page 29: Android Fundamentals & Figures of 2012

Now, if you're going to write an app, the first step is to decompose it into the components that are supported by the Android platform.

•UI component typically corresponding to one screen.

Activity

•Responds to notification or status changes. Can wake up your process.

Intent Receiver

•Faceless task that runs in the background.

Service

•Enable applications to share data

Content Provider

Application Building Blocks

Page 30: Android Fundamentals & Figures of 2012

Application Building Blocks

An activity is a single, focused thing that the user can do.

Activity LifecycleActual Representation

Activity

Page 31: Android Fundamentals & Figures of 2012
Page 32: Android Fundamentals & Figures of 2012

Actual Representation

Component Lifecycles

Page 33: Android Fundamentals & Figures of 2012

Application Building Blocks

They are nothing Else but messages.

We need to intent if we need to start any Activity , Service or Broadcast Messages.

Intent

Page 34: Android Fundamentals & Figures of 2012

An Activity Diagram

Activity One

Activity Two

Intent

Page 35: Android Fundamentals & Figures of 2012

Application Building Blocks

A service run in the background. User for long running task. A good example is a music player. A Service is not a separate process

and A Service is not a thread.

Service

Page 36: Android Fundamentals & Figures of 2012

Component Services

Media PlayerActivity

ServiceBackground runningfor playback

Binder

Notification

Communication

Pause/rewind/stop/restart

Page 37: Android Fundamentals & Figures of 2012

Application Building Blocks

Content providers store and retrieve data and make it accessible to all applications.

 This is only way to share data across applications.

Examples of Content Provider – Contacts, SMS, Calendar, User Define etc.. And NOT email

Content Provider

Page 38: Android Fundamentals & Figures of 2012

Components - Content Providers

Activity

ApplicationActivity

Application

Activity

Content Provider

Service

Application

Data SQLite XMLRemote

Store

Content Resolver Content Resolver

Content Resolver

Page 39: Android Fundamentals & Figures of 2012

Let’s make our First AVD Android Virtual

Device

Page 40: Android Fundamentals & Figures of 2012

IDE + Hello World + Program Structure

Lets jump into programming now !!

Learning Android is as simple as biting an Apple!

Page 41: Android Fundamentals & Figures of 2012

Installations&

Configuration

Page 42: Android Fundamentals & Figures of 2012

Installation Resources

At Least 2GB of Ram minimum. Install Java Run Time. Copy Android SDK directories into your

system Install Android SDK manager Get Eclipse Add ADT plug-in to Eclipse Get Android SDK directory on eclipse

Page 43: Android Fundamentals & Figures of 2012

SESSION 1 OVER

Download the PPT from:http://www.iwillstudy.com/group/android