SlideShare a Scribd company logo
Mobile Application
Development
with ANDROIDd
What is Android?
• A software platform and operating system for mobile devices
• Based on the Linux kernel
• Developed by Google and later the Open Handset Alliance (OHA)
• Allows writing managed code in the Java language
Unveiling of the Android platform was announced on 5 November 2007 with
the founding of OHA
Introduction
History of Android
• Google acquired the startup company Android Inc. in 2005 to
start the development of the Android Platform. The key players at
Android Inc. included Andy Rubin, Rich Miner, Nick Sears, and
Chris White.
• In late 2007, a group of industry leaders came together around the
Android Platform to form the Open Handset Alliance
(http://www.openhandsetalliance.com).
• The Android SDK was first issued as an “early look” release in
November 2007.
• In September 2008 T-Mobile announced the availability of the T-
Mobile G1, the first smartphone based on the Android Platform.
• A few days after that, Google announced the availability of
Android SDK Release Candidate 1.0.
• In October 2008, Google made the source code of the Android
Platform available under Apache’s open source license.
History of Android
What is Open Handset Alliance?
• Quoting from www.OpenHandsetAlliance.com page
• “… Open Handset Alliance™, a group of 47
technology and mobile companies have come
together to accelerate innovation in mobile and offer
consumers a richer, less expensive, and better mobile
experience.
• Together we have developed Android™, the first
complete, open, and free mobile platform.
• We are committed to commercially deploy handsets and
services using the Android Platform. “
Introduction
What is the Open Handset Alliance (OHA)?
→ It's a consortium of several companies
Google Android
Open Handset Alliance Members
@2010 Mihail L. Sichitiu 8
Phones
HTC G1,
Droid,
Tattoo
Motorola Droid (X)
Suno S880 Samsung Galaxy Sony Ericsson
@2010 Mihail L. Sichitiu 9
Tablets
Velocity Micro Cruz Gome FlyTouch Acer beTouch
Dawa D7
Toshiba Android
SmartBook
Cisco Android Tablet
Hardware
Android is not a single piece of hardware; it's a complete, end-to-
end software platform that can be adapted to work on any number
of hardware configurations. Everything is there, from the bootloader
all the way up to the applications.
Platform
Google Android
Android’s Context: Mobile Market Player$
Stakeholders:
• Mobile network operators want to
lock down their networks,
controlling and metering traffic.
• Device manufacturers want to
differentiate themselves with
features, reliability, and price
points.
• Software vendors want complete
access to the hardware to deliver
cutting-edge applications.
The Maturing Mobile Experience
• Tomorrow?
The Maturing Mobile Experience
Android vs. Competitors
@2010 Mihail L. Sichitiu 15
Platform - The Android Software Stack
@2010 Mihail L. Sichitiu 16
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.
@2010 Mihail L. Sichitiu 17
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
@2010 Mihail L. Sichitiu 18
Android S/W Stack –
App Framework (Cont)
Feature Role
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
Location Manager
Notification Manager
Notification Manager
• How background app interact with users
• Consistent notification presentation
View System
View System
@2010 Mihail L. Sichitiu 24
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
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.
@2010 Mihail L. Sichitiu 26
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
Bruce Scharlau, University of Aberdeen,
2010
The Dalvik runtime is optimised for
mobile applications
Run multiple VMs efficiently
Each app has its own VM
Minimal memory footprint
@2010 Mihail L. Sichitiu 28
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
Bruce Scharlau, University of Aberdeen,
2010
Android applications are compiled to
Dalvik bytecode
Write app in Java
Compiled in Java
Transformed to Dalvik bytecode
Linux OS
Loaded into Dalvik VM
@2010 Mihail L. Sichitiu 30
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
• The supplied device drivers include Display, Camera, Keypad, WiFi,
Flash Memory, Audio, and IPC (interprocess communication).
 Providing an abstraction layer between the H/W and the rest of the
S/W stack
Network Connectivity
It supports wireless communications using:
 GSM mobile-phone technology
 3G
 Edge
 802.11 Wi-Fi networks
Platform
Google Android
Development requirements
• Java
• Android SDK
Software development
Google Android
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
Software development
Google Android
Here are a few other advantages Android offers you as a developer:
• The Android SDK is available for Windows, Mac and Linux, so you don’t need to
pay for new hardware to start writing applications.
• An SDK built on Java. If you’re familiar with the Java programming language,
you’re already halfway there.
• By distributing your application on Android Market, it’s available to hundreds of
thousands of users instantly. You’re not just limited to one store, because there are
alternatives, too. For instance, you can release your application on your own blog.
Amazon have recently been rumoured to be preparing their own Android app store
also.
• As well as the technical SDK documentation, new resources are being
published for Android developers as the platform gains popularity among both
users and developers.
Advantages
Google Android
Application Building Blocks
• Activity
• IntentReceiver
• Service
• ContentProvider
Activities
• Typically correspond to one UI screen
• But, they can:
– Be faceless
– Be in a floating window
– Return a value
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 IntentReceivers describe what
Intents they can service
Intents
GMail
Contacts
Home
Blogger
Chat
“Pick photo”
Picasa
Blogger
Photo
Gallery
Services
• Faceless components that run in the background
– E.g. music player, network download etc…
ContentProviders
• Enables sharing of data across applications
– E.g. address book, photo gallery
• Provides uniform APIs for:
– querying
– delete, update and insert.
• Content is represented by URI and MIME type

More Related Content

Similar to Introduction to Android.ppt (20)

PPTX
Android-Chapter01-Intro.pptx
Monika Poriye
 
PPTX
Android
Intekhab Alam Khan
 
PPTX
Android apps
SEO Web Services
 
PDF
Phonebook Directory or Address Book In Android
ABHISHEK DINKAR
 
PDF
Mobile Application Development-Lecture 01 & 02.pdf
AbdullahMunir32
 
PPTX
Outstanding Improvement Award Outstanding Improvement Award
pravinmali2191
 
PDF
Introduction to android
krishnastudent88
 
PPTX
Getting started with android
amitgb
 
PPT
An introduction to Android
Rajesh Jambukia
 
PDF
Android chapter01-intro
Couhp HD
 
PPTX
Android quick talk
SenthilKumar Selvaraj
 
DOC
Google android white paper
Sravan Reddy
 
PPTX
mobile application using flutter and android studio
abdibedilu2
 
PPTX
Intro to Mobile app development Android.pptx
itstehreem2830
 
PDF
Android and its feature
Shubham Kumar
 
PDF
Day 1 Android: Before Getting Started
Ahsanul Karim
 
PPTX
android
Akhil Kumar
 
PPT
Part 1 robot in the making
Michael Angelo Rivera
 
PDF
20IT601PE - Mobile Application Development PPT.pdf
vani15332
 
Android-Chapter01-Intro.pptx
Monika Poriye
 
Android apps
SEO Web Services
 
Phonebook Directory or Address Book In Android
ABHISHEK DINKAR
 
Mobile Application Development-Lecture 01 & 02.pdf
AbdullahMunir32
 
Outstanding Improvement Award Outstanding Improvement Award
pravinmali2191
 
Introduction to android
krishnastudent88
 
Getting started with android
amitgb
 
An introduction to Android
Rajesh Jambukia
 
Android chapter01-intro
Couhp HD
 
Android quick talk
SenthilKumar Selvaraj
 
Google android white paper
Sravan Reddy
 
mobile application using flutter and android studio
abdibedilu2
 
Intro to Mobile app development Android.pptx
itstehreem2830
 
Android and its feature
Shubham Kumar
 
Day 1 Android: Before Getting Started
Ahsanul Karim
 
android
Akhil Kumar
 
Part 1 robot in the making
Michael Angelo Rivera
 
20IT601PE - Mobile Application Development PPT.pdf
vani15332
 

More from ahmadfaisal744721 (20)

PDF
Introduction+to+AngularJS+with+logo+from+digital+ocean.pdf
ahmadfaisal744721
 
PPTX
Intoduction to Graph.pptx
ahmadfaisal744721
 
PPT
Topics-Ch4Ch5.ppt
ahmadfaisal744721
 
PPTX
db design and maintenance part 1.pptx
ahmadfaisal744721
 
PPTX
Chapter 4v4 Network protocols and standards 2.pptx
ahmadfaisal744721
 
PPTX
Chapter 4v4 Network protocols and standards 1.pptx
ahmadfaisal744721
 
PPTX
Chapter 3v3 Mobile communication systems.pptx
ahmadfaisal744721
 
PPTX
Chapter 2v4 Pervasive Computing systems, design and infrastructure 2.pptx
ahmadfaisal744721
 
PPTX
Chapter 2v4 Pervasive Computing systems, design and infrastructure 1.pptx
ahmadfaisal744721
 
PPT
Sec.0a--Intro to pervasive computing 9.ppt
ahmadfaisal744721
 
PPT
Sec.0a--Intro to pervasive computing 8.ppt
ahmadfaisal744721
 
PPT
Sec.0a--Intro to pervasive computing 7.ppt
ahmadfaisal744721
 
PPT
Sec.0a--Intro to pervasive computing 6.ppt
ahmadfaisal744721
 
PPT
Sec.0a--Intro to pervasive computing 5.ppt
ahmadfaisal744721
 
PPT
Sec.0a--Intro to pervasive computing 4.ppt
ahmadfaisal744721
 
PPT
Sec.0a--Intro to pervasive computing 3.ppt
ahmadfaisal744721
 
PPT
Sec.0a--Intro to pervasive computing 2.ppt
ahmadfaisal744721
 
PPT
Sec.0a--Intro to pervasive computing 1.ppt
ahmadfaisal744721
 
PPTX
write no image.pptx
ahmadfaisal744721
 
PPT
Topics-Ch4Ch5.ppt
ahmadfaisal744721
 
Introduction+to+AngularJS+with+logo+from+digital+ocean.pdf
ahmadfaisal744721
 
Intoduction to Graph.pptx
ahmadfaisal744721
 
Topics-Ch4Ch5.ppt
ahmadfaisal744721
 
db design and maintenance part 1.pptx
ahmadfaisal744721
 
Chapter 4v4 Network protocols and standards 2.pptx
ahmadfaisal744721
 
Chapter 4v4 Network protocols and standards 1.pptx
ahmadfaisal744721
 
Chapter 3v3 Mobile communication systems.pptx
ahmadfaisal744721
 
Chapter 2v4 Pervasive Computing systems, design and infrastructure 2.pptx
ahmadfaisal744721
 
Chapter 2v4 Pervasive Computing systems, design and infrastructure 1.pptx
ahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 9.ppt
ahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 8.ppt
ahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 7.ppt
ahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 6.ppt
ahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 5.ppt
ahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 4.ppt
ahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 3.ppt
ahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 2.ppt
ahmadfaisal744721
 
Sec.0a--Intro to pervasive computing 1.ppt
ahmadfaisal744721
 
write no image.pptx
ahmadfaisal744721
 
Topics-Ch4Ch5.ppt
ahmadfaisal744721
 
Ad

Recently uploaded (20)

PPTX
Accelerating EV Adoption by Ed de la Fuente
Forth
 
PDF
Download EC20C Service Repair Manual Pdf
Service Repair Manual
 
PDF
D40P-5 KOMATSU BULLDOZER PARTS MANUAL SN 10001-UP
Heavy Equipment Manual
 
PDF
JV25-3A KOMATSU ROLLER PARTS MANUAL 5001-UP
Heavy Equipment Manual
 
PDF
530B-1 KOMATSU WHEEL LOADER PARTS MANUAL SN 50001-UP
Heavy Equipment Manual
 
PDF
Instant Access Volvo EC15C Excavator Service Manual.pdf
Service Repair Manual
 
PDF
InterACT Road Automation Project H2020 - Brochure with Key Results
Pantelis Kanellopoulos
 
PDF
Compact Excavator Volvo EC15C Service Repair Manual.pdf
Service Repair Manual
 
PDF
Electric Submersible Pump Installation, Best Practices and Safety Guidelines
ganeshdukare428
 
PDF
interACT H2020 Project - Updated Roll Up Banner | June 2020
Pantelis Kanellopoulos
 
PDF
EC15C - Volvo Compact Excavator, C series SM.pdf
Service Repair Manual
 
PDF
D37PX-22 KOMATSU BULLDOZER PARTS MANUAL SN 60001-UP
Heavy Equipment Manual
 
PDF
Instant Download EC18c, Repair Manual.pdf
Service Repair Manual
 
PDF
MI Unit-2.pdf is a detailed presentation on microprocessors
parthverma831
 
PDF
FB13RL-14 Komatsu Forklift Shop Service Repair Manual
Heavy Equipment Manual
 
PDF
PC110R-1 Komatsu Hydraulic Excavator Parts Manual SN 2265010170-Up
Heavy Equipment Manual
 
PDF
PC160LC-7K-KA KOMATSU CRAWLER EXCAVATOR PARTS MANUAL K40001-UP
Heavy Equipment Manual
 
PDF
Instant Download EC17c, SM Workshop Guide
Service Repair Manual
 
PPTX
Summer Program Day 3 psychology boot camp
VardhaAnilKharbanda
 
PDF
FG45-7 Komatsu Forklift Trucks Parts Manual SN 100001-UP
Heavy Equipment Manual
 
Accelerating EV Adoption by Ed de la Fuente
Forth
 
Download EC20C Service Repair Manual Pdf
Service Repair Manual
 
D40P-5 KOMATSU BULLDOZER PARTS MANUAL SN 10001-UP
Heavy Equipment Manual
 
JV25-3A KOMATSU ROLLER PARTS MANUAL 5001-UP
Heavy Equipment Manual
 
530B-1 KOMATSU WHEEL LOADER PARTS MANUAL SN 50001-UP
Heavy Equipment Manual
 
Instant Access Volvo EC15C Excavator Service Manual.pdf
Service Repair Manual
 
InterACT Road Automation Project H2020 - Brochure with Key Results
Pantelis Kanellopoulos
 
Compact Excavator Volvo EC15C Service Repair Manual.pdf
Service Repair Manual
 
Electric Submersible Pump Installation, Best Practices and Safety Guidelines
ganeshdukare428
 
interACT H2020 Project - Updated Roll Up Banner | June 2020
Pantelis Kanellopoulos
 
EC15C - Volvo Compact Excavator, C series SM.pdf
Service Repair Manual
 
D37PX-22 KOMATSU BULLDOZER PARTS MANUAL SN 60001-UP
Heavy Equipment Manual
 
Instant Download EC18c, Repair Manual.pdf
Service Repair Manual
 
MI Unit-2.pdf is a detailed presentation on microprocessors
parthverma831
 
FB13RL-14 Komatsu Forklift Shop Service Repair Manual
Heavy Equipment Manual
 
PC110R-1 Komatsu Hydraulic Excavator Parts Manual SN 2265010170-Up
Heavy Equipment Manual
 
PC160LC-7K-KA KOMATSU CRAWLER EXCAVATOR PARTS MANUAL K40001-UP
Heavy Equipment Manual
 
Instant Download EC17c, SM Workshop Guide
Service Repair Manual
 
Summer Program Day 3 psychology boot camp
VardhaAnilKharbanda
 
FG45-7 Komatsu Forklift Trucks Parts Manual SN 100001-UP
Heavy Equipment Manual
 
Ad

Introduction to Android.ppt

  • 2. What is Android? • A software platform and operating system for mobile devices • Based on the Linux kernel • Developed by Google and later the Open Handset Alliance (OHA) • Allows writing managed code in the Java language Unveiling of the Android platform was announced on 5 November 2007 with the founding of OHA Introduction
  • 3. History of Android • Google acquired the startup company Android Inc. in 2005 to start the development of the Android Platform. The key players at Android Inc. included Andy Rubin, Rich Miner, Nick Sears, and Chris White. • In late 2007, a group of industry leaders came together around the Android Platform to form the Open Handset Alliance (http://www.openhandsetalliance.com). • The Android SDK was first issued as an “early look” release in November 2007. • In September 2008 T-Mobile announced the availability of the T- Mobile G1, the first smartphone based on the Android Platform. • A few days after that, Google announced the availability of Android SDK Release Candidate 1.0. • In October 2008, Google made the source code of the Android Platform available under Apache’s open source license.
  • 5. What is Open Handset Alliance? • Quoting from www.OpenHandsetAlliance.com page • “… Open Handset Alliance™, a group of 47 technology and mobile companies have come together to accelerate innovation in mobile and offer consumers a richer, less expensive, and better mobile experience. • Together we have developed Android™, the first complete, open, and free mobile platform. • We are committed to commercially deploy handsets and services using the Android Platform. “
  • 6. Introduction What is the Open Handset Alliance (OHA)? → It's a consortium of several companies Google Android
  • 8. @2010 Mihail L. Sichitiu 8 Phones HTC G1, Droid, Tattoo Motorola Droid (X) Suno S880 Samsung Galaxy Sony Ericsson
  • 9. @2010 Mihail L. Sichitiu 9 Tablets Velocity Micro Cruz Gome FlyTouch Acer beTouch Dawa D7 Toshiba Android SmartBook Cisco Android Tablet
  • 10. Hardware Android is not a single piece of hardware; it's a complete, end-to- end software platform that can be adapted to work on any number of hardware configurations. Everything is there, from the bootloader all the way up to the applications. Platform Google Android
  • 11. Android’s Context: Mobile Market Player$ Stakeholders: • Mobile network operators want to lock down their networks, controlling and metering traffic. • Device manufacturers want to differentiate themselves with features, reliability, and price points. • Software vendors want complete access to the hardware to deliver cutting-edge applications.
  • 12. The Maturing Mobile Experience • Tomorrow?
  • 13. The Maturing Mobile Experience
  • 15. @2010 Mihail L. Sichitiu 15 Platform - The Android Software Stack
  • 16. @2010 Mihail L. Sichitiu 16 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.
  • 17. @2010 Mihail L. Sichitiu 17 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
  • 18. @2010 Mihail L. Sichitiu 18 Android S/W Stack – App Framework (Cont) Feature Role 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
  • 21. Notification Manager • How background app interact with users • Consistent notification presentation
  • 24. @2010 Mihail L. Sichitiu 24 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
  • 25. 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.
  • 26. @2010 Mihail L. Sichitiu 26 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
  • 27. Bruce Scharlau, University of Aberdeen, 2010 The Dalvik runtime is optimised for mobile applications Run multiple VMs efficiently Each app has its own VM Minimal memory footprint
  • 28. @2010 Mihail L. Sichitiu 28 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
  • 29. Bruce Scharlau, University of Aberdeen, 2010 Android applications are compiled to Dalvik bytecode Write app in Java Compiled in Java Transformed to Dalvik bytecode Linux OS Loaded into Dalvik VM
  • 30. @2010 Mihail L. Sichitiu 30 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 • The supplied device drivers include Display, Camera, Keypad, WiFi, Flash Memory, Audio, and IPC (interprocess communication).  Providing an abstraction layer between the H/W and the rest of the S/W stack
  • 31. Network Connectivity It supports wireless communications using:  GSM mobile-phone technology  3G  Edge  802.11 Wi-Fi networks Platform Google Android
  • 32. Development requirements • Java • Android SDK Software development Google Android
  • 33. 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 Software development Google Android
  • 34. Here are a few other advantages Android offers you as a developer: • The Android SDK is available for Windows, Mac and Linux, so you don’t need to pay for new hardware to start writing applications. • An SDK built on Java. If you’re familiar with the Java programming language, you’re already halfway there. • By distributing your application on Android Market, it’s available to hundreds of thousands of users instantly. You’re not just limited to one store, because there are alternatives, too. For instance, you can release your application on your own blog. Amazon have recently been rumoured to be preparing their own Android app store also. • As well as the technical SDK documentation, new resources are being published for Android developers as the platform gains popularity among both users and developers. Advantages Google Android
  • 35. Application Building Blocks • Activity • IntentReceiver • Service • ContentProvider
  • 36. Activities • Typically correspond to one UI screen • But, they can: – Be faceless – Be in a floating window – Return a value
  • 37. IntentReceivers • Components that respond to broadcast ‘Intents’ • Way to respond to external notification or alarms • Apps can invent and broadcast their own Intent
  • 38. 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 IntentReceivers describe what Intents they can service
  • 40. Services • Faceless components that run in the background – E.g. music player, network download etc…
  • 41. ContentProviders • Enables sharing of data across applications – E.g. address book, photo gallery • Provides uniform APIs for: – querying – delete, update and insert. • Content is represented by URI and MIME type