$30 off During Our Annual Pro Sale. View Details »
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
1
110
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
3k
GDG Ternopil - Mobile Applications Architecture
roycemars
1
1.6k
Ciklum & GDG Dnipro - Dagger 2
roycemars
1
1.3k
Architecture Components - IT Talk, Together With Google
roycemars
1
830
Architecture Components - Build your app right way and enjoy IT! :) - GDG Kharkiv-Center
roycemars
1
390
Architecture Components - IT Step
roycemars
1
400
Quick Look at Design Patterns - GDG Dnipro-Art
roycemars
2
420
Jump into cross-platform development with Firebase - GDG Kharkiv-Center
roycemars
1
420
Ciklum & GDG Dnipro - Android N Security Overview
roycemars
1
330
Other Decks in Programming
See All in Programming
分散DBって何者なんだ... Spannerから学ぶRDBとの違い
iwashi623
0
180
手が足りない!兼業データエンジニアに必要だったアーキテクチャと立ち回り
zinkosuke
0
510
FluorTracer / RayTracingCamp11
kugimasa
0
200
[堅牢.py #1] テストを書かない研究者に送る、最初にテストを書く実験コード入門 / Let's start your ML project by writing tests
shunk031
12
7k
CloudNative Days Winter 2025: 一週間で作る低レイヤコンテナランタイム
ternbusty
7
2k
NUMA環境とコンテナランタイム ― youki における Linux Memory Policy 実装
n4mlz
1
200
スタートアップを支える技術戦略と組織づくり
pospome
8
15k
S3 VectorsとStrands Agentsを利用したAgentic RAGシステムの構築
tosuri13
6
290
AI時代もSEOを頑張っている話
shirahama_x
0
260
dotfiles 式年遷宮 令和最新版
masawada
1
690
AIコーディングエージェント(Gemini)
kondai24
0
180
エディターってAIで操作できるんだぜ
kis9a
0
670
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
340
57k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
The Language of Interfaces
destraynor
162
25k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
69k
Music & Morning Musume
bryan
46
7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Leading Effective Engineering Teams in the AI Era
addyosmani
8
1.3k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
Automating Front-end Workflow
addyosmani
1371
200k
Why You Should Never Use an ORM
jnunemaker
PRO
60
9.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
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