SlideShare a Scribd company logo
Android OS
Yummy Desserts!
•
•
•
•
•
•

Cupcake
Donuts
Éclair
Frozen Yoghurt (Froyo)
Gingerbread
Honeycomb
What do these have in common?
Smartphone OS
•
•
•
•
•
•
•

Symbian
Windows Mobile
RIM Blackberry OS
Apple iOS
Google Android
Palm WebOS
Windows Phone 7
Android OS
• Fastest growing mobile OS
• Over 300,000 Android activations a day
• Android overtook iOS as the dominant OS
in US during 2H 2010
• First phone launched HTC G1 in 2008
• Currently an OS of choice for Motorola,
HTC, Samsung, Sony Ericsson, among
others
• Software updates every few months
Android – what is it?
• software stack for mobile devices
– incl. OS, middleware and key applications

•
•
•
•
•
•
•
•
•
•

Open source – source code is open and contributions are welcome
application framework enabling reuse/replacement of apps
Dalvik virtual machine optimized for mobile
integrated browser based on webkit
Optimized graphics – 2D graphics library, 3D based on OPEN GL
ES
SQLite for data storage
Media support (MPEG4, H.264, MP3, AAC, JPG, PNG,…)
Support for radio interfaces, Bluetooth, WiFi, Camera, GPS,
accelerometer
Software Development Kit (SDK)
Preinstalled applications from Google (GMS)
– Gmail, Maps, Search, Voice Search, Youtube
Software Stack
• Linux kernel
• Libraries
• Android run time
– core libraries
– Dalvik virtual machine

• application layer
• application protocol
Android Architecture
Android
• Google Maps and other GMS applications
• Background services and applications
– allows multi tasking of applications

• Shared Data and interprocess communication
• All applications are equal
– does not discriminate between native and non-native
applications
– allows any applications to be enhanced/reused

• p2p interdevice application messaging
Dalvik VM
• All applications written in Java and converted to
the dalvik executable .dex
• Every android app runs its own process, with its
own instance of the dalvik virtual machine
• Not a traditional JVM, but a custom VM
designed to run multiple instances efficiently on
a single device
• VM uses linux kernel to handle low-level
functionality incl. security, threading, process
and memory management
Application Framework
• Rich, extensible set of Views
– apps can inclused lists, grids, text boxes, buttons,
web browser

• Content Providers
– allows data access from other applications or share
own data

• Resource Manager
– access to localized strings, graphics, layout files

• Notification Manager
– enables custom alerts to be displayed in status bar

• Activity Manager
– Manages lifecycle of applications and provides
navigation backstack
Application Fundamentals
•

Activities
– application presentation layer

•

Services
– invisible components, update data sources, visible activities, trigger notifications
– perform regular processing even when app is not active or invisible

•

Content Providers
– shareable data store

•

Intents
– message passing framework
– broadcase messages system wide, for an action to be performed

•

Broadcast receivers
– consume intent broadcasts
– lets app listen for intents matching a specific criteria like location

•

Notifications
– Toast notification
– Status Bar Notification
– Dialog notification
Applications
• All apps (native and 3rd party) are written using
the same APIs and run on the same run time
executable
• All apps have APIs for hardware access,
location-based services, support for background
services, map-based activities, 2D and 3D
graphics.
• App Widgets are miniature app views that can
be embedded in other apps like Home Screen
App Priority and Processes
Android apps do not have control over their own
life cycles
Aggressively manages resources to ensure device
responsiveness and kills process/apps when
needed
•
•
•
•
•

Active Process – critical priority
Visible Process – high priority
Started Service Process
Background Process – low priority
Empty process
Client apps
• Developed using the Android SDK and installed
on user devices
• Compiled Java code, with data and resource –
bundled by Android Asset Packaging tool
(AAPT) into Android package or .apk
• All applications have Android Manifest file in its
root directory
– provides essential information about app

• Could be installed directly on phone, but
necessary to be distributed thru Market
Web Apps
• An alternative to standalone apps
• Developed using web standards and
accessed through browser – nothing to
install on devices
• Mixing client and web apps is also
possible – Client apps can embed web
pages using “Webview” in Android app
SDK
• Android APIs, Full Documentation and Sample code
• Development tools
– Dalvik Debug Monitor Service (DDMS)
– Android Debug Bridge (ADB)
– Android Emulator

• Online support and blog
• Native Development Kit also available
– allows developers to implement parts of apps in native-code
languages like C/C++
– Plug in available to use Eclipse integrated development
environment

• Developer forums and developer phones from Google,
MOTO Dev studio from Motorola
Android Market
• Google Market - Part of GMS apps
• 3rd party apps submitted to Google, approved and distributed through
Market
• Both Free and Paid apps
• Apps now limited to 50 MB; updates possible through Market
• Monetization through ads available
• Available in many countries, not all countries have support for paid
apps
• Other Market place applications available – Amazon has announced
its own Android Market place
• App searches filtered based on Manifest file (eg. if a device does not
have trackball, apps using trackball will be filtered out)
• Every app publishes a list of components the app will access and
permissions need to be granted before installation
• Apps installed on device and SD card (SD Card from Froyo)
Search
• Core feature in android
• User should be able to search any data on
device or internet
• Usually one of the android buttons
• Search suggestions based on recent queries
• Provide custom search suggestions that match
actual results in application data
• system side Quick Search Box
• Voice Search available and enhanced in recent
releases
Locations & Maps
• Compelling and most popular apps for
mobile devices
• Google Maps provides free navigation
• applications allowed access to location
services supported by device
• Google provides Maps external library
– allows built-in downloading, rendering and
caching of Maps tiles, and other display
options and controls
Device Administration
• Froyo introduces support for enterprise
applications with Device Administraion API
• allows to create security-aware
applications to control employee devices
• Apps might include
– Email clients
– remote wipe
– device management services and apps
Android Software Updates
•
•
•
•
•
•

Android 1.0 – G1
1.5 – Cupcake
1.6 – Donuts (CDMA support)
2.0 – Éclair (Droid introduced with Éclair)
2.2 – Froyo
2.3 Gingerbread (SDK released 2 weeks ago and source
will follow soon)
• API Levels used by apps to identify software version on
the device
• Android apps are generally forward compatible with
newer version, but not necessarily backwards
compatible
Compatibility
• Why?
– Allow customizable devices
– Create Common eco system

• Android compatibility is free and easy
– Obtain Android source code
– Comply with Android Compatibility Definition (ACD) doc
• List requirements that need to be met for devices to be compatible
with a particular version on Android

– Pass the Compatibility Test Suite (CTS)
• Automated test harness running on desktop, manages test
exectuion
• Test cases written, packaged as .apk to run on actual device or
emulator

• Porting guide available for bringing up Android on
custom HW
Other possibilities
• Google TV - a new platform based on
Android
• Tablets – Samsung Galaxy tab introduced
in Oct 2010
• eBook reader – Latest Barnes and Noble
Nook is an Android tablet

More Related Content

PPTX
Basic android-ppt
PPT
Google android os
PPTX
Andriod ppt for colledge
PPT
android
PPT
Android Training - Part 2
PPT
Android
PPSX
Android
PPTX
Android
Basic android-ppt
Google android os
Andriod ppt for colledge
android
Android Training - Part 2
Android
Android
Android

What's hot (20)

PPTX
PPSX
Android Introduction
PPTX
Android Basic Concept
PPTX
Mobile computing
PPTX
Mobile applications development
PDF
Presentation build and connect apps, devices and data ibm worklight overview
PPTX
Android Security Humla Part 1
PPT
Android Training
PPTX
Android introduction
PPTX
Mobile that works for your library
PPTX
Mobile testing
PPTX
ANDROID- AN OPEN MOBILE SOFTWARE PLATFORM
PPTX
Introduction to Mobile Development
PDF
Designing Secure Mobile Apps
PDF
ACCESS_WP_Hiker_App_framework-web
PPTX
Performance testing – mobile apps session1
PPT
Adobe Flash and Device Central
PDF
How Android is different from other systems – An exploration of the design de...
PPTX
The Blackberry Experience
PPT
Flash for Blackberry, iPhone and Android
Android Introduction
Android Basic Concept
Mobile computing
Mobile applications development
Presentation build and connect apps, devices and data ibm worklight overview
Android Security Humla Part 1
Android Training
Android introduction
Mobile that works for your library
Mobile testing
ANDROID- AN OPEN MOBILE SOFTWARE PLATFORM
Introduction to Mobile Development
Designing Secure Mobile Apps
ACCESS_WP_Hiker_App_framework-web
Performance testing – mobile apps session1
Adobe Flash and Device Central
How Android is different from other systems – An exploration of the design de...
The Blackberry Experience
Flash for Blackberry, iPhone and Android
Ad

Viewers also liked (15)

PPTX
Android Revolution
PPT
Aiesec Info
PPTX
Stockhol urbino brussels
PPT
Steve jobs
PPT
PDF
PR Stammtisch, by-AMR
PDF
Initiatief Platform Rotterdam by-AMR
PDF
Initiatief Platform Rotterdam
PPTX
Best friend
PDF
Programmabegroting oegstgeest 2016-2019
PDF
Programmabegroting oegstgeest 2016-2019
PDF
Zimbraexchange
PDF
Stadsgewest Haaglanden, by-AMR
PPT
Chap1 chipset
Android Revolution
Aiesec Info
Stockhol urbino brussels
Steve jobs
PR Stammtisch, by-AMR
Initiatief Platform Rotterdam by-AMR
Initiatief Platform Rotterdam
Best friend
Programmabegroting oegstgeest 2016-2019
Programmabegroting oegstgeest 2016-2019
Zimbraexchange
Stadsgewest Haaglanden, by-AMR
Chap1 chipset
Ad

Similar to Google android os (20)

PPTX
Android Technology
PPTX
Android and android phones
PDF
Ch1 hello, android
PPTX
Android development
PPT
Android overview part2
PPTX
Android quick talk
PDF
Android By Vipin
PPTX
Android Presentation
PPTX
Android Development Workshop
PPTX
Unit-1.1 Getting Started with Android.pptx
PPTX
Introduction to android mobile app development.pptx
PPT
AndroidOverview
PPTX
Android a glimpse by kishan phadte(BCA, Third Year undergraduate at DM's Col...
PPTX
Android architecture
PPT
"double quotes"
PPT
Android overview
PPT
Android overview
PPT
Android overview
PPT
Android overview
PPT
From Deepa's client
Android Technology
Android and android phones
Ch1 hello, android
Android development
Android overview part2
Android quick talk
Android By Vipin
Android Presentation
Android Development Workshop
Unit-1.1 Getting Started with Android.pptx
Introduction to android mobile app development.pptx
AndroidOverview
Android a glimpse by kishan phadte(BCA, Third Year undergraduate at DM's Col...
Android architecture
"double quotes"
Android overview
Android overview
Android overview
Android overview
From Deepa's client

More from Faiq Ali Sayed (7)

PPT
Chap2 hdd2
PPT
Chap2 hdd1
PPT
Chap1 expan slots
DOC
Samsung r series r439 laptop
PPT
Famous personalities of it
PPT
Cache memory
PPT
Wi fi technology
Chap2 hdd2
Chap2 hdd1
Chap1 expan slots
Samsung r series r439 laptop
Famous personalities of it
Cache memory
Wi fi technology

Recently uploaded (20)

PDF
A comparative analysis of optical character recognition models for extracting...
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
Chapter 5: Probability Theory and Statistics
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Encapsulation theory and applications.pdf
PDF
WOOl fibre morphology and structure.pdf for textiles
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Getting Started with Data Integration: FME Form 101
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
Web App vs Mobile App What Should You Build First.pdf
A comparative analysis of optical character recognition models for extracting...
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Encapsulation_ Review paper, used for researhc scholars
Zenith AI: Advanced Artificial Intelligence
Chapter 5: Probability Theory and Statistics
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
A comparative study of natural language inference in Swahili using monolingua...
Encapsulation theory and applications.pdf
WOOl fibre morphology and structure.pdf for textiles
SOPHOS-XG Firewall Administrator PPT.pptx
Programs and apps: productivity, graphics, security and other tools
OMC Textile Division Presentation 2021.pptx
Group 1 Presentation -Planning and Decision Making .pptx
Getting Started with Data Integration: FME Form 101
DP Operators-handbook-extract for the Mautical Institute
Heart disease approach using modified random forest and particle swarm optimi...
A novel scalable deep ensemble learning framework for big data classification...
Web App vs Mobile App What Should You Build First.pdf

Google android os

  • 2. Yummy Desserts! • • • • • • Cupcake Donuts Éclair Frozen Yoghurt (Froyo) Gingerbread Honeycomb What do these have in common?
  • 3. Smartphone OS • • • • • • • Symbian Windows Mobile RIM Blackberry OS Apple iOS Google Android Palm WebOS Windows Phone 7
  • 4. Android OS • Fastest growing mobile OS • Over 300,000 Android activations a day • Android overtook iOS as the dominant OS in US during 2H 2010 • First phone launched HTC G1 in 2008 • Currently an OS of choice for Motorola, HTC, Samsung, Sony Ericsson, among others • Software updates every few months
  • 5. Android – what is it? • software stack for mobile devices – incl. OS, middleware and key applications • • • • • • • • • • Open source – source code is open and contributions are welcome application framework enabling reuse/replacement of apps Dalvik virtual machine optimized for mobile integrated browser based on webkit Optimized graphics – 2D graphics library, 3D based on OPEN GL ES SQLite for data storage Media support (MPEG4, H.264, MP3, AAC, JPG, PNG,…) Support for radio interfaces, Bluetooth, WiFi, Camera, GPS, accelerometer Software Development Kit (SDK) Preinstalled applications from Google (GMS) – Gmail, Maps, Search, Voice Search, Youtube
  • 6. Software Stack • Linux kernel • Libraries • Android run time – core libraries – Dalvik virtual machine • application layer • application protocol
  • 8. Android • Google Maps and other GMS applications • Background services and applications – allows multi tasking of applications • Shared Data and interprocess communication • All applications are equal – does not discriminate between native and non-native applications – allows any applications to be enhanced/reused • p2p interdevice application messaging
  • 9. Dalvik VM • All applications written in Java and converted to the dalvik executable .dex • Every android app runs its own process, with its own instance of the dalvik virtual machine • Not a traditional JVM, but a custom VM designed to run multiple instances efficiently on a single device • VM uses linux kernel to handle low-level functionality incl. security, threading, process and memory management
  • 10. Application Framework • Rich, extensible set of Views – apps can inclused lists, grids, text boxes, buttons, web browser • Content Providers – allows data access from other applications or share own data • Resource Manager – access to localized strings, graphics, layout files • Notification Manager – enables custom alerts to be displayed in status bar • Activity Manager – Manages lifecycle of applications and provides navigation backstack
  • 11. Application Fundamentals • Activities – application presentation layer • Services – invisible components, update data sources, visible activities, trigger notifications – perform regular processing even when app is not active or invisible • Content Providers – shareable data store • Intents – message passing framework – broadcase messages system wide, for an action to be performed • Broadcast receivers – consume intent broadcasts – lets app listen for intents matching a specific criteria like location • Notifications – Toast notification – Status Bar Notification – Dialog notification
  • 12. Applications • All apps (native and 3rd party) are written using the same APIs and run on the same run time executable • All apps have APIs for hardware access, location-based services, support for background services, map-based activities, 2D and 3D graphics. • App Widgets are miniature app views that can be embedded in other apps like Home Screen
  • 13. App Priority and Processes Android apps do not have control over their own life cycles Aggressively manages resources to ensure device responsiveness and kills process/apps when needed • • • • • Active Process – critical priority Visible Process – high priority Started Service Process Background Process – low priority Empty process
  • 14. Client apps • Developed using the Android SDK and installed on user devices • Compiled Java code, with data and resource – bundled by Android Asset Packaging tool (AAPT) into Android package or .apk • All applications have Android Manifest file in its root directory – provides essential information about app • Could be installed directly on phone, but necessary to be distributed thru Market
  • 15. Web Apps • An alternative to standalone apps • Developed using web standards and accessed through browser – nothing to install on devices • Mixing client and web apps is also possible – Client apps can embed web pages using “Webview” in Android app
  • 16. SDK • Android APIs, Full Documentation and Sample code • Development tools – Dalvik Debug Monitor Service (DDMS) – Android Debug Bridge (ADB) – Android Emulator • Online support and blog • Native Development Kit also available – allows developers to implement parts of apps in native-code languages like C/C++ – Plug in available to use Eclipse integrated development environment • Developer forums and developer phones from Google, MOTO Dev studio from Motorola
  • 17. Android Market • Google Market - Part of GMS apps • 3rd party apps submitted to Google, approved and distributed through Market • Both Free and Paid apps • Apps now limited to 50 MB; updates possible through Market • Monetization through ads available • Available in many countries, not all countries have support for paid apps • Other Market place applications available – Amazon has announced its own Android Market place • App searches filtered based on Manifest file (eg. if a device does not have trackball, apps using trackball will be filtered out) • Every app publishes a list of components the app will access and permissions need to be granted before installation • Apps installed on device and SD card (SD Card from Froyo)
  • 18. Search • Core feature in android • User should be able to search any data on device or internet • Usually one of the android buttons • Search suggestions based on recent queries • Provide custom search suggestions that match actual results in application data • system side Quick Search Box • Voice Search available and enhanced in recent releases
  • 19. Locations & Maps • Compelling and most popular apps for mobile devices • Google Maps provides free navigation • applications allowed access to location services supported by device • Google provides Maps external library – allows built-in downloading, rendering and caching of Maps tiles, and other display options and controls
  • 20. Device Administration • Froyo introduces support for enterprise applications with Device Administraion API • allows to create security-aware applications to control employee devices • Apps might include – Email clients – remote wipe – device management services and apps
  • 21. Android Software Updates • • • • • • Android 1.0 – G1 1.5 – Cupcake 1.6 – Donuts (CDMA support) 2.0 – Éclair (Droid introduced with Éclair) 2.2 – Froyo 2.3 Gingerbread (SDK released 2 weeks ago and source will follow soon) • API Levels used by apps to identify software version on the device • Android apps are generally forward compatible with newer version, but not necessarily backwards compatible
  • 22. Compatibility • Why? – Allow customizable devices – Create Common eco system • Android compatibility is free and easy – Obtain Android source code – Comply with Android Compatibility Definition (ACD) doc • List requirements that need to be met for devices to be compatible with a particular version on Android – Pass the Compatibility Test Suite (CTS) • Automated test harness running on desktop, manages test exectuion • Test cases written, packaged as .apk to run on actual device or emulator • Porting guide available for bringing up Android on custom HW
  • 23. Other possibilities • Google TV - a new platform based on Android • Tablets – Samsung Galaxy tab introduced in Oct 2010 • eBook reader – Latest Barnes and Noble Nook is an Android tablet