SlideShare a Scribd company logo
1 of 19
Android Introduction
    Platform Overview




        @2011 Mihail L. Sichitiu   1
What is Android?

                Android is a software
                 stack for mobile devices
                 that includes an
                 operating system,
                 middleware and key
                 applications.




             @2011 Mihail L. Sichitiu       2
OHA (Open Handset Alliance)
A business alliance consisting of 47
 companies to develop open standards
 for mobile devices




                 @2011 Mihail L. Sichitiu   3
Architecture




               @2011 Mihail L. Sichitiu   4
Android S/W Stack - Application


   Android provides a set of core applications:
        Email Client
        SMS Program
        Calendar
        Maps
        Browser
        Contacts
        Etc


   All applications are written using the Java language.

                            @2011 Mihail L. Sichitiu        5
Android S/W Stack –
App Framework



 Enabling
        and simplifying the reuse of
 components
     Developers have full access to the same
      framework APIs used by the core applications.
     Users are allowed to replace components.



                     @2011 Mihail L. Sichitiu         6
Android S/W Stack –
App Framework (Cont)
 Features
  Feature                                           Role
    View        Used to build an application, including lists, grids, text
   System       boxes, buttons, and embedded web browser
  Content       Enabling applications to access data from other
  Provider      applications or to share their own data
  Resource      Providing access to non-code resources (localized strings,
  Manager       graphics, and layout files)
 Notification   Enabling all applications to display customer alerts in the
  Manager       status bar
  Activity      Managing the lifecycle of applications and providing
  Manager       a common navigation backstack




                                @2011 Mihail L. Sichitiu                      7
Android S/W Stack - Libraries



 Includinga set of C/C++ libraries used by
  components of the Android system
 Exposed to developers through the
  Android application framework



                  @2011 Mihail L. Sichitiu    8
Android S/W Stack - Runtime


   Core Libraries
       Providing most of the functionality available in
        the core libraries of the Java language
       APIs
            Data Structures
            Utilities
            File Access
            Network Access
            Graphics
            Etc               @2011 Mihail L. Sichitiu    9
Android S/W Stack – Runtime
(Cont)
   Dalvik Virtual Machine
       Providing environment on which every Android
        application runs
            Each Android application runs in its own process, with
             its own instance of the Dalvik VM.
            Dalvik has been written such that a device can run
             multiple VMs efficiently.


       Register-based virtual machine




                              @2011 Mihail L. Sichitiu                10
Android S/W Stack – Runtime
(Cont)
   Dalvik Virtual Machine (Cont)
       Executing the Dalvik Executable (.dex) format
            .dex format is optimized for minimal memory
             footprint.
            Compilation




       Relying on the Linux Kernel for:
            Threading
            Low-level memory management

                             @2011 Mihail L. Sichitiu      11
Android S/W Stack – Linux Kernel


   Relying on Linux Kernel 2.6 for core system services
        Memory and Process Management
        Network Stack
        Driver Model
        Security
   Providing an abstraction layer between the H/W and the rest
    of the S/W stack

                           @2011 Mihail L. Sichitiu               12
Android Application Development

                              Android
           Eclipse IDE
                               SDK




                              Android
            Android      OR   Mobile
            Emulator
                              Device
Application Building Blocks
 Activity
 IntentReceiver
 Service
 ContentProvider
IntentReceivers
 Components that respond to broadcast
  „Intents‟
 Way to respond to external notification or
  alarms
 Apps can invent and broadcast their own
  Intent
Intents
   Think of Intents as a verb and object; a
    description of what you want done
       E.g. VIEW, CALL, PLAY etc..
 System matches Intent with Activity that
  can best provide the service
 Activities and Intent Receivers describe
  what Intents they can service
Intents
 Home

                                          Photo
                                          Gallery
Contacts                                  Picasa

            “Pick
 GMail     photo”

                System picks best component
 Chat           for that action
                Client component makes a
Blogger
Blogger         request for a specific action
                New components can use
                existing functionality
Services
   Faceless components that run in the
    background
       E.g. music player, network download etc…

More Related Content

What's hot (20)

Android Basics
Android BasicsAndroid Basics
Android Basics
 
01 03 - introduction to android
01  03 - introduction to android01  03 - introduction to android
01 03 - introduction to android
 
Android overview
Android overviewAndroid overview
Android overview
 
Andriod
Andriod Andriod
Andriod
 
Android unveiled (I)
Android unveiled (I)Android unveiled (I)
Android unveiled (I)
 
Android basic principles
Android basic principlesAndroid basic principles
Android basic principles
 
Sdk technology
Sdk technologySdk technology
Sdk technology
 
Chapter1
Chapter1Chapter1
Chapter1
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App Development
 
android-tutorial-for-beginner
android-tutorial-for-beginnerandroid-tutorial-for-beginner
android-tutorial-for-beginner
 
Android Introduction by Kajal
Android Introduction by KajalAndroid Introduction by Kajal
Android Introduction by Kajal
 
Hello Android - Pune GTUG
Hello Android - Pune GTUGHello Android - Pune GTUG
Hello Android - Pune GTUG
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android Handheld Systems
Android Handheld SystemsAndroid Handheld Systems
Android Handheld Systems
 
An introduction to Android
An introduction to AndroidAn introduction to Android
An introduction to Android
 
Android presentation
Android presentationAndroid presentation
Android presentation
 
SynapseIndia mobile build apps management
SynapseIndia mobile build apps managementSynapseIndia mobile build apps management
SynapseIndia mobile build apps management
 
Getting Started With Android
Getting Started With AndroidGetting Started With Android
Getting Started With Android
 
Android Introduction
Android IntroductionAndroid Introduction
Android Introduction
 
Connected Media Experiences
Connected Media ExperiencesConnected Media Experiences
Connected Media Experiences
 

Viewers also liked

isajahnke ictml umea 2011-05-v1
isajahnke ictml umea 2011-05-v1isajahnke ictml umea 2011-05-v1
isajahnke ictml umea 2011-05-v1Isa Jahnke
 
2015 03-27-bozen-v3ij
2015 03-27-bozen-v3ij2015 03-27-bozen-v3ij
2015 03-27-bozen-v3ijIsa Jahnke
 
isajahnke iml2011 introduction
isajahnke iml2011 introductionisajahnke iml2011 introduction
isajahnke iml2011 introductionIsa Jahnke
 
mobile-learning2012 at IADIS ML2012
mobile-learning2012 at IADIS ML2012mobile-learning2012 at IADIS ML2012
mobile-learning2012 at IADIS ML2012Isa Jahnke
 
ecscw2013 Designing for ipad-classrooms
ecscw2013 Designing for ipad-classroomsecscw2013 Designing for ipad-classrooms
ecscw2013 Designing for ipad-classroomsIsa Jahnke
 
Pres-ACMgroup2012intro-v2-isajahnke
Pres-ACMgroup2012intro-v2-isajahnkePres-ACMgroup2012intro-v2-isajahnke
Pres-ACMgroup2012intro-v2-isajahnkeIsa Jahnke
 
2014-ICT-in-education
2014-ICT-in-education2014-ICT-in-education
2014-ICT-in-educationIsa Jahnke
 
DieZeit-Konferenz 'Schule der Zukunft - alles digital?
DieZeit-Konferenz  'Schule der Zukunft - alles digital?DieZeit-Konferenz  'Schule der Zukunft - alles digital?
DieZeit-Konferenz 'Schule der Zukunft - alles digital?Isa Jahnke
 
How to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media PlanHow to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media PlanPost Planner
 

Viewers also liked (9)

isajahnke ictml umea 2011-05-v1
isajahnke ictml umea 2011-05-v1isajahnke ictml umea 2011-05-v1
isajahnke ictml umea 2011-05-v1
 
2015 03-27-bozen-v3ij
2015 03-27-bozen-v3ij2015 03-27-bozen-v3ij
2015 03-27-bozen-v3ij
 
isajahnke iml2011 introduction
isajahnke iml2011 introductionisajahnke iml2011 introduction
isajahnke iml2011 introduction
 
mobile-learning2012 at IADIS ML2012
mobile-learning2012 at IADIS ML2012mobile-learning2012 at IADIS ML2012
mobile-learning2012 at IADIS ML2012
 
ecscw2013 Designing for ipad-classrooms
ecscw2013 Designing for ipad-classroomsecscw2013 Designing for ipad-classrooms
ecscw2013 Designing for ipad-classrooms
 
Pres-ACMgroup2012intro-v2-isajahnke
Pres-ACMgroup2012intro-v2-isajahnkePres-ACMgroup2012intro-v2-isajahnke
Pres-ACMgroup2012intro-v2-isajahnke
 
2014-ICT-in-education
2014-ICT-in-education2014-ICT-in-education
2014-ICT-in-education
 
DieZeit-Konferenz 'Schule der Zukunft - alles digital?
DieZeit-Konferenz  'Schule der Zukunft - alles digital?DieZeit-Konferenz  'Schule der Zukunft - alles digital?
DieZeit-Konferenz 'Schule der Zukunft - alles digital?
 
How to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media PlanHow to Build a Dynamic Social Media Plan
How to Build a Dynamic Social Media Plan
 

Similar to Introduction to android

Introduction to anorid
Introduction to anoridIntroduction to anorid
Introduction to anoridDeepanjali Sah
 
Android Introduction
Android IntroductionAndroid Introduction
Android Introductionstevenindands
 
Android 1-intro n architecture
Android 1-intro n architectureAndroid 1-intro n architecture
Android 1-intro n architectureDilip Singh
 
Android- Introduction for Beginners
Android- Introduction for BeginnersAndroid- Introduction for Beginners
Android- Introduction for BeginnersTripti Tiwari
 
Android overview
Android overviewAndroid overview
Android overviewHas Taiar
 
architecture of android.pptx
architecture of android.pptxarchitecture of android.pptx
architecture of android.pptxallurestore
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & ComponentsAkash Bisariya
 
Wifi Direct Based Chat And File Transfer Android Application
Wifi Direct Based Chat And File Transfer Android ApplicationWifi Direct Based Chat And File Transfer Android Application
Wifi Direct Based Chat And File Transfer Android ApplicationNitin Bhasin
 
Android : Revolutionizing Mobile Devices
Android : Revolutionizing Mobile DevicesAndroid : Revolutionizing Mobile Devices
Android : Revolutionizing Mobile DevicesRitesh Puthran
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidzeelpatel0504
 
Android architecture
Android architectureAndroid architecture
Android architecturepoojapainter
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorialilias ahmed
 
Android architecture
Android architectureAndroid architecture
Android architecturefahim shahzad
 

Similar to Introduction to android (20)

Rola azab
Rola azabRola azab
Rola azab
 
Introduction to anorid
Introduction to anoridIntroduction to anorid
Introduction to anorid
 
Android Introduction
Android IntroductionAndroid Introduction
Android Introduction
 
Android Anatomy
Android  AnatomyAndroid  Anatomy
Android Anatomy
 
introduction.ppt
introduction.pptintroduction.ppt
introduction.ppt
 
Android 1-intro n architecture
Android 1-intro n architectureAndroid 1-intro n architecture
Android 1-intro n architecture
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Android- Introduction for Beginners
Android- Introduction for BeginnersAndroid- Introduction for Beginners
Android- Introduction for Beginners
 
Android overview
Android overviewAndroid overview
Android overview
 
architecture of android.pptx
architecture of android.pptxarchitecture of android.pptx
architecture of android.pptx
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
 
Wifi Direct Based Chat And File Transfer Android Application
Wifi Direct Based Chat And File Transfer Android ApplicationWifi Direct Based Chat And File Transfer Android Application
Wifi Direct Based Chat And File Transfer Android Application
 
Android : Revolutionizing Mobile Devices
Android : Revolutionizing Mobile DevicesAndroid : Revolutionizing Mobile Devices
Android : Revolutionizing Mobile Devices
 
Android primer
Android primerAndroid primer
Android primer
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
AndroidOs
AndroidOsAndroidOs
AndroidOs
 
Android apps
Android appsAndroid apps
Android apps
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Android development-tutorial
Android development-tutorialAndroid development-tutorial
Android development-tutorial
 
Android architecture
Android architectureAndroid architecture
Android architecture
 

Recently uploaded

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Introduction to android

  • 1. Android Introduction Platform Overview @2011 Mihail L. Sichitiu 1
  • 2. What is Android?  Android is a software stack for mobile devices that includes an operating system, middleware and key applications. @2011 Mihail L. Sichitiu 2
  • 3. OHA (Open Handset Alliance) A business alliance consisting of 47 companies to develop open standards for mobile devices @2011 Mihail L. Sichitiu 3
  • 4. Architecture @2011 Mihail L. Sichitiu 4
  • 5. Android S/W Stack - Application  Android provides a set of core applications:  Email Client  SMS Program  Calendar  Maps  Browser  Contacts  Etc  All applications are written using the Java language. @2011 Mihail L. Sichitiu 5
  • 6. Android S/W Stack – App Framework  Enabling and simplifying the reuse of components  Developers have full access to the same framework APIs used by the core applications.  Users are allowed to replace components. @2011 Mihail L. Sichitiu 6
  • 7. Android S/W Stack – App Framework (Cont)  Features Feature Role View Used to build an application, including lists, grids, text System boxes, buttons, and embedded web browser Content Enabling applications to access data from other Provider applications or to share their own data Resource Providing access to non-code resources (localized strings, Manager graphics, and layout files) Notification Enabling all applications to display customer alerts in the Manager status bar Activity Managing the lifecycle of applications and providing Manager a common navigation backstack @2011 Mihail L. Sichitiu 7
  • 8. Android S/W Stack - Libraries  Includinga set of C/C++ libraries used by components of the Android system  Exposed to developers through the Android application framework @2011 Mihail L. Sichitiu 8
  • 9. Android S/W Stack - Runtime  Core Libraries  Providing most of the functionality available in the core libraries of the Java language  APIs  Data Structures  Utilities  File Access  Network Access  Graphics  Etc @2011 Mihail L. Sichitiu 9
  • 10. Android S/W Stack – Runtime (Cont)  Dalvik Virtual Machine  Providing environment on which every Android application runs  Each Android application runs in its own process, with its own instance of the Dalvik VM.  Dalvik has been written such that a device can run multiple VMs efficiently.  Register-based virtual machine @2011 Mihail L. Sichitiu 10
  • 11. Android S/W Stack – Runtime (Cont)  Dalvik Virtual Machine (Cont)  Executing the Dalvik Executable (.dex) format  .dex format is optimized for minimal memory footprint.  Compilation  Relying on the Linux Kernel for:  Threading  Low-level memory management @2011 Mihail L. Sichitiu 11
  • 12. Android S/W Stack – Linux Kernel  Relying on Linux Kernel 2.6 for core system services  Memory and Process Management  Network Stack  Driver Model  Security  Providing an abstraction layer between the H/W and the rest of the S/W stack @2011 Mihail L. Sichitiu 12
  • 13. Android Application Development Android Eclipse IDE SDK Android Android OR Mobile Emulator Device
  • 14. Application Building Blocks  Activity  IntentReceiver  Service  ContentProvider
  • 15.
  • 16. IntentReceivers  Components that respond to broadcast „Intents‟  Way to respond to external notification or alarms  Apps can invent and broadcast their own Intent
  • 17. Intents  Think of Intents as a verb and object; a description of what you want done  E.g. VIEW, CALL, PLAY etc..  System matches Intent with Activity that can best provide the service  Activities and Intent Receivers describe what Intents they can service
  • 18. Intents Home Photo Gallery Contacts Picasa “Pick GMail photo” System picks best component Chat for that action Client component makes a Blogger Blogger request for a specific action New components can use existing functionality
  • 19. Services  Faceless components that run in the background  E.g. music player, network download etc…