Android Application Development
      Android Internals: A Quick Overview




                                                    Ahsanul Karim
                                      ahsanul.karim@sentinelbd.com
Workshop: Day 1 Part 2                     Sentinel Solutions Ltd.
                                          http://www.sentinelbd.com
                                 http://androidstream.wordpress.com
What is Android?
An Open Platform for Mobile Development
Google’s Andy Rubin describes Android as:

The first truly open and comprehensive platform for mobile devices,
all of the software to run a mobile phone but without   the
proprietary obstacles that have hindered mobile innovation

  Android is a software    stack for wide range of devices
  including mobiles, tablets and televisions that includes an
       Operating System
       Middleware
       Key Applications.
The Stack
The Stack: Linux Kernel
Android runs of Linux
Linux provides:
1. Hardware Abstraction
    Layer
2. Memory Management
3. Process Management
4. Networking

Users never see Linux sub-
system

(adb shell commands opens
Linux shell we’ll see later)
The Stack: Linux Kernel
Android runs of Linux
Linux provides:
1. Hardware Abstraction
    Layer
2. Memory Management
3. Process Management
4. Networking

Users never see Linux sub-
system

(adb shell commands opens
Linux shell we’ll see later)
The Stack: Native Libraries
Bionic, a super fast and small
GPL-based libc library optimized
for embedded use.
Surface Manager for composing
window manager with off-
screen buffering.
2D and 3D graphics hardware
support or software simulation.
Media codecs offer support for
major audio/video codecs
SQLite database
WebKit library for fast HTML
rendering
The Stack: Android Runtime
  Dalvik VM
Every Android app runs in its own process,
with its own instance of the Dalvik VM.

  Why Dalvik VM?
 1.   Optimized
 2.   Small memory footprints
 3.   Register based architecture
 4.   Security
 5.   Or may be Google’s trick to
      avoid SUN’s lawsuit
The Stack: Application Framework
Activity Manager controls the life
cycle of the app

Resource Manager manages
everything that is not the code

Location Manager figures out the
location of the phone (GPS, GSM,
WiFi)

Notification Manager for events
such as arriving messages,
appointments, etc
The Stack: Applications
Shipped Apps:
an email client,
SMS program,
calendar, maps,
browser, contacts etc.

Third Party Apps

This is where we
        are
What is Android SDK
Provides all necessary tools to develop Android applications. This includes
1.   a compiler,
2.   debugger
3.   a device emulator,
4.   Own virtual machine to run Android programs.


 background processing rich user interface library
     OpenGL libraries access to the file system
                     embedded    SQLite database
Android SDK Features
Features/APIs
Connectivity+Telephony   GSM, EDGE, 3G, 4G, and LTE data transfer+calls+SMS

Location API             APIs for GPS and Network based location detection

MAP Controls             Full support for map integration+controls

Multimedia               Full Multimedia hardware control
                         (camera+recorder+audio+video+still images)
Sensors                  APIs for using sensor hardware including
                         accelerometer, compasses, barometers etc.
Bluetooth & NFC          Peer to peer communication

C2DM                     Cloud to Device Messaging (Push Notification)
Android SDK Features
Features/APIs
Shared Data Stores          Shared Data Stores, APIs for contacts, social networks,
                            calendar and multimedia
Background Services         Background Services and processes

Home Screen Widgets+ Live
Wallpaper
HTML5 Web-kit browser

Localization Framework

Reuse of Application
component
SQLite Data storage
Android Features (Cont.)

            Accelerometer     GPS




    Thermal Sensor
                                               Your App
                                        +     With logic to
                                                Actuate
                                                              =

    Gyroscope




          Light Sensor                                            TTS
                                       Voice Search
                     Magnetic Sensor

More Related Content

PPTX
Android before getting started
PDF
Day 2 android internals a quick overview
PDF
Day1 before getting_started
PPTX
Introduction to Android Development: Before Getting Started
ODP
Introduction to Android App Development
PPT
Industrial Training in Android Application
PPT
android-tutorial-for-beginner
PPTX
Android summer training report
Android before getting started
Day 2 android internals a quick overview
Day1 before getting_started
Introduction to Android Development: Before Getting Started
Introduction to Android App Development
Industrial Training in Android Application
android-tutorial-for-beginner
Android summer training report

What's hot (20)

PDF
Android App Development Intro at ESC SV 2012
PDF
Android Development in a Nutshell
PDF
Os eclipse-androidwidget-pdf
PDF
Synopsis on android nougat
PPT
Introduction to Android
PPT
Android Application Development Using Java
PDF
লেকচার ১ (ক)- শুরুর আগে:
PDF
Android : Architecture & Components
DOCX
Questions About Android Application Development
PPTX
Android basic principles
PPTX
Android Development Training
PDF
AndroidManifest
PPTX
Introduction to Android Development
PPT
Android development tutorial
PPTX
Basic of Android App Development
PDF
Android development basics
PDF
Lecture 1 Session 1 Before Getting Started
ZIP
Android Application Development
PDF
Android Development: Build Android App from Scratch
Android App Development Intro at ESC SV 2012
Android Development in a Nutshell
Os eclipse-androidwidget-pdf
Synopsis on android nougat
Introduction to Android
Android Application Development Using Java
লেকচার ১ (ক)- শুরুর আগে:
Android : Architecture & Components
Questions About Android Application Development
Android basic principles
Android Development Training
AndroidManifest
Introduction to Android Development
Android development tutorial
Basic of Android App Development
Android development basics
Lecture 1 Session 1 Before Getting Started
Android Application Development
Android Development: Build Android App from Scratch
Ad

Viewers also liked (20)

PPTX
Android 1.8 sensor
PDF
Day 1 Android: Before Getting Started
PPT
Multiple Activity and Navigation Primer
PPTX
Day 15: Content Provider: Using Contacts API
PPTX
Day 15: Working in Background
PPT
Day: 2 Environment Setup for Android Application Development
PDF
Lecture 5: Storage: Saving Data Database, Files & Preferences
PPTX
Android GPS Tutorial
PPTX
Android MapView and MapActivity
PPTX
Day 9: Make Your App Location Aware using Location API
PDF
List Views
PPTX
Creating the first app with android studio
PPTX
Android User Interface Tutorial: DatePicker, TimePicker & Spinner
PPTX
Action Bar Sherlock tutorial
PDF
Training android
PDF
Sensors in Android (old)
PPTX
Android Workshop: Day 1 Part 3
PPTX
Day: 1 Introduction to Mobile Application Development (in Android)
PPTX
Android Services
PPT
Day 4: Android: Getting Active through Activities
Android 1.8 sensor
Day 1 Android: Before Getting Started
Multiple Activity and Navigation Primer
Day 15: Content Provider: Using Contacts API
Day 15: Working in Background
Day: 2 Environment Setup for Android Application Development
Lecture 5: Storage: Saving Data Database, Files & Preferences
Android GPS Tutorial
Android MapView and MapActivity
Day 9: Make Your App Location Aware using Location API
List Views
Creating the first app with android studio
Android User Interface Tutorial: DatePicker, TimePicker & Spinner
Action Bar Sherlock tutorial
Training android
Sensors in Android (old)
Android Workshop: Day 1 Part 3
Day: 1 Introduction to Mobile Application Development (in Android)
Android Services
Day 4: Android: Getting Active through Activities
Ad

Similar to Android Workshop Day 1 Part 2 (20)

PDF
Ch1 hello, android
PDF
20IT601PE - Mobile Application Development PPT.pdf
PDF
Google Android @ AlphaCSP's JavaEdge
PPTX
18ITT61 - Introduction.pptx
PPSX
Android Introduction
PDF
Embedded Android Workshop
DOCX
Android..overwiew
PDF
Embedded Android Workshop at Android Open 2011
PPTX
Android architecture
PDF
Embedded Android Workshop at Embedded Linux Conference Europe 2011
PPT
My androidpresentation
PDF
Android jumpstart at ESC Boston 2011
PDF
Android fundamentals and tutorial for beginners
PDF
Android : Revolutionizing Mobile Devices
PDF
Embedded Android Workshop at Embedded World Conference 2013
PDF
Embedded Android Workshop at ELC Europe
PPTX
Cross compiling android applications
PDF
Android Introduction by Kajal
PPTX
01. Introduction to Android_lecture1.pptx
PPT
Android Anatomy
Ch1 hello, android
20IT601PE - Mobile Application Development PPT.pdf
Google Android @ AlphaCSP's JavaEdge
18ITT61 - Introduction.pptx
Android Introduction
Embedded Android Workshop
Android..overwiew
Embedded Android Workshop at Android Open 2011
Android architecture
Embedded Android Workshop at Embedded Linux Conference Europe 2011
My androidpresentation
Android jumpstart at ESC Boston 2011
Android fundamentals and tutorial for beginners
Android : Revolutionizing Mobile Devices
Embedded Android Workshop at Embedded World Conference 2013
Embedded Android Workshop at ELC Europe
Cross compiling android applications
Android Introduction by Kajal
01. Introduction to Android_lecture1.pptx
Android Anatomy

More from Ahsanul Karim (12)

PDF
Lecture 3 getting active through activities
PDF
Lecture 2(b) Android Internals A Quick Overview
PDF
Day 8: Dealing with Lists and ListViews
PDF
Day 8: Dealing with Lists and ListViews
PPT
Day 6: Android BroadcastReceiver Component
PPT
Day 5: Android User Interface [View Widgets]
DOC
Day 4: Activity lifecycle
PPT
Day 4: Android: UI Widgets
PDF
Mobile Banking in Bangladesh: An Incomplete Study
PDF
GCM for Android
PDF
Ui layout (incomplete)
PPTX
Client-Server
Lecture 3 getting active through activities
Lecture 2(b) Android Internals A Quick Overview
Day 8: Dealing with Lists and ListViews
Day 8: Dealing with Lists and ListViews
Day 6: Android BroadcastReceiver Component
Day 5: Android User Interface [View Widgets]
Day 4: Activity lifecycle
Day 4: Android: UI Widgets
Mobile Banking in Bangladesh: An Incomplete Study
GCM for Android
Ui layout (incomplete)
Client-Server

Recently uploaded (20)

PPTX
Neurology of Systemic disease all systems
PPTX
2025 High Blood Pressure Guideline Slide Set.pptx
DOCX
THEORY AND PRACTICE ASSIGNMENT SEMESTER MAY 2025.docx
PPTX
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
PDF
GIÁO ÁN TIẾNG ANH 7 GLOBAL SUCCESS (CẢ NĂM) THEO CÔNG VĂN 5512 (2 CỘT) NĂM HỌ...
PDF
Health aspects of bilberry: A review on its general benefits
PPTX
CHROMIUM & Glucose Tolerance Factor.pptx
PDF
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
PDF
Laparoscopic Imaging Systems at World Laparoscopy Hospital
PDF
Physical pharmaceutics two in b pharmacy
PPTX
operating_systems_presentations_delhi_nc
PPTX
Theoretical for class.pptxgshdhddhdhdhgd
PPTX
Copy of ARAL Program Primer_071725(1).pptx
PDF
faiz-khans about Radiotherapy Physics-02.pdf
PDF
African Communication Research: A review
PPTX
principlesofmanagementsem1slides-131211060335-phpapp01 (1).ppt
PPTX
MMW-CHAPTER-1-final.pptx major Elementary Education
DOCX
EDUCATIONAL ASSESSMENT ASSIGNMENT SEMESTER MAY 2025.docx
PDF
CHALLENGES FACED BY TEACHERS WHEN TEACHING LEARNERS WITH DEVELOPMENTAL DISABI...
PPTX
IT infrastructure and emerging technologies
Neurology of Systemic disease all systems
2025 High Blood Pressure Guideline Slide Set.pptx
THEORY AND PRACTICE ASSIGNMENT SEMESTER MAY 2025.docx
pharmaceutics-1unit-1-221214121936-550b56aa.pptx
GIÁO ÁN TIẾNG ANH 7 GLOBAL SUCCESS (CẢ NĂM) THEO CÔNG VĂN 5512 (2 CỘT) NĂM HỌ...
Health aspects of bilberry: A review on its general benefits
CHROMIUM & Glucose Tolerance Factor.pptx
WHAT NURSES SAY_ COMMUNICATION BEHAVIORS ASSOCIATED WITH THE COMP.pdf
Laparoscopic Imaging Systems at World Laparoscopy Hospital
Physical pharmaceutics two in b pharmacy
operating_systems_presentations_delhi_nc
Theoretical for class.pptxgshdhddhdhdhgd
Copy of ARAL Program Primer_071725(1).pptx
faiz-khans about Radiotherapy Physics-02.pdf
African Communication Research: A review
principlesofmanagementsem1slides-131211060335-phpapp01 (1).ppt
MMW-CHAPTER-1-final.pptx major Elementary Education
EDUCATIONAL ASSESSMENT ASSIGNMENT SEMESTER MAY 2025.docx
CHALLENGES FACED BY TEACHERS WHEN TEACHING LEARNERS WITH DEVELOPMENTAL DISABI...
IT infrastructure and emerging technologies

Android Workshop Day 1 Part 2

  • 1. Android Application Development Android Internals: A Quick Overview Ahsanul Karim [email protected] Workshop: Day 1 Part 2 Sentinel Solutions Ltd. http://www.sentinelbd.com http://androidstream.wordpress.com
  • 2. What is Android? An Open Platform for Mobile Development Google’s Andy Rubin describes Android as: The first truly open and comprehensive platform for mobile devices, all of the software to run a mobile phone but without the proprietary obstacles that have hindered mobile innovation Android is a software stack for wide range of devices including mobiles, tablets and televisions that includes an Operating System Middleware Key Applications.
  • 4. The Stack: Linux Kernel Android runs of Linux Linux provides: 1. Hardware Abstraction Layer 2. Memory Management 3. Process Management 4. Networking Users never see Linux sub- system (adb shell commands opens Linux shell we’ll see later)
  • 5. The Stack: Linux Kernel Android runs of Linux Linux provides: 1. Hardware Abstraction Layer 2. Memory Management 3. Process Management 4. Networking Users never see Linux sub- system (adb shell commands opens Linux shell we’ll see later)
  • 6. The Stack: Native Libraries Bionic, a super fast and small GPL-based libc library optimized for embedded use. Surface Manager for composing window manager with off- screen buffering. 2D and 3D graphics hardware support or software simulation. Media codecs offer support for major audio/video codecs SQLite database WebKit library for fast HTML rendering
  • 7. The Stack: Android Runtime Dalvik VM Every Android app runs in its own process, with its own instance of the Dalvik VM. Why Dalvik VM? 1. Optimized 2. Small memory footprints 3. Register based architecture 4. Security 5. Or may be Google’s trick to avoid SUN’s lawsuit
  • 8. The Stack: Application Framework Activity Manager controls the life cycle of the app Resource Manager manages everything that is not the code Location Manager figures out the location of the phone (GPS, GSM, WiFi) Notification Manager for events such as arriving messages, appointments, etc
  • 9. The Stack: Applications Shipped Apps: an email client, SMS program, calendar, maps, browser, contacts etc. Third Party Apps This is where we are
  • 10. What is Android SDK Provides all necessary tools to develop Android applications. This includes 1. a compiler, 2. debugger 3. a device emulator, 4. Own virtual machine to run Android programs. background processing rich user interface library OpenGL libraries access to the file system embedded SQLite database
  • 11. Android SDK Features Features/APIs Connectivity+Telephony GSM, EDGE, 3G, 4G, and LTE data transfer+calls+SMS Location API APIs for GPS and Network based location detection MAP Controls Full support for map integration+controls Multimedia Full Multimedia hardware control (camera+recorder+audio+video+still images) Sensors APIs for using sensor hardware including accelerometer, compasses, barometers etc. Bluetooth & NFC Peer to peer communication C2DM Cloud to Device Messaging (Push Notification)
  • 12. Android SDK Features Features/APIs Shared Data Stores Shared Data Stores, APIs for contacts, social networks, calendar and multimedia Background Services Background Services and processes Home Screen Widgets+ Live Wallpaper HTML5 Web-kit browser Localization Framework Reuse of Application component SQLite Data storage
  • 13. Android Features (Cont.) Accelerometer GPS Thermal Sensor Your App + With logic to Actuate = Gyroscope Light Sensor TTS Voice Search Magnetic Sensor