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
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
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
PPT
Android application development
PPT
Android app development
PPT
Synapse india reviews on android application
PPT
Introduction to android
PPT
Synapseindia android apps application development
PPTX
Android application development
PPTX
Bluestacks ANDROID
Android application development
Android application development
Android app development
Synapse india reviews on android application
Introduction to android
Synapseindia android apps application development
Android application development
Bluestacks ANDROID

What's hot (20)

PPTX
Mobile application development
PDF
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
PDF
Doag wysiwyg
PPTX
Android workshop
ZIP
Mobile for the rest of us
PDF
Cross Platform Mobile Development
PPT
Android Training in Chandigarh
PPTX
Java 15
POTX
Introduction to Android
ODP
Synapse india reviews on cross plateform mobile apps development
PDF
Building iOS App Project & Architecture
KEY
PPTX
Online platforms
PDF
PPT
ios basics
PDF
Mobile appsdevelopment
PPTX
Mobile applications chapter 4
PDF
Unified logging on iOS
PPTX
Online platforms
PPTX
JVx - Application framework - 2013
Mobile application development
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
Doag wysiwyg
Android workshop
Mobile for the rest of us
Cross Platform Mobile Development
Android Training in Chandigarh
Java 15
Introduction to Android
Synapse india reviews on cross plateform mobile apps development
Building iOS App Project & Architecture
Online platforms
ios basics
Mobile appsdevelopment
Mobile applications chapter 4
Unified logging on iOS
Online platforms
JVx - Application framework - 2013
Ad

Similar to Android application development (20)

PPTX
Android Application Development (1).pptx
PPTX
Android Application Development GDSC DCE Darbhanga.pptx
PPT
Android Training
PPTX
Android Application Development PPT.pptx
PPT
265.ppt
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
Android Application Development (1).pptx
Android Application Development GDSC DCE Darbhanga.pptx
Android Training
Android Application Development PPT.pptx
265.ppt
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
Ad

Recently uploaded (20)

PPTX
5. MEASURE OF INTERIOR AND EXTERIOR- MATATAG CURRICULUM.pptx
PPTX
sdn_based_controller_for_mobile_network_traffic_management1.pptx
PPTX
kvjhvhjvhjhjhjghjghjgjhgjhgjhgjhgjhgjhgjhgjh
PPTX
code of ethics.pptxdvhwbssssSAssscasascc
PDF
Core Components of IoT, The elements need for IOT
PPTX
INFERTILITY (FEMALE FACTORS).pptxgvcghhfcg
PPT
FABRICATION OF MOS FET BJT DEVICES IN NANOMETER
PPTX
Sem-8 project ppt fortvfvmat uyyjhuj.pptx
PDF
Dynamic Checkweighers and Automatic Weighing Machine Solutions
PDF
Cableado de Controladores Logicos Programables
PPT
chapter_1_a.ppthduushshwhwbshshshsbbsbsbsbsh
PPTX
material for studying about lift elevators escalation
PPTX
02fdgfhfhfhghghhhhhhhhhhhhhhhhhhhhh.pptx
PPTX
Nanokeyer nano keyekr kano ketkker nano keyer
PPTX
"Fundamentals of Digital Image Processing: A Visual Approach"
PPTX
KVL KCL ppt electrical electronics eee tiet
PPTX
Presentacion compuuuuuuuuuuuuuuuuuuuuuuu
PPTX
PROGRAMMING-QUARTER-2-PYTHON.pptxnsnsndn
PPTX
making presentation that do no stick.pptx
PPTX
quadraticequations-111211090004-phpapp02.pptx
5. MEASURE OF INTERIOR AND EXTERIOR- MATATAG CURRICULUM.pptx
sdn_based_controller_for_mobile_network_traffic_management1.pptx
kvjhvhjvhjhjhjghjghjgjhgjhgjhgjhgjhgjhgjhgjh
code of ethics.pptxdvhwbssssSAssscasascc
Core Components of IoT, The elements need for IOT
INFERTILITY (FEMALE FACTORS).pptxgvcghhfcg
FABRICATION OF MOS FET BJT DEVICES IN NANOMETER
Sem-8 project ppt fortvfvmat uyyjhuj.pptx
Dynamic Checkweighers and Automatic Weighing Machine Solutions
Cableado de Controladores Logicos Programables
chapter_1_a.ppthduushshwhwbshshshsbbsbsbsbsh
material for studying about lift elevators escalation
02fdgfhfhfhghghhhhhhhhhhhhhhhhhhhhh.pptx
Nanokeyer nano keyekr kano ketkker nano keyer
"Fundamentals of Digital Image Processing: A Visual Approach"
KVL KCL ppt electrical electronics eee tiet
Presentacion compuuuuuuuuuuuuuuuuuuuuuuu
PROGRAMMING-QUARTER-2-PYTHON.pptxnsnsndn
making presentation that do no stick.pptx
quadraticequations-111211090004-phpapp02.pptx

Android application development