SlideShare a Scribd company logo
Android 
Application Development
AAnnddrrooiidd BBaassiiccss 
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
Synapseindia android apps 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 
Home 
Contacts 
GMail 
Chat 
Blogger 
System picks best 
component for that action 
“Pick photo” 
Client component makes a 
request for a specific 
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
Synapseindia android apps application development
Lifecycle 
• System 
Process 
Home 
Contacts 
GMail 
• 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
Synapse india reviews on android application
PPT
Android application development
PPT
Android application development
PPT
Android application development
PPT
Android app development
PPTX
Bluestacks ANDROID
PPT
Android Training - Part 2
PPTX
Android application development
Synapse india reviews on android application
Android application development
Android application development
Android application development
Android app development
Bluestacks ANDROID
Android Training - Part 2
Android application development

What's hot (20)

PDF
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
PPT
My androidpresentation
PPTX
Mobile application development
PPTX
And10.3.21
PPTX
And dev101
PDF
Doag wysiwyg
PPT
Android General information
ZIP
Mobile for the rest of us
PDF
Android Presentation
PPT
Android application development for TresmaxAsia
PDF
DSpace 7 - The Angular UI from a user’s perspective
PDF
Android studio 2.2 Tips and Tricks
PPT
Introduction to Android Development
PPTX
android
PPTX
Rohit chakraborty codiad
PPTX
iOS Architecture
PPTX
Android Application Fundamentals
PPTX
Introduction to Android Development Part 1
KEY
PDF
Andriod_Intro
AMIS UX Event 2014: Mobile ADF; From Design To Device; The Tools that make it...
My androidpresentation
Mobile application development
And10.3.21
And dev101
Doag wysiwyg
Android General information
Mobile for the rest of us
Android Presentation
Android application development for TresmaxAsia
DSpace 7 - The Angular UI from a user’s perspective
Android studio 2.2 Tips and Tricks
Introduction to Android Development
android
Rohit chakraborty codiad
iOS Architecture
Android Application Fundamentals
Introduction to Android Development Part 1
Andriod_Intro
Ad

Viewers also liked (20)

PPT
DatAgro and AMIS Project-2
PDF
Mobile Apps in Small Scale Agriculture - Matthew de Gale
PPTX
Ppt of business plan
PPTX
Final climax presentation
ODP
SMS for agriculture mekongict 2010
PPT
EMCS Workshop-Cambodia
PPTX
Livestock Market Information Systems: Improving Information Flow for Decision...
PPT
Kai Net From Project To Network
PPT
001 barnejee-1
PPTX
Mkisan
PPTX
4. projects related to urban agriculture by dr. r.k. sharma
PPTX
Gramseva: Kisan
PDF
The Ministry of Food Agriculture and Livestock - e-Agriculture Projects
PDF
ICTs along the agriculture value chain
PPT
Bulk sms provider indore
PPTX
Claude Migisha Kalisa - Youth championing ICT innovations in agriculture
PPT
Ken Lohento - Presentation ARDYIS activities wageningen
PPT
Michael Hailu - CTA presentation youth workshop Nov 2012
PDF
SMS Technology for your Business
PDF
UNDP Case Study: Esoko
DatAgro and AMIS Project-2
Mobile Apps in Small Scale Agriculture - Matthew de Gale
Ppt of business plan
Final climax presentation
SMS for agriculture mekongict 2010
EMCS Workshop-Cambodia
Livestock Market Information Systems: Improving Information Flow for Decision...
Kai Net From Project To Network
001 barnejee-1
Mkisan
4. projects related to urban agriculture by dr. r.k. sharma
Gramseva: Kisan
The Ministry of Food Agriculture and Livestock - e-Agriculture Projects
ICTs along the agriculture value chain
Bulk sms provider indore
Claude Migisha Kalisa - Youth championing ICT innovations in agriculture
Ken Lohento - Presentation ARDYIS activities wageningen
Michael Hailu - CTA presentation youth workshop Nov 2012
SMS Technology for your Business
UNDP Case Study: Esoko
Ad

Similar to Synapseindia android apps application development (20)

PPT
Android Training
PPTX
Android Application Development PPT.pptx
PPTX
Android Application Development GDSC DCE Darbhanga.pptx
PDF
Android Application Development.pdf
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
PPTX
Android Application Development (1).pptx
PPT
Android ppt
PPT
Lecture 1 Android Application Development.ppt
PPT
265.ppt
PDF
First Steps with Android - An Exciting Introduction
PPTX
Android quick talk
PPTX
Introduction to Android
PPTX
Introduction to android mobile app development.pptx
Android Training
Android Application Development PPT.pptx
Android Application Development GDSC DCE Darbhanga.pptx
Android Application Development.pdf
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 (1).pptx
Android ppt
Lecture 1 Android Application Development.ppt
265.ppt
First Steps with Android - An Exciting Introduction
Android quick talk
Introduction to Android
Introduction to android mobile app development.pptx

More from Synapseindiappsdevelopment (20)

PPTX
Synapse india elance top in demand in it skills
PPT
SynapseIndia dotnet web development architecture module
PPT
SynapseIndia dotnet module development part 1
PPT
SynapseIndia dotnet framework library
PPT
SynapseIndia dotnet development platform overview
PPT
SynapseIndia dotnet development framework
PPT
SynapseIndia dotnet web applications development
PPT
SynapseIndia dotnet website security development
PPT
SynapseIndia mobile build apps management
PPT
SynapseIndia mobile apps deployment framework internal architecture
PPT
SynapseIndia java and .net development
PPT
SynapseIndia dotnet development panel control
PPT
SynapseIndia dotnet development ajax client library
PPT
SynapseIndia php web development
PPT
SynapseIndia mobile apps architecture
PPT
SynapseIndia mobile apps deployment framework architecture
PPT
SynapseIndia mobile apps
PPT
SynapseIndia dotnet development
PPT
SynapseIndia dotnet client library Development
PPT
SynapseIndia creating asp controls programatically development
Synapse india elance top in demand in it skills
SynapseIndia dotnet web development architecture module
SynapseIndia dotnet module development part 1
SynapseIndia dotnet framework library
SynapseIndia dotnet development platform overview
SynapseIndia dotnet development framework
SynapseIndia dotnet web applications development
SynapseIndia dotnet website security development
SynapseIndia mobile build apps management
SynapseIndia mobile apps deployment framework internal architecture
SynapseIndia java and .net development
SynapseIndia dotnet development panel control
SynapseIndia dotnet development ajax client library
SynapseIndia php web development
SynapseIndia mobile apps architecture
SynapseIndia mobile apps deployment framework architecture
SynapseIndia mobile apps
SynapseIndia dotnet development
SynapseIndia dotnet client library Development
SynapseIndia creating asp controls programatically development

Recently uploaded (20)

PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Approach and Philosophy of On baking technology
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
Big Data Technologies - Introduction.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
Teaching material agriculture food technology
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Modernizing your data center with Dell and AMD
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
NewMind AI Monthly Chronicles - July 2025
Approach and Philosophy of On baking technology
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Big Data Technologies - Introduction.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Network Security Unit 5.pdf for BCA BBA.
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Unlocking AI with Model Context Protocol (MCP)
Teaching material agriculture food technology
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Spectral efficient network and resource selection model in 5G networks
Modernizing your data center with Dell and AMD
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Understanding_Digital_Forensics_Presentation.pptx

Synapseindia android apps application development

  • 3. Course Objectives • Mobile Application Development (MAD) • Intro to Android platform • Platform architecture • Application building blocks • Development tools • Textbook: Hello, Android
  • 4. Few reasons to go MAD… • Smart Phones – Internet access anywhere – Social networking • Millions of mobile users • Open standards
  • 5. 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
  • 7. Linux Kernel • Works as a HAL • Device drivers • Memory management • Process management • Networking
  • 8. Libraries • C/C++ libraries • Interface through Java • Surface manager – Handling UI Windows • 2D and 3D graphics • Media codecs, SQLite, Browser engine
  • 9. 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…
  • 10. Application Framework • API interface • Activity manager – manages application life cycle.
  • 11. Applications • Built in and user apps • Can replace built in apps
  • 12. Course Objectives • Mobile Application Development (MAD) • Intro to Android platform • Platform architecture • Application building blocks • Development tools • Textbook: Hello, Android
  • 13. Application Building Blocks • Activity • IntentReceiver • Service • ContentProvider
  • 14. Activities • Typically correspond to one UI screen • But, they can: – Be faceless – Be in a floating window – Return a value
  • 15. IntentReceivers • Components that respond to broadcast ‘Intents’ • Way to respond to external notification or alarms • Apps can invent and broadcast their own Intent
  • 16. 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
  • 17. Intents Home Contacts GMail Chat Blogger System picks best component for that action “Pick photo” Client component makes a request for a specific action New components can use existing functionality Blogger Photo Gallery
  • 18. Services • Faceless components that run in the background – E.g. music player, network download etc…
  • 19. 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
  • 20. Course Objectives • Mobile Application Development (MAD) • Intro to Android platform • Platform architecture • Application building blocks • Development tools • Textbook: Hello, Android
  • 21. Development Tools • Eclipse • Android SDK 2.0 or higher developer.android.com
  • 22. The Emulator • QEMU-based ARM emulator • Runs the same image as the device • Limitations: – No Camera support
  • 24. 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
  • 25. 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
  • 27. Lifecycle • System Process Home Contacts GMail • Home • Mail • Browser • Map
  • 29. 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
  • 31. Notification Manager • How background app interact with users • Consistent notification presentation
  • 32. Views
  • 33. Views
  • 35. End of Lecture • First task, install the SDK and Eclipse for instructions detailed in Assignment #1 • Will be performed in class as well.