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
Royce Mars
April 03, 2016
Programming
150
1
Share
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.2k
GDG Ternopil - Mobile Applications Architecture
roycemars
1
1.8k
Ciklum & GDG Dnipro - Dagger 2
roycemars
1
1.4k
Architecture Components - IT Talk, Together With Google
roycemars
1
1k
Architecture Components - Build your app right way and enjoy IT! :) - GDG Kharkiv-Center
roycemars
1
540
Architecture Components - IT Step
roycemars
1
450
Quick Look at Design Patterns - GDG Dnipro-Art
roycemars
2
570
Jump into cross-platform development with Firebase - GDG Kharkiv-Center
roycemars
1
580
Ciklum & GDG Dnipro - Android N Security Overview
roycemars
1
350
Other Decks in Programming
See All in Programming
cloudnative conference 2026 flyle
azihsoyn
1
200
Modding RubyKaigi for Myself
yui_knk
0
380
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
850
Import assertionsが消えた日~ECMAScriptの仕様はどう決まり、なぜ覆るのか~
bicstone
2
190
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
110
Hive Metastoreを通して学ぶIceberg REST Catalog ― 仕様から実装まで
okumin
0
240
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
0
230
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
280
Swiftのレキシカルスコープ管理
kntkymt
0
180
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
3
380
AIチームを指揮するOSS「TAKT」活用術 / How to Use “TAKT,” an OSS Tool for Orchestrating AI Teams
nrslib
4
450
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
240
Featured
See All Featured
Music & Morning Musume
bryan
47
7.2k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.5k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
150
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
280
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Building Adaptive Systems
keathley
44
3k
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