android fundamentals & figures of 2012

Post on 15-May-2015

503 Views

Category:

Education

4 Downloads

Preview:

Click to see full reader

DESCRIPTION

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

TRANSCRIPT

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

Session #1

Mobile Ecosystem

Users

Service Provider

OEMDevelopers

Mobile Operating Systems

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

What says the market share?

2012

Smartphone Sales

Gartner: World-Wide Smartphone Sales (Thousands

of Units)

World-Wide Smartphone Sales

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

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.

Open Handset Alliance (OHA)

Open Handset Alliance (OHA)

Open Handset Alliance (OHA)

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

Google Services

Gmail Maps Docs Latitude Calendar Google Talk

Market Place

Market?

Revenue?

Free Apps?

Review

Systems

?

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

Introduction to Android Platform

Android is an open software platform for mobile development.

Android Architecture

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.

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.

Android Run Time

Android Run Time

Application Framework

Application Framework

Application Framework

Application Framework

Application Framework

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.

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

Application Building Blocks

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

Activity LifecycleActual Representation

Activity

Actual Representation

Component Lifecycles

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

An Activity Diagram

Activity One

Activity Two

Intent

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

Component Services

Media PlayerActivity

ServiceBackground runningfor playback

Binder

Notification

Communication

Pause/rewind/stop/restart

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

Components - Content Providers

Activity

ApplicationActivity

Application

Activity

Content Provider

Service

Application

Data SQLite XMLRemote

Store

Content Resolver Content Resolver

Content Resolver

Let’s make our First AVD Android Virtual

Device

IDE + Hello World + Program Structure

Lets jump into programming now !!

Learning Android is as simple as biting an Apple!

Installations&

Configuration

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

SESSION 1 OVER

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

top related