SlideShare ist ein Scribd-Unternehmen logo
1 von 19
ANDROID

Platform Architecture & Development Options
• A robust, free, open-source operating
                system for mobile devices.
              • Linux-based operating system designed
WHAT IS         primarily for touchscreen mobile
ANDROID OS?     devices such as smartphones and
                tablets computers, developed by
                Google in conjunction with Open
                Handset Alliance.
              • Google releases the Android code as
                open source under the Apache license as
                Android Open Source Project (AOSP),
                led by a team at Google led by Andy
                Rubin.
              • open customizable nature.
              • Android applications are written in java
                and run in virtual machines. For this
                purpose Android features the Dalvik
                virtual machine which executes its own
                byte code.
INTERFACE &                • Interface
                  VERSION                    • Version History
                  HISTORY

         Version          Release date                                             Features

4.1.x Jelly Bean       July 9, 2012        Audio chaining, Enhanced accessibility, Expandable notifications, Improved voice
                                           search, Google Wallet, Multichannel audio, USB audio

4.0.x Ice Cream        October 19, 2011    Face Unlock, Improved camera app with zero shutter lag, Built-in photo editor, Android
Sandwich                                   Beam, Stability improvements

3.x.x Honeycomb        February 22, 2011   UI refinements, Connectivity for USB accessories, Ability to encrypt all user data

2.3.x Gingerbread      December 6, 2010    UI updates, Improved battery efficiency, Support for NFC, Native support for SIP VoIP
                                           internet telephony

2.2 Froyo              May 20, 2010        Performance optimizations, just in time compiler, tethering
                                           and Wi-Fi hotspot capability, Adobe Flash support, enhanced Microsoft Exchange
                                           support, OpenGL ES 2.0 support

2.0, 2.1 Eclair        October 26, 2009    Major UI update, Bluetooth 2.1 (new OPP and PBAP profiles), media framework
                                           improvements, Microsoft Exchange support

1.6 Donut              September 15, 2009 Gesture support, support for higher screen resolutions (WVGA), text-to-speech engine,
                                          Virtual Private Network

1.5 Cupcake            April 30, 2009      UI updates, on-screen keypad, video recording and playback, Bluetooth, accelerometer
                                           based application rotation

1.1 Initial Release    February 2009       Initial release
DISTRIBUTION                                                                 Distribution
OF ANDROID            Version          Release date      API level           (October 2,
                                                                                2012)
VERSIONS
               4.1.x, 4.2 Jelly Bean      July 9, 2012                 16              1.8%


               4.0.x Ice Cream            October 19,            14-15                23.7%
               Sandwich                         2011

               3.x.x Honeycomb           February 22,                11-13             1.9%
                                                2011
               2.3.x Gingerbread         December 6,                 9-10             55.8%
                                                2010
               2.2 Froyo                 May 20, 2010                   8             12.9%

               2.0, 2.1 Eclair            October 26,                   7              3.4%
                                               2009

               1.6 Donut               September 15,                    4              0.4%
                                              2009

               1.5 Cupcake              April 30, 2009                  3              0.1%
SECURITY &   • Applications run in a sandbox
PRIVACY      • Permission system for applications for
               installation
             • Security software apps
ARCHITECTURE
ARCHITECTURE   • Linux Kernel
LAYERS             – Memory Management
                   – Process Management
                   – Networking
                   – Security Settings
                   – IPC
                   – Drivers:
                                 » Display Driver
                                 » Camera Driver
                                 » Flash Memory Driver
                                 » Binder (IPC) Driver
                                 » Keypad Driver
                                 » Wi-Fi Driver
                                 » Audio Driver
                                 » Power Management
NATIVE
LIBRARIES   • Includes
                – Surface Manager
                – Media framework
                – SQLite
                – Webkit
                – OpenGL
                – Free Type
                – SGL
                – SSL
                – libc
ANDROID
RUNTIME   • Dalvik Virtual Machine
              – A type of JVM used in android
                 devices to run apps
              – Register based VM
              – Dalvik Executable (.dex)
              – DX tool

          • Core Java libraries
              – These are different from Java SE and
                 Java ME libraries. However, these
                 libraries provide most of the
                 functionalities defined in the Java SE
                 libraries.
APPLICATION
FRAMEWORK     • Blocks that our application deals with
                directly
                  – Activity Manager
                  – Window Manager
                  – Content Providers
                  – View System
                  – Package Manager
                  – Telephony Manager
                  – Resource Manager
                  – Location Manager
                  – Notification Manager
APPLICATIONS   • Applications are the top layer in the
                 Android architecture and this is where
                 our applications are going to fit.

               • Several standard applications come pre-
                 installed with every device, such as:
                                  »   SMS client app
                                  »   Dialer
                                  »   Web browser
                                  »   Contact manager
                                  »   Calendar
                                  »   Maps
ANDROID
APPLICATION
COMPONENTS    •   Activities
              •   Services
              •   Content Providers
              •   Broadcast Receivers
              •   Intents
• Activities
   – Activity is an individual user interface screen where
       view can be placed.
   – The widget in an activity can be created by either pure
       java code or by adding XML code.
   – Activity class.
   – Life cycle
              – Active/Running State
              – Paused State
              – Stopped State
              – Destroyed/Dead State
• Services
    – Android application component that runs in
       background and has no visual UI.
    – can be started by another Android application
       component such as an activity or other services .
    – services are less likely to be destroyed by Android
       system to free resources, than Activities.
    – Service class.
    – Types
             – Unbound services
             – Bound services
• Content Providers
    – provide a flexible way to make data available across
      applications.
    – through content providers other applications are able to
      query access or even modify the data you’ve created, as
      long as your content provider allows it.
    – ContentProvider class.

• Broadcast Receivers
    – used to receive messages that are broadcasted by the
      Android system or other Android applications.
    – Examples
                  »   Warning that the battery is getting low
                  »   Screen turned off
                  »   Change of time zone
                  »   The camera has been used to take a picture
• Intents
    – component activating mechanism in Android.
    – constitutes the core message system in Android and
       defines a message to activate a particular component.
    – Types:
         • Explicit Intents
         • Implicit Intents
• Design Requirements
            • Design Overview
                            – Every Android application runs in its
DALVIK VM                     own process, with its own instance of
                              the Dalvik virtual machine. Dalvik has
                              been written so that a device can run
                              multiple VMs efficiently. The Dalvik VM
                              executes files in the Dalvik Executable
                              (.dex) format which is optimized for
                              minimal memory footprint. The VM is
                              register-based, and runs classes
                              compiled by a Java language compiler
                              that have been transformed into the
                              .dex format by the included "dx" tool.
                            – The Dalvik VM relies on the Linux kernel
                              for underlying functionality such as
                              threading and low-level memory
                              management.
            • .dex file format
            • Zygote
            • Register-based Architecture
            • Security
.DEX FILE
ANATOMY
Questions?

Weitere ähnliche Inhalte

Was ist angesagt?

Layarintroductionfordevelopers 110308080829-phpapp02
Layarintroductionfordevelopers 110308080829-phpapp02Layarintroductionfordevelopers 110308080829-phpapp02
Layarintroductionfordevelopers 110308080829-phpapp02
Sami Hamri
 
UX archetypes secondary
UX archetypes secondaryUX archetypes secondary
UX archetypes secondary
Nicholas Evans
 
콘텐츠 플랫폼 구조 분석
콘텐츠 플랫폼 구조 분석콘텐츠 플랫폼 구조 분석
콘텐츠 플랫폼 구조 분석
Jaehyeuk Oh
 
openTrends Mobile Solutions brochure
openTrends Mobile Solutions brochureopenTrends Mobile Solutions brochure
openTrends Mobile Solutions brochure
openTrends
 

Was ist angesagt? (20)

Mobile technologies
Mobile technologiesMobile technologies
Mobile technologies
 
The More Capable Series 40 Java Platform
The More Capable Series 40 Java PlatformThe More Capable Series 40 Java Platform
The More Capable Series 40 Java Platform
 
Designing the New Android Experience - The Golden Age of Android
Designing the New Android Experience - The Golden Age of AndroidDesigning the New Android Experience - The Golden Age of Android
Designing the New Android Experience - The Golden Age of Android
 
Nolan Wright: Appcelerator's World-Class Ecosystem
Nolan Wright: Appcelerator's World-Class Ecosystem Nolan Wright: Appcelerator's World-Class Ecosystem
Nolan Wright: Appcelerator's World-Class Ecosystem
 
Layarintroductionfordevelopers 110308080829-phpapp02
Layarintroductionfordevelopers 110308080829-phpapp02Layarintroductionfordevelopers 110308080829-phpapp02
Layarintroductionfordevelopers 110308080829-phpapp02
 
UX archetypes secondary
UX archetypes secondaryUX archetypes secondary
UX archetypes secondary
 
S60 - Over the air
S60 - Over the airS60 - Over the air
S60 - Over the air
 
Mobile browser testing v1.0
Mobile browser testing v1.0Mobile browser testing v1.0
Mobile browser testing v1.0
 
BBM Social Platform and App Monetization
BBM Social Platform and App MonetizationBBM Social Platform and App Monetization
BBM Social Platform and App Monetization
 
Nokia Qt SDK in action - Qt developer days 2010
Nokia Qt SDK in action - Qt developer days 2010Nokia Qt SDK in action - Qt developer days 2010
Nokia Qt SDK in action - Qt developer days 2010
 
Qt everywhere
Qt everywhereQt everywhere
Qt everywhere
 
콘텐츠 플랫폼 구조 분석
콘텐츠 플랫폼 구조 분석콘텐츠 플랫폼 구조 분석
콘텐츠 플랫폼 구조 분석
 
Game Republic - Yorkshire Building Awesome games for Windows
Game Republic - Yorkshire Building Awesome games for WindowsGame Republic - Yorkshire Building Awesome games for Windows
Game Republic - Yorkshire Building Awesome games for Windows
 
Porting BlackBerry apps to the Series 40 platform
Porting BlackBerry apps to the Series 40 platformPorting BlackBerry apps to the Series 40 platform
Porting BlackBerry apps to the Series 40 platform
 
Android vs Others Operating System
Android vs Others Operating SystemAndroid vs Others Operating System
Android vs Others Operating System
 
openTrends Mobile Solutions brochure
openTrends Mobile Solutions brochureopenTrends Mobile Solutions brochure
openTrends Mobile Solutions brochure
 
Native vs Hybrid vs Web
Native vs Hybrid vs WebNative vs Hybrid vs Web
Native vs Hybrid vs Web
 
Qt S60 Technical Presentation Fn Stripped
Qt S60 Technical Presentation Fn StrippedQt S60 Technical Presentation Fn Stripped
Qt S60 Technical Presentation Fn Stripped
 
Rococo Software Q409
Rococo Software Q409Rococo Software Q409
Rococo Software Q409
 
Jure Sustersic Monetization through Ovi Services
Jure Sustersic Monetization through Ovi ServicesJure Sustersic Monetization through Ovi Services
Jure Sustersic Monetization through Ovi Services
 

Andere mochten auch

מרעיון טוב למצגת מעולה
מרעיון טוב למצגת מעולהמרעיון טוב למצגת מעולה
מרעיון טוב למצגת מעולה
Dan Greenberg
 
رقصة إبداعية لطالبات أستاذة لبنى المناعي
رقصة إبداعية لطالبات أستاذة لبنى المناعيرقصة إبداعية لطالبات أستاذة لبنى المناعي
رقصة إبداعية لطالبات أستاذة لبنى المناعي
naila600
 
Slideshare
SlideshareSlideshare
Slideshare
surma1mf
 
Genesis Integrated Brand Strategy
Genesis Integrated Brand StrategyGenesis Integrated Brand Strategy
Genesis Integrated Brand Strategy
Bergeron Creative Studios
 
Presentasi071209
Presentasi071209Presentasi071209
Presentasi071209
Akbar Bahar
 
14.02.28 exegesis transfiguration
14.02.28 exegesis   transfiguration14.02.28 exegesis   transfiguration
14.02.28 exegesis transfiguration
morrisenglish
 
Ntu presentation 30 01-12 videos removed
Ntu presentation 30 01-12 videos removedNtu presentation 30 01-12 videos removed
Ntu presentation 30 01-12 videos removed
Justin Halim
 

Andere mochten auch (20)

Ingles2
Ingles2Ingles2
Ingles2
 
מרעיון טוב למצגת מעולה
מרעיון טוב למצגת מעולהמרעיון טוב למצגת מעולה
מרעיון טוב למצגת מעולה
 
رقصة إبداعية لطالبات أستاذة لبنى المناعي
رقصة إبداعية لطالبات أستاذة لبنى المناعيرقصة إبداعية لطالبات أستاذة لبنى المناعي
رقصة إبداعية لطالبات أستاذة لبنى المناعي
 
Slideshare
SlideshareSlideshare
Slideshare
 
Neil and barthes
Neil and barthesNeil and barthes
Neil and barthes
 
CIS Project
CIS ProjectCIS Project
CIS Project
 
Social Media: Creating an Effective Digital Strategy
Social Media: Creating an Effective Digital StrategySocial Media: Creating an Effective Digital Strategy
Social Media: Creating an Effective Digital Strategy
 
Genesis Integrated Brand Strategy
Genesis Integrated Brand StrategyGenesis Integrated Brand Strategy
Genesis Integrated Brand Strategy
 
Investasi di ECMC
Investasi di ECMCInvestasi di ECMC
Investasi di ECMC
 
9º pag178 203
9º pag178 2039º pag178 203
9º pag178 203
 
Today's message collections 4th part
Today's message collections 4th partToday's message collections 4th part
Today's message collections 4th part
 
Presentasi071209
Presentasi071209Presentasi071209
Presentasi071209
 
What is trans fat
What is trans fatWhat is trans fat
What is trans fat
 
Gabonetako powerpointa
Gabonetako powerpointaGabonetako powerpointa
Gabonetako powerpointa
 
Uas si libre
Uas si libreUas si libre
Uas si libre
 
Assessment of the Quality of Care for Hospitalized Children in 6 Provinces of...
Assessment of the Quality of Care for Hospitalized Children in 6 Provinces of...Assessment of the Quality of Care for Hospitalized Children in 6 Provinces of...
Assessment of the Quality of Care for Hospitalized Children in 6 Provinces of...
 
14.02.28 exegesis transfiguration
14.02.28 exegesis   transfiguration14.02.28 exegesis   transfiguration
14.02.28 exegesis transfiguration
 
Kalyan industries-yamunanagar
Kalyan industries-yamunanagarKalyan industries-yamunanagar
Kalyan industries-yamunanagar
 
Finding the SEO Balance
Finding the SEO BalanceFinding the SEO Balance
Finding the SEO Balance
 
Ntu presentation 30 01-12 videos removed
Ntu presentation 30 01-12 videos removedNtu presentation 30 01-12 videos removed
Ntu presentation 30 01-12 videos removed
 

Ähnlich wie Android platform

1319571 634635606205391250
1319571 6346356062053912501319571 634635606205391250
1319571 634635606205391250
MadNor Exe
 
Android Workshop Session 1
Android Workshop Session 1Android Workshop Session 1
Android Workshop Session 1
NAILBITER
 

Ähnlich wie Android platform (20)

Android icecream sandwich
Android icecream sandwichAndroid icecream sandwich
Android icecream sandwich
 
1319571 634635606205391250
1319571 6346356062053912501319571 634635606205391250
1319571 634635606205391250
 
ANDROID
ANDROIDANDROID
ANDROID
 
Android Apps
Android AppsAndroid Apps
Android Apps
 
android
androidandroid
android
 
Unify - JSConf.EU 2010
Unify - JSConf.EU 2010Unify - JSConf.EU 2010
Unify - JSConf.EU 2010
 
Introduction to Android ppt
Introduction to Android pptIntroduction to Android ppt
Introduction to Android ppt
 
Android application development with latest version
Android application development with latest version Android application development with latest version
Android application development with latest version
 
Android
AndroidAndroid
Android
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App Development
 
Android Workshop Session 1
Android Workshop Session 1Android Workshop Session 1
Android Workshop Session 1
 
Android
AndroidAndroid
Android
 
My androidpresentation
My androidpresentationMy androidpresentation
My androidpresentation
 
Android Introduction
Android IntroductionAndroid Introduction
Android Introduction
 
Android
AndroidAndroid
Android
 
Introduction to Android Programming
Introduction to Android ProgrammingIntroduction to Android Programming
Introduction to Android Programming
 
Android
AndroidAndroid
Android
 
Android based os
Android based osAndroid based os
Android based os
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android quick talk
Android quick talkAndroid quick talk
Android quick talk
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 

Android platform

  • 1. ANDROID Platform Architecture & Development Options
  • 2. • A robust, free, open-source operating system for mobile devices. • Linux-based operating system designed WHAT IS primarily for touchscreen mobile ANDROID OS? devices such as smartphones and tablets computers, developed by Google in conjunction with Open Handset Alliance. • Google releases the Android code as open source under the Apache license as Android Open Source Project (AOSP), led by a team at Google led by Andy Rubin. • open customizable nature. • Android applications are written in java and run in virtual machines. For this purpose Android features the Dalvik virtual machine which executes its own byte code.
  • 3. INTERFACE & • Interface VERSION • Version History HISTORY Version Release date Features 4.1.x Jelly Bean July 9, 2012 Audio chaining, Enhanced accessibility, Expandable notifications, Improved voice search, Google Wallet, Multichannel audio, USB audio 4.0.x Ice Cream October 19, 2011 Face Unlock, Improved camera app with zero shutter lag, Built-in photo editor, Android Sandwich Beam, Stability improvements 3.x.x Honeycomb February 22, 2011 UI refinements, Connectivity for USB accessories, Ability to encrypt all user data 2.3.x Gingerbread December 6, 2010 UI updates, Improved battery efficiency, Support for NFC, Native support for SIP VoIP internet telephony 2.2 Froyo May 20, 2010 Performance optimizations, just in time compiler, tethering and Wi-Fi hotspot capability, Adobe Flash support, enhanced Microsoft Exchange support, OpenGL ES 2.0 support 2.0, 2.1 Eclair October 26, 2009 Major UI update, Bluetooth 2.1 (new OPP and PBAP profiles), media framework improvements, Microsoft Exchange support 1.6 Donut September 15, 2009 Gesture support, support for higher screen resolutions (WVGA), text-to-speech engine, Virtual Private Network 1.5 Cupcake April 30, 2009 UI updates, on-screen keypad, video recording and playback, Bluetooth, accelerometer based application rotation 1.1 Initial Release February 2009 Initial release
  • 4. DISTRIBUTION Distribution OF ANDROID Version Release date API level (October 2, 2012) VERSIONS 4.1.x, 4.2 Jelly Bean July 9, 2012 16 1.8% 4.0.x Ice Cream October 19, 14-15 23.7% Sandwich 2011 3.x.x Honeycomb February 22, 11-13 1.9% 2011 2.3.x Gingerbread December 6, 9-10 55.8% 2010 2.2 Froyo May 20, 2010 8 12.9% 2.0, 2.1 Eclair October 26, 7 3.4% 2009 1.6 Donut September 15, 4 0.4% 2009 1.5 Cupcake April 30, 2009 3 0.1%
  • 5. SECURITY & • Applications run in a sandbox PRIVACY • Permission system for applications for installation • Security software apps
  • 7. ARCHITECTURE • Linux Kernel LAYERS – Memory Management – Process Management – Networking – Security Settings – IPC – Drivers: » Display Driver » Camera Driver » Flash Memory Driver » Binder (IPC) Driver » Keypad Driver » Wi-Fi Driver » Audio Driver » Power Management
  • 8. NATIVE LIBRARIES • Includes – Surface Manager – Media framework – SQLite – Webkit – OpenGL – Free Type – SGL – SSL – libc
  • 9. ANDROID RUNTIME • Dalvik Virtual Machine – A type of JVM used in android devices to run apps – Register based VM – Dalvik Executable (.dex) – DX tool • Core Java libraries – These are different from Java SE and Java ME libraries. However, these libraries provide most of the functionalities defined in the Java SE libraries.
  • 10. APPLICATION FRAMEWORK • Blocks that our application deals with directly – Activity Manager – Window Manager – Content Providers – View System – Package Manager – Telephony Manager – Resource Manager – Location Manager – Notification Manager
  • 11. APPLICATIONS • Applications are the top layer in the Android architecture and this is where our applications are going to fit. • Several standard applications come pre- installed with every device, such as: » SMS client app » Dialer » Web browser » Contact manager » Calendar » Maps
  • 12. ANDROID APPLICATION COMPONENTS • Activities • Services • Content Providers • Broadcast Receivers • Intents
  • 13. • Activities – Activity is an individual user interface screen where view can be placed. – The widget in an activity can be created by either pure java code or by adding XML code. – Activity class. – Life cycle – Active/Running State – Paused State – Stopped State – Destroyed/Dead State
  • 14. • Services – Android application component that runs in background and has no visual UI. – can be started by another Android application component such as an activity or other services . – services are less likely to be destroyed by Android system to free resources, than Activities. – Service class. – Types – Unbound services – Bound services
  • 15. • Content Providers – provide a flexible way to make data available across applications. – through content providers other applications are able to query access or even modify the data you’ve created, as long as your content provider allows it. – ContentProvider class. • Broadcast Receivers – used to receive messages that are broadcasted by the Android system or other Android applications. – Examples » Warning that the battery is getting low » Screen turned off » Change of time zone » The camera has been used to take a picture
  • 16. • Intents – component activating mechanism in Android. – constitutes the core message system in Android and defines a message to activate a particular component. – Types: • Explicit Intents • Implicit Intents
  • 17. • Design Requirements • Design Overview – Every Android application runs in its DALVIK VM own process, with its own instance of the Dalvik virtual machine. Dalvik has been written so that a device can run multiple VMs efficiently. The Dalvik VM executes files in the Dalvik Executable (.dex) format which is optimized for minimal memory footprint. The VM is register-based, and runs classes compiled by a Java language compiler that have been transformed into the .dex format by the included "dx" tool. – The Dalvik VM relies on the Linux kernel for underlying functionality such as threading and low-level memory management. • .dex file format • Zygote • Register-based Architecture • Security