Download - Android Workshop Presentation
![Page 2: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/2.jpg)
Mobile Operating Systems
Android
Symbian
iOS
Blackberry OS
Samsung Bada
Windows Mobile
Windows Phone 7
![Page 3: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/3.jpg)
Market Share – Mobile OS
![Page 4: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/4.jpg)
Statistics: OEM
Lost half its market in one quarter
• Sold 24 – 27 million smartphones in Q2
• Owns 24% Market Share
Sales will be down in Q2 by 18.7 million
• Sold 18.7 million iPhones in Q1
• Roughly holds 18% Market Share
Will grow by 51% unit sales in 3 months
• Sold 12.6 million smartphones in Q1
• 4th largest smartphone maker
![Page 5: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/5.jpg)
Statistics : OEM
Market Share down by 13%
• Q2 Sales 13.3 Million units
• Q1 Sales 14.5 Million units
13% Growth from Quarter 1
• Holds 11% Market Share
• 11.0 million smartphones sold
Sony Ericsson sold 4.9 Million Smartphones Q1
• LG sold 4.7 Million
• Motorola sold 4.1 Million
![Page 6: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/6.jpg)
Open Handset Alliance (OHA)
![Page 7: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/7.jpg)
Open Handset Alliance (OHA)
![Page 8: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/8.jpg)
Open Handset Alliance (OHA)
![Page 9: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/9.jpg)
Google Services
Gmail
Maps
Docs
Latitude
Calendar
Google Talk
![Page 10: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/10.jpg)
Market Place
Market? Revenue?Free
Apps?Review
Systems?
![Page 11: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/11.jpg)
Why Android is growing?
• Open Source
• Free SDK
• Easy To Use APIsDevelopers
• Free
• Open Standards (Design/Hardware)OEMs
• Suits Business Model
• Huge Market Space
Service Providers
![Page 12: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/12.jpg)
Winners – End Users/Developers
Developers
OEMs
Service Providers
![Page 13: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/13.jpg)
Introduction to Android Platform
Android is an open software platform for mobile
development.
![Page 14: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/14.jpg)
Android Architecture
![Page 15: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/15.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, processmanagement, a security model, andnetworking, a lot of core operating system
infrastructures that are robust and have been proven
over time.
![Page 16: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/16.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 17: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/17.jpg)
Android Run Time
![Page 18: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/18.jpg)
Android Run Time
![Page 19: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/19.jpg)
Application Framework
![Page 20: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/20.jpg)
Application Framework
![Page 21: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/21.jpg)
Application Framework
![Page 22: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/22.jpg)
Application Framework
![Page 23: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/23.jpg)
Application Framework
![Page 24: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/24.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 25: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/25.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 dataContent Provider
Application Building Blocks
![Page 26: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/26.jpg)
Application Building Blocks
An activity is a single, focused thing that the user
can do.
Activity Lifecycle
Actual Representation
![Page 27: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/27.jpg)
![Page 28: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/28.jpg)
Actual Representation
![Page 29: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/29.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.
![Page 30: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/30.jpg)
An Activity Diagram
Activity One Activity TwoIntent
![Page 31: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/31.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.
![Page 32: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/32.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
![Page 33: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/33.jpg)
IDE + Hello World + Program
Structure
Lets jump into programming now !!
Learning Android is as simple as biting an Apple!
![Page 34: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/34.jpg)
Installations
&
Configuration
![Page 35: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/35.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
Check Page 18
![Page 36: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/36.jpg)
Let’s make our First AVD
Android Virtual Device
![Page 37: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/37.jpg)
Send SMS Program
Let’s learn few
Terms first
![Page 38: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/38.jpg)
Terms To know
• Pending INTENT
• Broadcast Receivers
![Page 39: Android Workshop Presentation](https://reader034.vdocuments.us/reader034/viewer/2022052315/55560339d8b42a8a5f8b55d3/html5/thumbnails/39.jpg)
Thanks for coming
You can get your doubts solved at:
Android Study Group: http://www.iwillstudy.com/group/android
Write to us:
Like us on Facebook:
http://www.facebook.com/iwillstudy
Visit our office
F-05, AdityaRaj Arcade,
Opp. Hetvee towers,
100 Ft. Anandnagar Road,
Ahmedabad 380 051