SlideShare a Scribd company logo
Android
Application Development
A Tutorial Driven Course
By: ZEESHAN ALAM KHAN(MCA-2015,
AMU)
Java
• Basic Java programming
– Exceptions
– Inner Class, Interface
• Advanced topics we will touch:
– Java IO
– Java Thread
– Java Socket
Android BasicsAndroid 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)

PDF
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
PPTX
Mobile application development
PPTX
Android workshop
PPTX
PDF
Doag wysiwyg
PDF
Building iOS App Project & Architecture
PDF
StoryCode Tech Immersion 1
PDF
Cross Platform Mobile Development
ZIP
Mobile for the rest of us
KEY
PPTX
Online platforms
PPTX
JVx - Application framework - 2013
PPTX
Mobile applications chapter 4
PPT
Android Training in Chandigarh
PPTX
Online platforms
PPT
ios basics
PDF
Mobile applications chapter 2
PDF
Java Edge.2008.Web.Frameworks.Catagorized
PPTX
iOS Architectures
PDF
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
Mobile application development
Android workshop
Doag wysiwyg
Building iOS App Project & Architecture
StoryCode Tech Immersion 1
Cross Platform Mobile Development
Mobile for the rest of us
Online platforms
JVx - Application framework - 2013
Mobile applications chapter 4
Android Training in Chandigarh
Online platforms
ios basics
Mobile applications chapter 2
Java Edge.2008.Web.Frameworks.Catagorized
iOS Architectures
Ad

Similar to Android application development (20)

PPT
Android Application Development (2).ppt
PPT
Android Application Development.ppt
PPT
Android Application Development.ppt
PPT
Android Application Development.ppt
PPT
Android Application Development.ppt
PPT
Android Application Development.ppt
PPT
Android Application Development.ppt
PPT
Android application development
PDF
Android Application Development.pdf
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
PPTX
Introduction to Android
PPTX
Android quick talk
PPT
Lecture 1 Android Application Development.ppt
PPTX
Introduction to Android
PPT
Introduction to Android Development
PPT
My androidpresentation
Android Application Development (2).ppt
Android Application Development.ppt
Android Application Development.ppt
Android Application Development.ppt
Android Application Development.ppt
Android Application Development.ppt
Android Application Development.ppt
Android application development
Android Application Development.pdf
Android Application Development (1).pptx
Android Application Development GDSC DCE Darbhanga.pptx
Android Training
Android Application Development PPT.pptx
265.ppt
Introduction to Android
Android quick talk
Lecture 1 Android Application Development.ppt
Introduction to Android
Introduction to Android Development
My androidpresentation
Ad

More from Zeeshan Khan (12)

PPTX
Apache kafka
PDF
Spring security4.x
PPTX
Micro services overview
PDF
XML / WEB SERVICES & RESTful Services
PDF
Manual Testing
PDF
Collection framework (completenotes) zeeshan
PDF
JUnit with_mocking
PPTX
OOPS in Java
PPTX
PPTX
Introduction to BIG DATA
PPTX
Big data
PPTX
Cyber crime
Apache kafka
Spring security4.x
Micro services overview
XML / WEB SERVICES & RESTful Services
Manual Testing
Collection framework (completenotes) zeeshan
JUnit with_mocking
OOPS in Java
Introduction to BIG DATA
Big data
Cyber crime

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
A Presentation on Artificial Intelligence
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Modernizing your data center with Dell and AMD
PDF
Approach and Philosophy of On baking technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
KodekX | Application Modernization Development
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Teaching material agriculture food technology
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
A Presentation on Artificial Intelligence
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Per capita expenditure prediction using model stacking based on satellite ima...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
The AUB Centre for AI in Media Proposal.docx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
NewMind AI Monthly Chronicles - July 2025
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Modernizing your data center with Dell and AMD
Approach and Philosophy of On baking technology
Spectral efficient network and resource selection model in 5G networks
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?
Mobile App Security Testing_ A Comprehensive Guide.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
KodekX | Application Modernization Development
Bridging biosciences and deep learning for revolutionary discoveries: a compr...

Android application development