android fundamentals & figures of 2012
DESCRIPTION
Basics of Android Framework, Mobile Ecosystem and Market share of 2012TRANSCRIPT
![Page 1: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/1.jpg)
02-09-2012http://www.iwillstudy.com/group/android
Session #1
![Page 2: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/2.jpg)
Mobile Ecosystem
Users
Service Provider
OEMDevelopers
![Page 3: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/3.jpg)
Mobile Operating Systems
Android Symbian iOS Blackberry OS Samsung Bada Windows Mobile Windows Phone 7
![Page 4: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/4.jpg)
What says the market share?
2012
![Page 5: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/5.jpg)
![Page 6: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/6.jpg)
![Page 7: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/7.jpg)
Smartphone Sales
Gartner: World-Wide Smartphone Sales (Thousands
of Units)
![Page 8: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/8.jpg)
World-Wide Smartphone Sales
Gartner: World-Wide Smartphone Sales (% of Smartphones / % of All phones)
![Page 9: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/9.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/10.jpg)
Open Handset Alliance (OHA)
![Page 11: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/11.jpg)
Open Handset Alliance (OHA)
![Page 12: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/12.jpg)
Open Handset Alliance (OHA)
![Page 13: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/13.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/14.jpg)
Google Services
Gmail Maps Docs Latitude Calendar Google Talk
![Page 15: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/15.jpg)
Market Place
Market?
Revenue?
Free Apps?
Review
Systems
?
![Page 16: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/16.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/17.jpg)
Introduction to Android Platform
Android is an open software platform for mobile development.
![Page 18: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/18.jpg)
Android Architecture
![Page 19: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/19.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/20.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/21.jpg)
Android Run Time
![Page 22: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/22.jpg)
Android Run Time
![Page 23: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/23.jpg)
Application Framework
![Page 24: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/24.jpg)
Application Framework
![Page 25: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/25.jpg)
Application Framework
![Page 26: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/26.jpg)
Application Framework
![Page 27: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/27.jpg)
Application Framework
![Page 28: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/28.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/29.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/30.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/31.jpg)
![Page 32: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/32.jpg)
Actual Representation
Component Lifecycles
![Page 33: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/33.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/34.jpg)
An Activity Diagram
Activity One
Activity Two
Intent
![Page 35: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/35.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/36.jpg)
Component Services
Media PlayerActivity
ServiceBackground runningfor playback
Binder
Notification
Communication
Pause/rewind/stop/restart
![Page 37: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/37.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/38.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/39.jpg)
Let’s make our First AVD Android Virtual
Device
![Page 40: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/40.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/41.jpg)
Installations&
Configuration
![Page 42: Android Fundamentals & Figures of 2012](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/42.jpg)
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](https://reader034.vdocuments.us/reader034/viewer/2022042814/55560322d8b42a8a5f8b55c6/html5/thumbnails/43.jpg)
SESSION 1 OVER
Download the PPT from:http://www.iwillstudy.com/group/android