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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Royce Mars
April 03, 2016
Programming
130
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
990
Architecture Components - Build your app right way and enjoy IT! :) - GDG Kharkiv-Center
roycemars
1
520
Architecture Components - IT Step
roycemars
1
430
Quick Look at Design Patterns - GDG Dnipro-Art
roycemars
2
540
Jump into cross-platform development with Firebase - GDG Kharkiv-Center
roycemars
1
560
Ciklum & GDG Dnipro - Android N Security Overview
roycemars
1
350
Other Decks in Programming
See All in Programming
The free-lunch guide to idea circularity
hollycummins
0
410
年間50登壇、単著出版、雑誌寄稿、Podcast出演、YouTube、CM、カンファレンス主催……全部やってみたので面白さ等を比較してみよう / I’ve tried them all, so let’s compare how interesting they are.
nrslib
4
700
KagglerがMixSeekを触ってみた
morim
0
370
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
4.5k
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
140
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
340
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
1
290
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
340
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
310
Go_College_最終発表資料__外部公開用_.pdf
xe_pc23
0
120
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
310
アーキテクチャモダナイゼーションとは何か
nwiizo
14
3.2k
Featured
See All Featured
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Believing is Seeing
oripsolob
1
100
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
250
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.6k
Code Reviewing Like a Champion
maltzj
528
40k
KATA
mclloyd
PRO
35
15k
Being A Developer After 40
akosma
91
590k
Ruling the World: When Life Gets Gamed
codingconduct
0
190
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.5k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
340
WENDY [Excerpt]
tessaabrams
9
37k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
94
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