SlideShare a Scribd company logo
Induction Into the
Android Army
Tom Opgenorth |
tom@opgenorth.net
A Word From Our Sponsors
1. Getting Started
2. Android Architecture
3. Parts of an Android Application
4. Look at Code!
Things We’ll Talk About
What Involved
Getting Started
1. Download the Android SDK & Java
2. Get an IDE
3. Emulators & Devices
4. Google Developer Account
Writing Android Apps
❖ Only an approximation
❖ Emulators don’t replace devices
❖ Google’s emulator sucks
A Word About Emulators
❖ Genymotion is a “better” emulator
So What Kind of Device?
❖ So Many To Choose From
❖ Try to get one you can “root”
❖ Prefer Nexus devices from Google
❖ Make sure you enable “Developer
Mode”
What does Android Look like under the Hood?
The Android Operating System
Induction into the Android Army
❖ Distinct components with specific
roles
❖ Adaptable to many different forms
and purposes
Android App Architecture
❖ Activity.Equals(Screen)
❖ Displays all UI Elements for an app
❖ XML for layout files
❖ UI can be decomposed into
Fragments
Activities
Activities & Fragments
❖ A component that performs long
running operations in the
background
❖ No User Interface
❖ Can be “bound” to other applications
Services
Intents
Pick	
  Photo
Call	
  
Mom
Edit	
  
Contact
View	
  
Web	
  
Page
Get	
  GPS	
  
Loca>on
Play	
  
Song
Send	
  
Email
Start	
  
App
Send	
  
TweetView	
  
Map
View	
  
Video
Browse	
  Market
Capture	
  
Video
Capture	
  
Photo
Edit	
  Calendar
❖ Listens for messages
❖ Tells Android what to to in response
to message
Broadcast Receiver
Content Provider
❖ One structured way to share data
between applications.
❖ Not just databases: files, photos,
contacts, and more
❖ Uses an Android URI to reference
content
❖ A - Identifies this is for content
❖ B - Authority (who owns this data)
❖ C - A “query” to help identify where to find the content
❖ D - an ID that identifies a particular piece of content
Content Provider
The Manifest File
AndroidManifest.xml
Broadcast Receivers Content Providers
Intents Activities
App meta-data
❖ Non-code files and static content
that your app uses.
❖ Different resources for different
devices
❖ Android decides what to use
❖ Default vs Alternate Resources
Resources
Induction into the Android Army
Induction into the Android Army
Building an APK - Simplified
Show Me The Code!
❖ Android - http://developer.android.com
❖ Genymotion - http://www.genymotion.com
Links / References
Thank You!
Questions?

More Related Content

PDF
Android workshop
PPT
Kerékpárosok biztonsága 2012_hoz_e_szept
PPT
Mahabharat Winning Strategies
PDF
Google+ Login - A Primer
PPTX
Mk-kozlekedespolitika
PPTX
Bemutató Székesfehérvár 2013
PPT
a kerékározás értéke (angol kutatás)
PPT
Kocse laszlo
Android workshop
Kerékpárosok biztonsága 2012_hoz_e_szept
Mahabharat Winning Strategies
Google+ Login - A Primer
Mk-kozlekedespolitika
Bemutató Székesfehérvár 2013
a kerékározás értéke (angol kutatás)
Kocse laszlo

Similar to Induction into the Android Army (20)

PPT
Android development orientation for starters v4 seminar
PPTX
Hybrid mobile app
PPTX
Hybrid Mobile App
PDF
You installed what Thierry Sans
PPTX
Introduction to android mobile app development.pptx
PPTX
Getting started with android programming
PDF
Native mobile app development pros, cons, alternatives, and cost optimization
PPTX
Android development orientation for starters v2
PPTX
UCD Android Workshop
ODP
Java Meetup - 12-03-15 - Android Development Workshop
PPTX
First step in android
PDF
LUMIA APP LABS: GET STARTED WITH CLOUD-BASED APPS WITH BUDDY.COM
PPTX
Aptech Apps
PPTX
Seminar on android app development
PDF
Android Development Tutorial
PPTX
PPT
Android - Anroid Pproject
PPTX
[Wroclaw #1] Android Security Workshop
PDF
MAD Unit - 1 Introduction of Android IT Department
PPTX
Intro to android (gdays)
Android development orientation for starters v4 seminar
Hybrid mobile app
Hybrid Mobile App
You installed what Thierry Sans
Introduction to android mobile app development.pptx
Getting started with android programming
Native mobile app development pros, cons, alternatives, and cost optimization
Android development orientation for starters v2
UCD Android Workshop
Java Meetup - 12-03-15 - Android Development Workshop
First step in android
LUMIA APP LABS: GET STARTED WITH CLOUD-BASED APPS WITH BUDDY.COM
Aptech Apps
Seminar on android app development
Android Development Tutorial
Android - Anroid Pproject
[Wroclaw #1] Android Security Workshop
MAD Unit - 1 Introduction of Android IT Department
Intro to android (gdays)
Ad

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
A Presentation on Artificial Intelligence
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Machine Learning_overview_presentation.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Review of recent advances in non-invasive hemoglobin estimation
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Diabetes mellitus diagnosis method based random forest with bat algorithm
A Presentation on Artificial Intelligence
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Machine Learning_overview_presentation.pptx
Spectroscopy.pptx food analysis technology
A comparative analysis of optical character recognition models for extracting...
Mobile App Security Testing_ A Comprehensive Guide.pdf
MIND Revenue Release Quarter 2 2025 Press Release
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation_ Review paper, used for researhc scholars
MYSQL Presentation for SQL database connectivity
sap open course for s4hana steps from ECC to s4
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
NewMind AI Weekly Chronicles - August'25-Week II
Network Security Unit 5.pdf for BCA BBA.
Review of recent advances in non-invasive hemoglobin estimation
The AUB Centre for AI in Media Proposal.docx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Ad

Induction into the Android Army

  • 1. Induction Into the Android Army Tom Opgenorth | tom@opgenorth.net
  • 2. A Word From Our Sponsors
  • 3. 1. Getting Started 2. Android Architecture 3. Parts of an Android Application 4. Look at Code! Things We’ll Talk About
  • 5. 1. Download the Android SDK & Java 2. Get an IDE 3. Emulators & Devices 4. Google Developer Account Writing Android Apps
  • 6. ❖ Only an approximation ❖ Emulators don’t replace devices ❖ Google’s emulator sucks A Word About Emulators ❖ Genymotion is a “better” emulator
  • 7. So What Kind of Device? ❖ So Many To Choose From ❖ Try to get one you can “root” ❖ Prefer Nexus devices from Google ❖ Make sure you enable “Developer Mode”
  • 8. What does Android Look like under the Hood? The Android Operating System
  • 10. ❖ Distinct components with specific roles ❖ Adaptable to many different forms and purposes Android App Architecture
  • 11. ❖ Activity.Equals(Screen) ❖ Displays all UI Elements for an app ❖ XML for layout files ❖ UI can be decomposed into Fragments Activities
  • 13. ❖ A component that performs long running operations in the background ❖ No User Interface ❖ Can be “bound” to other applications Services
  • 14. Intents Pick  Photo Call   Mom Edit   Contact View   Web   Page Get  GPS   Loca>on Play   Song Send   Email Start   App Send   TweetView   Map View   Video Browse  Market Capture   Video Capture   Photo Edit  Calendar
  • 15. ❖ Listens for messages ❖ Tells Android what to to in response to message Broadcast Receiver
  • 16. Content Provider ❖ One structured way to share data between applications. ❖ Not just databases: files, photos, contacts, and more ❖ Uses an Android URI to reference content
  • 17. ❖ A - Identifies this is for content ❖ B - Authority (who owns this data) ❖ C - A “query” to help identify where to find the content ❖ D - an ID that identifies a particular piece of content Content Provider
  • 18. The Manifest File AndroidManifest.xml Broadcast Receivers Content Providers Intents Activities App meta-data
  • 19. ❖ Non-code files and static content that your app uses. ❖ Different resources for different devices ❖ Android decides what to use ❖ Default vs Alternate Resources Resources
  • 22. Building an APK - Simplified
  • 23. Show Me The Code!
  • 24. ❖ Android - http://developer.android.com ❖ Genymotion - http://www.genymotion.com Links / References