SlideShare ist ein Scribd-Unternehmen logo
1 von 26
LOGO
Dilip Singh Panwar(dilip.dsp@gmail.com)
Android Component
Contents
What is Mobile Computing?1
2 What is ANDROID?2
Android Architecture3
4
Mobile Computing
What is Mobile Computing?
 Mobile computing is the ability to use computing
capability without a pre-defined location and/or
connection to a network to publish and/or subscribe to
information
ANDROID
What is Android?
 Android is a software stack for mobile devices that
includes an operating system, middleware and key
applications.
 Based on Linux Kernel
 Allows writing managed code in the Java language
 Developed by Google and later the Open Handset
Alliance (OHA)
ANDROID
What is Open Handset Alliance (OHA)?
 It's a consortium of several companies
ANDROID Features
What is Android features?
 Application framework enabling reuse and
replacement of components
 Dalvik virtual machine optimized for mobile devices
 Integrated browser based on the open source WebKit
engine
 Optimized graphics powered by a custom 2D graphics
library; 3D graphics based on the OpenGL ES 1.0
specification (hardware acceleration optional)
 SQLite for structured data storage
ANDROID Features
 Media support for common audio, video, and still image
formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG,
GIF)
 GSM Telephony (hardware dependent)
 Bluetooth, EDGE, 3G, and WiFi (hardware dependent)
 Camera, GPS, compass, and accelerometer (hardware
dependent)
 Rich development environment including a device
emulator, tools for debugging, memory and
performance profiling, and a plugin for the Eclipse IDE
ANDROID architecture
Applications
 Android will ship with a set of core applications
including an email client, SMS program, calendar, maps,
browser, contacts, and others. All applications are
written using the Java programming language
Applications framework
 By providing an open development platform, Android
offers developers the ability to build extremely rich and
innovative applications. Developers are free to take
advantage of the device hardware, access location
information, run background services, set alarms, add
notifications to the status bar, and much, much more.
Applications framework
 Underlying all applications is a set of services and
systems, including:
 A rich and extensible set of Views that can be used to
build an application, including lists, grids, text boxes,
buttons, and even an embeddable web browser
 Content Providers that enable applications to access
data from other applications (such as Contacts), or to
share their own data
 A Resource Manager, providing access to non-code
resources such as localized strings, graphics, and
layout files
Applications framework
 A Notification Manager that enables all applications to
display custom alerts in the status bar
 An Activity Manager that manages the lifecycle of
applications and provides a common navigation
backstack
Libraries
 Android includes a set of C/C++ libraries used by various
components of the Android system. Some of the core
libraries are listed below:
 System C library - a BSD-derived implementation of
the standard C system library (libc), tuned for
embedded Linux-based devices
 Media Libraries - based on PacketVideo's
OpenCORE; the libraries support playback and
recording of many popular audio and video formats,
as well as static image files, including MPEG4, H.264,
MP3, AAC, AMR, JPG, and PNG
Libraries
 Surface Manager - manages access to the display
subsystem and seamlessly composites 2D and 3D
graphic layers from multiple applications
 LibWebCore - a modern web browser engine which
powers both the Android browser and an
embeddable web view
 SGL - the underlying 2D graphics engine
 3D libraries - an implementation based on OpenGL
ES 1.0 APIs; the libraries use either hardware 3D
acceleration (where available) or the included, highly
optimized 3D software rasterizer
Libraries
 FreeType - bitmap and vector font rendering
 SQLite - a powerful and lightweight relational
database engine available to all applications
Android Runtime
 Android includes a set of core libraries that provides
most of the functionality available in the core libraries of
the Java programming language.
 Every Android application runs in its 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 Dalvik VM relies on the Linux kernel for underlying
functionality such as threading and low-level memory
management.
Linux Kernel
 Android relies on Linux version 2.6 for core system
services such as security, memory management,
process management, network stack, and driver model.
 The kernel also acts as an abstraction layer between the
hardware and the rest of the software stack.
Application Fundamentals
 Android applications are written in the Java
programming language. The Android SDK tools compile
the code—along with any data and resource files—into
an Android package, an archive file with an .apk suffix.
All the code in a single .apk file is considered to be one
application and is the file that Android-powered devices
use to install the application.
Application Components
 Application components are the essential building
blocks of an Android application.
 Each component is a different point through which the
system can enter your application.
 There are four different types of application
components. Each type serves a distinct purpose and
has a distinct lifecycle that defines how the component
is created and destroyed.
 Activities
 Services
 Content providers
 Broadcast Receivers
Activities
 An activity represents a single screen with a user
interface.
 For example, an email application might have one
activity that shows a list of new emails, another activity
to compose an email, and another activity for reading
emails.
Services
 A service is a component that runs in the background to
perform long-running operations or to perform work for
remote processes.
 A service does not provide a user interface.
 For example, a service might play music in the
background while the user is in a different application,
Content providers
 A content provider manages a shared set of application
data. You can store the data in the file system, an
SQLite database, on the web, or any other persistent
storage location your application can access.
 Content providers are also useful for reading and writing
data that is private to your application and not shared.
For example, the Note Pad sample application uses a
content provider to save notes.
Broadcast Receivers
 A broadcast receiver is a component that responds to
system-wide broadcast announcements. Many
broadcasts originate from the system
 for example, a broadcast announcing that the screen
has turned off, the battery is low, or a picture was
captured.
 Applications can also initiate broadcasts
 for example, to let other applications know that some
data has been downloaded to the device and is available
for them to use.
Activating Component
 Three of the four component types—activities, services,
and broadcast receivers—are activated by an
asynchronous message called an intent. Intents bind
individual components to each other at runtime
whether the component belongs to your application or
another.
 For activities and services, an intent defines the action
to perform (for example, to "view" or "send" something)
 For example, an intent might convey a request for an
activity to show an image or to open a web page.
 For broadcast receivers, the intent simply defines the
announcement being broadcast (for example, a
broadcast to indicate the device battery is low
Application Resources
 An Android application is composed of more than just
code—it requires resources that are separate from the
source code, such as images, audio files, and anything
relating to the visual presentation of the application.
LOGO
Dilip Singh Panwar

Weitere ähnliche Inhalte

Was ist angesagt? (20)

Wifi sharing
Wifi sharingWifi sharing
Wifi sharing
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android
AndroidAndroid
Android
 
android architecture
android architectureandroid architecture
android architecture
 
Get an Android tutorial for beginners
Get an Android tutorial for beginnersGet an Android tutorial for beginners
Get an Android tutorial for beginners
 
01 what is android
01 what is android01 what is android
01 what is android
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Ch1 hello, android
Ch1 hello, androidCh1 hello, android
Ch1 hello, android
 
Android understanding
Android understandingAndroid understanding
Android understanding
 
Android My Seminar
Android My SeminarAndroid My Seminar
Android My Seminar
 
Android
Android Android
Android
 
Android In A Nutshell
Android In A NutshellAndroid In A Nutshell
Android In A Nutshell
 
Android Development in a Nutshell
Android Development in a NutshellAndroid Development in a Nutshell
Android Development in a Nutshell
 
Android training in Tambaram
Android training in TambaramAndroid training in Tambaram
Android training in Tambaram
 
Arduino - Android Workshop Presentation
Arduino - Android Workshop PresentationArduino - Android Workshop Presentation
Arduino - Android Workshop Presentation
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Project
ProjectProject
Project
 
Android Seminar
Android SeminarAndroid Seminar
Android Seminar
 
Android Basic- CMC
Android Basic- CMCAndroid Basic- CMC
Android Basic- CMC
 
Pragatheswarakumar_v1.0
Pragatheswarakumar_v1.0Pragatheswarakumar_v1.0
Pragatheswarakumar_v1.0
 

Ähnlich wie Android 1-intro n architecture

Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App DevelopmentMike Kvintus
 
architecture of android.pptx
architecture of android.pptxarchitecture of android.pptx
architecture of android.pptxallurestore
 
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
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paperSravan Reddy
 
Android overview
Android overviewAndroid overview
Android overviewHas Taiar
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & ComponentsAkash Bisariya
 
Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersBoom Shukla
 
Android architecture
Android architectureAndroid architecture
Android architecturefahim shahzad
 
Introduction to Android Development Part 1
Introduction to Android Development Part 1Introduction to Android Development Part 1
Introduction to Android Development Part 1Kainda Kiniel Daka
 
Android For Java Developers
Android For Java DevelopersAndroid For Java Developers
Android For Java DevelopersMike Wolfson
 
Introduction to Android
Introduction to AndroidIntroduction to Android
Introduction to AndroidJindal Gohil
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidJindal Gohil
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidzeelpatel0504
 
Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptxmuthulakshmi cse
 

Ähnlich wie Android 1-intro n architecture (20)

Android Introduction by Kajal
Android Introduction by KajalAndroid Introduction by Kajal
Android Introduction by Kajal
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App Development
 
architecture of android.pptx
architecture of android.pptxarchitecture of android.pptx
architecture of android.pptx
 
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
 
Google android white paper
Google android white paperGoogle android white paper
Google android white paper
 
Android Anatomy
Android  AnatomyAndroid  Anatomy
Android Anatomy
 
Android overview
Android overviewAndroid overview
Android overview
 
Android : Architecture & Components
Android : Architecture & ComponentsAndroid : Architecture & Components
Android : Architecture & Components
 
Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginners
 
PPT Companion to Android
PPT Companion to AndroidPPT Companion to Android
PPT Companion to Android
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Introduction to Android Development Part 1
Introduction to Android Development Part 1Introduction to Android Development Part 1
Introduction to Android Development Part 1
 
Android For Java Developers
Android For Java DevelopersAndroid For Java Developers
Android For Java Developers
 
Introduction to Android
Introduction to AndroidIntroduction to Android
Introduction to Android
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Cc4201519521
Cc4201519521Cc4201519521
Cc4201519521
 
Android overview
Android overviewAndroid overview
Android overview
 
Android apps
Android appsAndroid apps
Android apps
 
Technology and Android.pptx
Technology and Android.pptxTechnology and Android.pptx
Technology and Android.pptx
 

Kürzlich hochgeladen

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
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
 
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
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Kürzlich hochgeladen (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
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
 
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
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Android 1-intro n architecture

  • 2. Android Component Contents What is Mobile Computing?1 2 What is ANDROID?2 Android Architecture3 4
  • 3. Mobile Computing What is Mobile Computing?  Mobile computing is the ability to use computing capability without a pre-defined location and/or connection to a network to publish and/or subscribe to information
  • 4. ANDROID What is Android?  Android is a software stack for mobile devices that includes an operating system, middleware and key applications.  Based on Linux Kernel  Allows writing managed code in the Java language  Developed by Google and later the Open Handset Alliance (OHA)
  • 5. ANDROID What is Open Handset Alliance (OHA)?  It's a consortium of several companies
  • 6. ANDROID Features What is Android features?  Application framework enabling reuse and replacement of components  Dalvik virtual machine optimized for mobile devices  Integrated browser based on the open source WebKit engine  Optimized graphics powered by a custom 2D graphics library; 3D graphics based on the OpenGL ES 1.0 specification (hardware acceleration optional)  SQLite for structured data storage
  • 7. ANDROID Features  Media support for common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)  GSM Telephony (hardware dependent)  Bluetooth, EDGE, 3G, and WiFi (hardware dependent)  Camera, GPS, compass, and accelerometer (hardware dependent)  Rich development environment including a device emulator, tools for debugging, memory and performance profiling, and a plugin for the Eclipse IDE
  • 9. Applications  Android will ship with a set of core applications including an email client, SMS program, calendar, maps, browser, contacts, and others. All applications are written using the Java programming language
  • 10. Applications framework  By providing an open development platform, Android offers developers the ability to build extremely rich and innovative applications. Developers are free to take advantage of the device hardware, access location information, run background services, set alarms, add notifications to the status bar, and much, much more.
  • 11. Applications framework  Underlying all applications is a set of services and systems, including:  A rich and extensible set of Views that can be used to build an application, including lists, grids, text boxes, buttons, and even an embeddable web browser  Content Providers that enable applications to access data from other applications (such as Contacts), or to share their own data  A Resource Manager, providing access to non-code resources such as localized strings, graphics, and layout files
  • 12. Applications framework  A Notification Manager that enables all applications to display custom alerts in the status bar  An Activity Manager that manages the lifecycle of applications and provides a common navigation backstack
  • 13. Libraries  Android includes a set of C/C++ libraries used by various components of the Android system. Some of the core libraries are listed below:  System C library - a BSD-derived implementation of the standard C system library (libc), tuned for embedded Linux-based devices  Media Libraries - based on PacketVideo's OpenCORE; the libraries support playback and recording of many popular audio and video formats, as well as static image files, including MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG
  • 14. Libraries  Surface Manager - manages access to the display subsystem and seamlessly composites 2D and 3D graphic layers from multiple applications  LibWebCore - a modern web browser engine which powers both the Android browser and an embeddable web view  SGL - the underlying 2D graphics engine  3D libraries - an implementation based on OpenGL ES 1.0 APIs; the libraries use either hardware 3D acceleration (where available) or the included, highly optimized 3D software rasterizer
  • 15. Libraries  FreeType - bitmap and vector font rendering  SQLite - a powerful and lightweight relational database engine available to all applications
  • 16. Android Runtime  Android includes a set of core libraries that provides most of the functionality available in the core libraries of the Java programming language.  Every Android application runs in its 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 Dalvik VM relies on the Linux kernel for underlying functionality such as threading and low-level memory management.
  • 17. Linux Kernel  Android relies on Linux version 2.6 for core system services such as security, memory management, process management, network stack, and driver model.  The kernel also acts as an abstraction layer between the hardware and the rest of the software stack.
  • 18. Application Fundamentals  Android applications are written in the Java programming language. The Android SDK tools compile the code—along with any data and resource files—into an Android package, an archive file with an .apk suffix. All the code in a single .apk file is considered to be one application and is the file that Android-powered devices use to install the application.
  • 19. Application Components  Application components are the essential building blocks of an Android application.  Each component is a different point through which the system can enter your application.  There are four different types of application components. Each type serves a distinct purpose and has a distinct lifecycle that defines how the component is created and destroyed.  Activities  Services  Content providers  Broadcast Receivers
  • 20. Activities  An activity represents a single screen with a user interface.  For example, an email application might have one activity that shows a list of new emails, another activity to compose an email, and another activity for reading emails.
  • 21. Services  A service is a component that runs in the background to perform long-running operations or to perform work for remote processes.  A service does not provide a user interface.  For example, a service might play music in the background while the user is in a different application,
  • 22. Content providers  A content provider manages a shared set of application data. You can store the data in the file system, an SQLite database, on the web, or any other persistent storage location your application can access.  Content providers are also useful for reading and writing data that is private to your application and not shared. For example, the Note Pad sample application uses a content provider to save notes.
  • 23. Broadcast Receivers  A broadcast receiver is a component that responds to system-wide broadcast announcements. Many broadcasts originate from the system  for example, a broadcast announcing that the screen has turned off, the battery is low, or a picture was captured.  Applications can also initiate broadcasts  for example, to let other applications know that some data has been downloaded to the device and is available for them to use.
  • 24. Activating Component  Three of the four component types—activities, services, and broadcast receivers—are activated by an asynchronous message called an intent. Intents bind individual components to each other at runtime whether the component belongs to your application or another.  For activities and services, an intent defines the action to perform (for example, to "view" or "send" something)  For example, an intent might convey a request for an activity to show an image or to open a web page.  For broadcast receivers, the intent simply defines the announcement being broadcast (for example, a broadcast to indicate the device battery is low
  • 25. Application Resources  An Android application is composed of more than just code—it requires resources that are separate from the source code, such as images, audio files, and anything relating to the visual presentation of the application.

Hinweis der Redaktion

  1. Devoted to advancing open standards for mobile devices Develop technologies that will significantly lower the cost of developing and distributing mobile devices and services Android is under version 2 of the Apache Software License (ASL)
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. For example, you should define animations, menus, styles, colors, and the layout of activity user interfaces with XML files.