Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
180
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Google Developers Study Jam: Android for Beginners. Lesson 2
Royce Mars
April 03, 2016
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.3k
GDG Ternopil - Mobile Applications Architecture
roycemars
1
1.8k
Ciklum & GDG Dnipro - Dagger 2
roycemars
1
1.5k
Architecture Components - IT Talk, Together With Google
roycemars
1
1.1k
Architecture Components - Build your app right way and enjoy IT! :) - GDG Kharkiv-Center
roycemars
1
580
Architecture Components - IT Step
roycemars
1
500
Quick Look at Design Patterns - GDG Dnipro-Art
roycemars
2
620
Jump into cross-platform development with Firebase - GDG Kharkiv-Center
roycemars
1
650
Ciklum & GDG Dnipro - Android N Security Overview
roycemars
1
360
Other Decks in Programming
See All in Programming
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
310
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
370
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
30
13k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
140
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
9.2k
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
180
wkhtmltopdfの次どうするか問題2026
willnet
2
1.8k
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
260
Simple Storage Service(S3) is not simple
iwatsukayura
0
110
FreeBSDでZabbixを動かす
kenkino
0
340
AHC070解法紹介
eijirou
0
150
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.2k
Featured
See All Featured
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
260
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
510
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
How GitHub (no longer) Works
holman
316
150k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
310
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
240
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
WENDY [Excerpt]
tessaabrams
14
40k
A Soul's Torment
seathinner
8
3.7k
Believing is Seeing
oripsolob
1
230
How to Talk to Developers About Accessibility
jct
2
560
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