SlideShare a Scribd company logo
Android
Application Development
A Tutorial Driven Course
Java
• Basic Java programming
– Exceptions
– Inner Class, Interface
• Advanced topics we will touch:
– Java IO
– Java Thread
– Java Socket
Android Basics
Credit goes to Google!
Course Objectives
• Mobile Application Development (MAD)
• Intro to Android platform
• Platform architecture
• Application building blocks
• Development tools
• Textbook: Hello, Android
Few reasons to go MAD…
• Smart Phones
– Internet access anywhere
– Social networking
• Millions of mobile users
• Open standards
Introduction to Android
• Open software platform for mobile
development
• A complete stack – OS, Middleware,
Applications
• An Open Handset Alliance (OHA) project
• Powered by Linux operating system
• Fast application development in Java
• Open source under the Apache 2 license
Android Application Development.ppt
Linux Kernel
• Works as a HAL
• Device drivers
• Memory management
• Process management
• Networking
Libraries
• C/C++ libraries
• Interface through Java
• Surface manager – Handling UI Windows
• 2D and 3D graphics
• Media codecs, SQLite, Browser engine
Android Runtime
• Dalvik VM
– Dex files
– Compact and efficient than class files
– Limited memory and battery power
• Core Libraries
– Java 5 Std edition
– Collections, I/O etc…
Application Framework
• API interface
• Activity manager – manages application
life cycle.
Applications
• Built in and user apps
• Can replace built in apps
Course Objectives
• Mobile Application Development (MAD)
• Intro to Android platform
• Platform architecture
• Application building blocks
• Development tools
• Textbook: Hello, 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
Client component makes a
request for a specific
action
“Pick photo”
System picks best
component for that action
New components can use
existing functionality
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
Course Objectives
• Mobile Application Development (MAD)
• Intro to Android platform
• Platform architecture
• Application building blocks
• Development tools
• Textbook: Hello, Android
Development Tools
• Eclipse
• Android SDK 2.0 or higher
developer.android.com
The Emulator
• QEMU-based ARM emulator
• Runs the same image as the
device
• Limitations:
– No Camera support
Devices
Hello World
• A great starting point:
http://developer.android.com/guide/tutorial
s/hello-world.html
• Generating UIs
– Views – building blocks
– E.g. TextView, EditText, Button
– Placed into Layouts
– E.g. LinearLayout, TableLayout,
AbsoluteLayout
Application Lifecycle
• Application run in their own processes
(VM, PID)
• Processes are started and stopped as
needed to run an application's
components
• Processes may be killed to reclaim
resources
Android Application Development.ppt
Lifecycle
• System
Process
GMail
Contacts
Home
• Home • Mail • Browser
• Map
Location Manager
XMPP Services
• Allows any app to send device-to-device
messages to other android users
• Data Messages are Intents with
name/value pairs
• Works with any gmail account…
• Can also build servers to deliver server-to-
device messages
Notification Manager
Notification Manager
• How background app interact with users
• Consistent notification presentation
Views
Views
Location Manager
End of Lecture
• First task, install the SDK and Eclipse for
instructions detailed in Assignment #1
• Will be performed in class as well.

More Related Content

PPT
Android application development
PPTX
Android Application Development (1).pptx
PPT
Android application development
PPTX
Android Application Development GDSC DCE Darbhanga.pptx
PPT
Android Training
PPTX
Android Application Development PPT.pptx
PPT
Synapse india reviews on android application
PPT
Synapseindia android apps application development
Android application development
Android Application Development (1).pptx
Android application development
Android Application Development GDSC DCE Darbhanga.pptx
Android Training
Android Application Development PPT.pptx
Synapse india reviews on android application
Synapseindia android apps application development

Similar to Android Application Development.ppt (20)

PPT
Android app development
PPT
Introduction to android
PPT
265.ppt
PPTX
Android application development
PPT
Lecture 1 Android Application Development.ppt
PPTX
Android quick talk
PDF
First Steps with Android - An Exciting Introduction
PPTX
And10.3.21
PPTX
And10.3.21
PPT
Android ppt
PPT
Mobile appliaction w android week 1 by osama
PPTX
All about android
PPTX
Basic of Android App Development
PDF
Introduction to android
PDF
Introduction to Android
PPTX
Introduction to Android
PPTX
Android Technology
PDF
Mobile app
PPTX
Introduction to android mobile app development.pptx
PPTX
Android OS & SDK - Getting Started
Android app development
Introduction to android
265.ppt
Android application development
Lecture 1 Android Application Development.ppt
Android quick talk
First Steps with Android - An Exciting Introduction
And10.3.21
And10.3.21
Android ppt
Mobile appliaction w android week 1 by osama
All about android
Basic of Android App Development
Introduction to android
Introduction to Android
Introduction to Android
Android Technology
Mobile app
Introduction to android mobile app development.pptx
Android OS & SDK - Getting Started

Recently uploaded (20)

PPTX
STEEL- intro-1.pptxhejwjenwnwnenemwmwmwm
PPTX
ATL_Arduino_Complete_Presentation_AI_Visuals.pptx
PPTX
Nanokeyer nano keyekr kano ketkker nano keyer
PPTX
quadraticequations-111211090004-phpapp02.pptx
PDF
Dynamic Checkweighers and Automatic Weighing Machine Solutions
PPTX
ERP good ERP good ERP good ERP good good ERP good ERP good
PDF
Chapter -24-By Dr Sajid Ali Ansari 2021.pdf
PPTX
title _yeOPC_Poisoning_Presentation.pptx
PPTX
Operating System Processes_Scheduler OSS
PDF
YKS Chrome Plated Brass Safety Valve Product Catalogue
PPTX
了解新西兰毕业证(Wintec毕业证书)怀卡托理工学院毕业证存档可查的
PPTX
Embeded System for Artificial intelligence 2.pptx
PDF
PPT Determiners.pdf.......................
PPTX
KVL KCL ppt electrical electronics eee tiet
PDF
How NGOs Save Costs with Affordable IT Rentals
PDF
Layer23-Switch.com The Cisco Catalyst 9300 Series is Cisco’s flagship stackab...
PPTX
sdn_based_controller_for_mobile_network_traffic_management1.pptx
PPTX
Fundamentals of Computer.pptx Computer BSC
PPTX
INFERTILITY (FEMALE FACTORS).pptxgvcghhfcg
PPTX
02fdgfhfhfhghghhhhhhhhhhhhhhhhhhhhh.pptx
STEEL- intro-1.pptxhejwjenwnwnenemwmwmwm
ATL_Arduino_Complete_Presentation_AI_Visuals.pptx
Nanokeyer nano keyekr kano ketkker nano keyer
quadraticequations-111211090004-phpapp02.pptx
Dynamic Checkweighers and Automatic Weighing Machine Solutions
ERP good ERP good ERP good ERP good good ERP good ERP good
Chapter -24-By Dr Sajid Ali Ansari 2021.pdf
title _yeOPC_Poisoning_Presentation.pptx
Operating System Processes_Scheduler OSS
YKS Chrome Plated Brass Safety Valve Product Catalogue
了解新西兰毕业证(Wintec毕业证书)怀卡托理工学院毕业证存档可查的
Embeded System for Artificial intelligence 2.pptx
PPT Determiners.pdf.......................
KVL KCL ppt electrical electronics eee tiet
How NGOs Save Costs with Affordable IT Rentals
Layer23-Switch.com The Cisco Catalyst 9300 Series is Cisco’s flagship stackab...
sdn_based_controller_for_mobile_network_traffic_management1.pptx
Fundamentals of Computer.pptx Computer BSC
INFERTILITY (FEMALE FACTORS).pptxgvcghhfcg
02fdgfhfhfhghghhhhhhhhhhhhhhhhhhhhh.pptx

Android Application Development.ppt