Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Google Developers Study Jam: Android for Beginn...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
ROYCE MARS
April 03, 2016
Programming
1
130
Google Developers Study Jam: Android for Beginners. Lesson 2
ROYCE MARS
April 03, 2016
Tweet
Share
More Decks by ROYCE MARS
See All by ROYCE MARS
GDG Ukraine - Post I/O Tour 2018 - Kyiv, Dnipro, Kharkiv, Cherkasy, Kremenchuk, Poltava, Kropyvnytskyy - Google Cloud & Firebase
roycemars
1
3.1k
GDG Ternopil - Mobile Applications Architecture
roycemars
1
1.7k
Ciklum & GDG Dnipro - Dagger 2
roycemars
1
1.4k
Architecture Components - IT Talk, Together With Google
roycemars
1
970
Architecture Components - Build your app right way and enjoy IT! :) - GDG Kharkiv-Center
roycemars
1
510
Architecture Components - IT Step
roycemars
1
420
Quick Look at Design Patterns - GDG Dnipro-Art
roycemars
2
530
Jump into cross-platform development with Firebase - GDG Kharkiv-Center
roycemars
1
550
Ciklum & GDG Dnipro - Android N Security Overview
roycemars
1
340
Other Decks in Programming
See All in Programming
株式会社 Sun terras カンパニーデック
sunterras
0
1.9k
CSC307 Lecture 11
javiergs
PRO
0
580
Event Storming
hschwentner
3
1.3k
並行開発のためのコードレビュー
miyukiw
2
2.1k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
360
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
1.3k
CSC307 Lecture 12
javiergs
PRO
0
450
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
340
AIプロダクト時代のQAエンジニアに求められること
imtnd
1
510
Premier Disciplin for Micro Frontends Multi Version/ Framework Scenarios @OOP 2026, Munic
manfredsteyer
PRO
0
200
Go1.26 go fixをプロダクトに適用して困ったこと
kurakura0916
0
320
コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions
handlename
0
120
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
110
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
It's Worth the Effort
3n
188
29k
エンジニアに許された特別な時間の終わり
watany
106
240k
Odyssey Design
rkendrick25
PRO
2
530
sira's awesome portfolio website redesign presentation
elsirapls
0
170
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
The browser strikes back
jonoalderson
0
740
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
140
Navigating Weather and Climate Data
rabernat
0
130
Transcript
Google Developers Study Jam Android for Beginners. Lesson 2 Constantine
Mars Co-Organizer @ GDG Dnipropetrovs’k Senior Developer @ DataArt
[email protected]
+ConstantineMars
Agenda • Enroll to Jam: https://www.udacity.com/account/affiliate/GoogleStudyJams • Go to the
course: https://www.udacity.com/course/android-development-for-begi nners--ud837 • Learn • Make Practice Set 2 and send to
[email protected]
with subject “Practice Set 2”
Lesson 2A: Making an App Interactive
New project: Just Java
Stages of development
Stages
activity_main.xml
Preview
Layout
Creating an activity
Activities
Activities
File types
None
Comments
Bind method in xml
Set text programmatically
Test count
Arithmetic expressions
Second TextView
Auto-import
Prototyping calculations
Variables
Variables
Data Type
Variable in code
Variable Name https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html
Assignment operator
Sum up
Declaring numberOfCoffees variable
Crash
Crash
Compilation error
Make app crash: rename onClick method name
DDMS, LogCat, Read Logs
Fix the error
Adding more controls
Test it
Debug. Breakpoints
Debugging
None
Debugging
None
None
None
None
None
None
None
None
None
None
Variable Scope
Global (class) variable
.decrement() implementation
Lesson 2B: Making an App Interactive
Resources http://androidweekly.net/ https://www.materialup.com/ http://www.google.com/design/spec/material-design/introduction.html https://github.com/udacity/Just-Java Udacity course on Git: https://www.udacity.com/course/how-to-use-git-and-github--ud775
Changing layout
Nested Viewgroups
Examples
Designing interface
Designing interface
None
None
None
String
String variables
Escape sequence
Concatenation
Concatenation
Concatenate string with int
Alittle bit more complicated
Practice Set 2
None
None
Score Counter
One Team View
Two Team Views
Extra: try to avoid duplication of xml
Reset button
Advice: Make an App Than May Save Somebody’s Life
See you on certification ceremony :) Study Jam: Android for
Beginners Constantine Mars Co-Organizer @ GDG Dnipropetrovs’k Senior Developer @ DataArt
[email protected]
+ConstantineMars