SlideShare a Scribd company logo
1 of 25
Download to read offline
Introduction to android platform
Agenda
 Android Stack
 Software development
Android Software Stack
Android S/W Stack - Linux Kernel
 Android Runs on Linux
•Android is based on the Linux kernel
• Android is not Linux
• No native windowing system
• No glibc
• Does not include full set of standard linux utilities
• Kernel source at http://git.android.com
 Providing an abstraction layer between the H/W and the rest of the S/W stack
 Relying on Linux Kernel 2.6 for core system services and uses only "Kernel" portion in Linux
 Memory and Process Management
 Network Stack
 Driver Model
 Security
• The supplied device drivers include Display, Camera, Keypad, WiFi, Flash Memory, Audio, and IPC
(inter-process communication).
• Adb command opens linux shell
Why Linux kernel for Android ?
•Great memory and process management
•Great permissions based security model
• Proven driver model
•Support for shared libraries
• It’s already open source
Android S/W Stack - Linux Kernel (Cont)
Typical Directory Tree of Android
Android S/W Stack - Linux Kernel (Cont)
Boot sequence
• Alarm
• Ashmem
• Binder
• Power Management
• Low memory killer
• Kernel debugger
• Logger
Kernel Enhancements
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
Android S/W Stack - Runtime
 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 so that a device can run multiple VMs efficiently.
 Register-based virtual machine
 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
 executes dex code, which is translated
 from Java byte code
 16bit, register based
 cf. Java bytecode is 8bit, stack based
Android S/W Stack - Libraries
 Including a set of C/C++ libraries used by components of the Android system
 Exposed to developers through the Android application framework
 Libc: Stucture c standard lib.
 SSL: Secure Socket Layer
 SGL: Underling 2D grapics engine
 OpenGL|ES: 3D image engine
 Media Framework: Core part of
Android multi-media –
MPEG4,H.264,MP3,AAC,AMR,JPG,P
NG
 SQLite: Light wait relational Embedded
database
 WebKit: Kernel of web browser
 FreeType: Bitmap and Vector font
renderer
 SufraceManager: Manage difference
windows for different applications
Android S/W Stack - Libraries
• The media libraries are based on PacketVideo’s
(http://www.packetvideo.com/) OpenCORE. These libraries are
responsible for recording and playback of audio and video
formats.
• A library called Surface Manager controls access to the display
system and supports 2D and 3D.
• The WebKit library is responsible for browser support; it is the
same library that supports Google Chrome and Apple Inc.’s
Safari.
• The FreeType library is responsible for font support.
• SQLite (http://www.sqlite.org/) is a relational database that is
available on the device itself. SQLite is also an independent open
source effort for relational databases and not directly tied to
Android. You can acquire and use tools meant for SQLite for
Android databases as well.
Android S/W Stack - App Framework
 Most of the application framework accesses these core libraries through the Dalvik VM, the
gateway to the Android Platform
 An application can broadcast its capabilities so that other applications can reuse these
functionalities
View System Used to build an application, including lists, grids, text boxes, buttons, and embedded
web browser
Content Provider Enabling applications to access data from other
applications or to share their own data
Resource Manager Providing access to non-code resources (localized string, graphics, and layout files)
Notification Manager Enabling all applications to display customer alerts in the status bar
Activity Manager Managing the lifecycle of applications and providing
a common navigation backstack
Android S/W Stack - App Framework (Cont)
Android S/W Stack - App Framework (Cont)
Android S/W Stack - App Framework (Cont)
Android S/W Stack - App Framework (Cont)
Android S/W Stack - App Framework (Cont)
Android S/W Stack - Application
 Android provides a set of predefined core applications, which handles the phone basic features
 These are replaceable applications
 Examples :
 Email Client
 SMS Program
 Calendar
 Maps
 Browser
 Contacts
 Etc
 All applications are written using the Java language.
Android S/W Stack - language
Application Architecture
Software development
•Development requirements
• Java
• Android SDK
•IDE and Tools
•Android SDK
 Class Library
 Developer Tools
 Emulator and System Images
 Documentation and Sample Code
•Eclipse IDE + ADT (Android Development Tools)
 Reduces Development and Testing Time
 Makes User Interface-Creation easier
 Makes Application Description Easier
Android SDK
android.jar Java archive file containing all of the Android SDK classes necessary to build
your application.
documention.html and docs directory The SDK documentation is provided locally and
on the Web. It's largely in the form of JavaDocs, making it easy to navigate the many
packages in the SDK. The documentation also includes a high-level Development Guide and
links to the broader Android community.
Samples directory The samples subdirectory contains full source code for a variety of
applications, including ApiDemo, which exercises many APIs. The sample application is a
great place to explore when starting Android application development.
Tools directory Contains all of the command-line tools to build Android applications. The
most commonly employed and useful tool is the adbutility (Android Debug Bridge).
Usb_driverDirectory containing the necessary drivers to connect the development
environment to an Android-enabled device, such as the G1 or the Android Dev 1 unlocked
development phone. These files are only required for developers using the Windows
platform.
Android Tools
Emulator
Android applications may be run
on a real device or on the Android
Emulator, which ships with the
Android SDK.
•ADB (Android Debug Bridge)
The ADB utility lets you connect
to the phone itself and issue
rudimentary shell commands,
such as copying files to and from
the device
Advantages
Benefits
Open Platform/License Free
Robust OS Kernel, Innovative Library Packages
Ease App. Development
Rapid Improvement
Challenges
Performance Consideration
Hard to Integrate for Vendors
Too Much Google Dependent
Key Factor: Market Response
Questions?

More Related Content

What's hot

Android the new Mobile Technoogy
Android the new Mobile TechnoogyAndroid the new Mobile Technoogy
Android the new Mobile Technoogypoojapainter
 
Android basic principles
Android basic principlesAndroid basic principles
Android basic principlesHenk Laracker
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App DevelopmentAbhijeet Gupta
 
Basic android-ppt
Basic android-pptBasic android-ppt
Basic android-pptSrijib Roy
 
android-tutorial-for-beginner
android-tutorial-for-beginnerandroid-tutorial-for-beginner
android-tutorial-for-beginnerAjailal Parackal
 
Android- Introduction for Beginners
Android- Introduction for BeginnersAndroid- Introduction for Beginners
Android- Introduction for BeginnersTripti Tiwari
 
Android Training (Media)
Android Training (Media)Android Training (Media)
Android Training (Media)Khaled Anaqwa
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to androidJindal Gohil
 
Android Design Architecture
Android Design ArchitectureAndroid Design Architecture
Android Design ArchitectureRakesh Jha
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guidemagicshui
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App DevelopmentMike Kvintus
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorialmaster760
 
Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersBoom Shukla
 

What's hot (20)

Android the new Mobile Technoogy
Android the new Mobile TechnoogyAndroid the new Mobile Technoogy
Android the new Mobile Technoogy
 
Ci for Android
Ci for AndroidCi for Android
Ci for Android
 
Android basic principles
Android basic principlesAndroid basic principles
Android basic principles
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App Development
 
Android Basic Concept
Android Basic Concept Android Basic Concept
Android Basic Concept
 
Basic android-ppt
Basic android-pptBasic android-ppt
Basic android-ppt
 
Android
AndroidAndroid
Android
 
Android Seminar
Android SeminarAndroid Seminar
Android Seminar
 
Android Basic
Android BasicAndroid Basic
Android Basic
 
Android
Android Android
Android
 
android-tutorial-for-beginner
android-tutorial-for-beginnerandroid-tutorial-for-beginner
android-tutorial-for-beginner
 
Android- Introduction for Beginners
Android- Introduction for BeginnersAndroid- Introduction for Beginners
Android- Introduction for Beginners
 
Android Training (Media)
Android Training (Media)Android Training (Media)
Android Training (Media)
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android Design Architecture
Android Design ArchitectureAndroid Design Architecture
Android Design Architecture
 
Android installation guide
Android installation guideAndroid installation guide
Android installation guide
 
Intro To Android App Development
Intro To Android App DevelopmentIntro To Android App Development
Intro To Android App Development
 
Android tutorial
Android tutorialAndroid tutorial
Android tutorial
 
Android fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginnersAndroid fundamentals and tutorial for beginners
Android fundamentals and tutorial for beginners
 

Viewers also liked

01 04 - android set up and creating an android project
01  04 - android set up and creating an android project01  04 - android set up and creating an android project
01 04 - android set up and creating an android projectSiva Kumar reddy Vasipally
 
01 09 - graphical user interface - basic widgets
01  09 - graphical user interface - basic widgets01  09 - graphical user interface - basic widgets
01 09 - graphical user interface - basic widgetsSiva Kumar reddy Vasipally
 
Windows 8 introduction
Windows 8 introductionWindows 8 introduction
Windows 8 introductionVivian Alive
 
Head First XML Layout on Android
Head First XML Layout on AndroidHead First XML Layout on Android
Head First XML Layout on AndroidYuki Anzai
 
Toll app - Android project
Toll app - Android projectToll app - Android project
Toll app - Android projectArun prasath
 
Android Programming Basic
Android Programming BasicAndroid Programming Basic
Android Programming BasicDuy Do Phan
 
05. Power Supply Unit (PSU)
05. Power Supply Unit (PSU)05. Power Supply Unit (PSU)
05. Power Supply Unit (PSU)Akhila Dakshina
 
Windows 8.1 seminar presentation
Windows 8.1 seminar presentationWindows 8.1 seminar presentation
Windows 8.1 seminar presentationAnkitKumarBansal5
 
Comparison of Windows 7 & Windows 8
Comparison of Windows 7 & Windows 8Comparison of Windows 7 & Windows 8
Comparison of Windows 7 & Windows 8Vibhanshu Chaturvedi
 
Windows8 presentation
Windows8 presentationWindows8 presentation
Windows8 presentationChris Gormley
 
How to install windows 7
How to install windows 7How to install windows 7
How to install windows 7elboob2025
 

Viewers also liked (20)

01 05 - introduction xml
01  05 - introduction xml01  05 - introduction xml
01 05 - introduction xml
 
01 04 - android set up and creating an android project
01  04 - android set up and creating an android project01  04 - android set up and creating an android project
01 04 - android set up and creating an android project
 
01 07 -android programming basics (cont)
01  07 -android programming basics (cont)01  07 -android programming basics (cont)
01 07 -android programming basics (cont)
 
01 08 - graphical user interface - layouts
01  08 - graphical user interface - layouts01  08 - graphical user interface - layouts
01 08 - graphical user interface - layouts
 
01 09 - graphical user interface - basic widgets
01  09 - graphical user interface - basic widgets01  09 - graphical user interface - basic widgets
01 09 - graphical user interface - basic widgets
 
01 06 - android programming basics
01  06 - android programming basics01  06 - android programming basics
01 06 - android programming basics
 
Servidores web
Servidores webServidores web
Servidores web
 
L14 hengr
L14 hengrL14 hengr
L14 hengr
 
Windows 8 introduction
Windows 8 introductionWindows 8 introduction
Windows 8 introduction
 
Basic Android Layout
Basic Android LayoutBasic Android Layout
Basic Android Layout
 
Head First XML Layout on Android
Head First XML Layout on AndroidHead First XML Layout on Android
Head First XML Layout on Android
 
Toll app - Android project
Toll app - Android projectToll app - Android project
Toll app - Android project
 
Android Programming
Android ProgrammingAndroid Programming
Android Programming
 
Android Programming Basic
Android Programming BasicAndroid Programming Basic
Android Programming Basic
 
05. Power Supply Unit (PSU)
05. Power Supply Unit (PSU)05. Power Supply Unit (PSU)
05. Power Supply Unit (PSU)
 
Windows 8.1 seminar presentation
Windows 8.1 seminar presentationWindows 8.1 seminar presentation
Windows 8.1 seminar presentation
 
Comparison of Windows 7 & Windows 8
Comparison of Windows 7 & Windows 8Comparison of Windows 7 & Windows 8
Comparison of Windows 7 & Windows 8
 
Windows8 presentation
Windows8 presentationWindows8 presentation
Windows8 presentation
 
How to install windows 7
How to install windows 7How to install windows 7
How to install windows 7
 
Windows 8 ppt
Windows 8 pptWindows 8 ppt
Windows 8 ppt
 

Similar to 01 02 - introduction - adroid stack

Getting started with android
Getting started with androidGetting started with android
Getting started with androidamitgb
 
Presentation for Android OS
Presentation for Android OSPresentation for Android OS
Presentation for Android OSMukul Cool
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorialnazzf
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorialMohammad Taj
 
Android platform overview
Android platform overviewAndroid platform overview
Android platform overviewtamilmani1020
 
Android platform overview
Android platform overviewAndroid platform overview
Android platform overviewmagicshui
 
Curso de Desenvolvimento Mobile - Android - Stack
Curso de Desenvolvimento Mobile - Android - StackCurso de Desenvolvimento Mobile - Android - Stack
Curso de Desenvolvimento Mobile - Android - StackJackson F. de A. Mafra
 
Android architecture
Android architectureAndroid architecture
Android architecturefahim shahzad
 
Lecture slides introduction_introduction
Lecture slides introduction_introductionLecture slides introduction_introduction
Lecture slides introduction_introductionBadr Benali
 
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 Introduction
Android IntroductionAndroid Introduction
Android Introductionmehfooz7007
 
Androidoverview 100405150711-phpapp01
Androidoverview 100405150711-phpapp01Androidoverview 100405150711-phpapp01
Androidoverview 100405150711-phpapp01Santosh Sh
 
Android Architecture design programming with java
Android Architecture design programming with javaAndroid Architecture design programming with java
Android Architecture design programming with javassuser471dfb
 
Android understanding
Android understandingAndroid understanding
Android understandingRamesh Rao
 
presentation on Android
presentation on Android presentation on Android
presentation on Android nipun pasnoori
 

Similar to 01 02 - introduction - adroid stack (20)

Getting started with android
Getting started with androidGetting started with android
Getting started with android
 
Presentation for Android OS
Presentation for Android OSPresentation for Android OS
Presentation for Android OS
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
 
Android development tutorial
Android development tutorialAndroid development tutorial
Android development tutorial
 
Android platform overview
Android platform overviewAndroid platform overview
Android platform overview
 
Android platform overview
Android platform overviewAndroid platform overview
Android platform overview
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android My Seminar
Android My SeminarAndroid My Seminar
Android My Seminar
 
Curso de Desenvolvimento Mobile - Android - Stack
Curso de Desenvolvimento Mobile - Android - StackCurso de Desenvolvimento Mobile - Android - Stack
Curso de Desenvolvimento Mobile - Android - Stack
 
Android architecture
Android architectureAndroid architecture
Android architecture
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Android Anatomy
Android  AnatomyAndroid  Anatomy
Android Anatomy
 
Lecture slides introduction_introduction
Lecture slides introduction_introductionLecture slides introduction_introduction
Lecture slides introduction_introduction
 
Android apps
Android appsAndroid apps
Android apps
 
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 Introduction
Android IntroductionAndroid Introduction
Android Introduction
 
Androidoverview 100405150711-phpapp01
Androidoverview 100405150711-phpapp01Androidoverview 100405150711-phpapp01
Androidoverview 100405150711-phpapp01
 
Android Architecture design programming with java
Android Architecture design programming with javaAndroid Architecture design programming with java
Android Architecture design programming with java
 
Android understanding
Android understandingAndroid understanding
Android understanding
 
presentation on Android
presentation on Android presentation on Android
presentation on Android
 

Recently uploaded

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
 
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
 
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
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
🐬 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
 
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 Takeoffsammart93
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 

Recently uploaded (20)

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...
 
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
 
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
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

01 02 - introduction - adroid stack

  • 2. Agenda  Android Stack  Software development
  • 4. Android S/W Stack - Linux Kernel  Android Runs on Linux •Android is based on the Linux kernel • Android is not Linux • No native windowing system • No glibc • Does not include full set of standard linux utilities • Kernel source at http://git.android.com  Providing an abstraction layer between the H/W and the rest of the S/W stack  Relying on Linux Kernel 2.6 for core system services and uses only "Kernel" portion in Linux  Memory and Process Management  Network Stack  Driver Model  Security • The supplied device drivers include Display, Camera, Keypad, WiFi, Flash Memory, Audio, and IPC (inter-process communication). • Adb command opens linux shell
  • 5. Why Linux kernel for Android ? •Great memory and process management •Great permissions based security model • Proven driver model •Support for shared libraries • It’s already open source
  • 6. Android S/W Stack - Linux Kernel (Cont) Typical Directory Tree of Android
  • 7. Android S/W Stack - Linux Kernel (Cont) Boot sequence • Alarm • Ashmem • Binder • Power Management • Low memory killer • Kernel debugger • Logger Kernel Enhancements
  • 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
  • 9. Android S/W Stack - Runtime  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 so that a device can run multiple VMs efficiently.  Register-based virtual machine  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  executes dex code, which is translated  from Java byte code  16bit, register based  cf. Java bytecode is 8bit, stack based
  • 10. Android S/W Stack - Libraries  Including a set of C/C++ libraries used by components of the Android system  Exposed to developers through the Android application framework  Libc: Stucture c standard lib.  SSL: Secure Socket Layer  SGL: Underling 2D grapics engine  OpenGL|ES: 3D image engine  Media Framework: Core part of Android multi-media – MPEG4,H.264,MP3,AAC,AMR,JPG,P NG  SQLite: Light wait relational Embedded database  WebKit: Kernel of web browser  FreeType: Bitmap and Vector font renderer  SufraceManager: Manage difference windows for different applications
  • 11. Android S/W Stack - Libraries • The media libraries are based on PacketVideo’s (http://www.packetvideo.com/) OpenCORE. These libraries are responsible for recording and playback of audio and video formats. • A library called Surface Manager controls access to the display system and supports 2D and 3D. • The WebKit library is responsible for browser support; it is the same library that supports Google Chrome and Apple Inc.’s Safari. • The FreeType library is responsible for font support. • SQLite (http://www.sqlite.org/) is a relational database that is available on the device itself. SQLite is also an independent open source effort for relational databases and not directly tied to Android. You can acquire and use tools meant for SQLite for Android databases as well.
  • 12. Android S/W Stack - App Framework  Most of the application framework accesses these core libraries through the Dalvik VM, the gateway to the Android Platform  An application can broadcast its capabilities so that other applications can reuse these functionalities View System Used to build an application, including lists, grids, text boxes, buttons, and embedded web browser Content Provider Enabling applications to access data from other applications or to share their own data Resource Manager Providing access to non-code resources (localized string, graphics, and layout files) Notification Manager Enabling all applications to display customer alerts in the status bar Activity Manager Managing the lifecycle of applications and providing a common navigation backstack
  • 13. Android S/W Stack - App Framework (Cont)
  • 14. Android S/W Stack - App Framework (Cont)
  • 15. Android S/W Stack - App Framework (Cont)
  • 16. Android S/W Stack - App Framework (Cont)
  • 17. Android S/W Stack - App Framework (Cont)
  • 18. Android S/W Stack - Application  Android provides a set of predefined core applications, which handles the phone basic features  These are replaceable applications  Examples :  Email Client  SMS Program  Calendar  Maps  Browser  Contacts  Etc  All applications are written using the Java language.
  • 19. Android S/W Stack - language
  • 21. Software development •Development requirements • Java • Android SDK •IDE and Tools •Android SDK  Class Library  Developer Tools  Emulator and System Images  Documentation and Sample Code •Eclipse IDE + ADT (Android Development Tools)  Reduces Development and Testing Time  Makes User Interface-Creation easier  Makes Application Description Easier
  • 22. Android SDK android.jar Java archive file containing all of the Android SDK classes necessary to build your application. documention.html and docs directory The SDK documentation is provided locally and on the Web. It's largely in the form of JavaDocs, making it easy to navigate the many packages in the SDK. The documentation also includes a high-level Development Guide and links to the broader Android community. Samples directory The samples subdirectory contains full source code for a variety of applications, including ApiDemo, which exercises many APIs. The sample application is a great place to explore when starting Android application development. Tools directory Contains all of the command-line tools to build Android applications. The most commonly employed and useful tool is the adbutility (Android Debug Bridge). Usb_driverDirectory containing the necessary drivers to connect the development environment to an Android-enabled device, such as the G1 or the Android Dev 1 unlocked development phone. These files are only required for developers using the Windows platform.
  • 23. Android Tools Emulator Android applications may be run on a real device or on the Android Emulator, which ships with the Android SDK. •ADB (Android Debug Bridge) The ADB utility lets you connect to the phone itself and issue rudimentary shell commands, such as copying files to and from the device
  • 24. Advantages Benefits Open Platform/License Free Robust OS Kernel, Innovative Library Packages Ease App. Development Rapid Improvement Challenges Performance Consideration Hard to Integrate for Vendors Too Much Google Dependent Key Factor: Market Response