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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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.2k
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
570
Architecture Components - IT Step
roycemars
1
490
Quick Look at Design Patterns - GDG Dnipro-Art
roycemars
2
610
Jump into cross-platform development with Firebase - GDG Kharkiv-Center
roycemars
1
640
Ciklum & GDG Dnipro - Android N Security Overview
roycemars
1
360
Other Decks in Programming
See All in Programming
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
220
PHPプロジェクトの結合バランスを可視化する #php_night
kajitack
0
230
LLMは4年分のCompose移行を再現できるのか?実プロダクト279件のXMLで探る自動化の境界線
makun
0
540
Security issues being discussed on Web Platforms
petamoriken
0
690
巨大モノリシックアプリ モダン化大作戦
ktcryomm
0
620
[DroidKaigi 2026] Bring your own phones to Gradle Managed Devices
f2lk
0
110
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
210
kubernetes コンポーネント開発入門 / 新卒N年目の勉強会&交流会!〜〇〇への誘い〜 #n_study
mazrean
0
200
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
56
37k
Gmail/Google DriveをトリガーにAIエージェントを動かそう! / Run AI agents with Gmail/Google Drive as triggers!
har1101
3
490
数年滞っていたダークモード対応をおよそ2週間で完了させる
chigichan24
0
700
How I Stole PSI from Android Studio - DroidKaigi2026
worker8
0
110
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Docker and Python
trallard
47
4.2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
New Earth Scene 8
popppiees
3
2.5k
Designing for Timeless Needs
cassininazir
1
470
Deep Space Network (abreviated)
tonyrice
0
300
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.9k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
WENDY [Excerpt]
tessaabrams
13
39k
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