Android Workshop Presentation
-
Upload
iwillstudycom -
Category
Technology
-
view
1.048 -
download
1
Transcript of Android Workshop Presentation
http://www.iwillstudy.com/group/android
Mobile Operating Systems
Android
Symbian
iOS
Blackberry OS
Samsung Bada
Windows Mobile
Windows Phone 7
Market Share – Mobile OS
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
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
Open Handset Alliance (OHA)
Open Handset Alliance (OHA)
Open Handset Alliance (OHA)
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 APIsDevelopers
• Free
• Open Standards (Design/Hardware)OEMs
• Suits Business Model
• Huge Market Space
Service Providers
Winners – End Users/Developers
Developers
OEMs
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, processmanagement, a security model, andnetworking, 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 dataContent Provider
Application Building Blocks
Application Building Blocks
An activity is a single, focused thing that the user
can do.
Activity Lifecycle
Actual Representation
Actual Representation
Application Building Blocks
They are nothing Else but messages.
We need to intent if we need to start any
Activity , Service or Broadcast Messages.
An Activity Diagram
Activity One Activity TwoIntent
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.
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
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
Check Page 18
Let’s make our First AVD
Android Virtual Device
Send SMS Program
Let’s learn few
Terms first
Terms To know
• Pending INTENT
• Broadcast Receivers
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