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
Intro to Android in 4 days
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Andrei Diaconu
December 17, 2015
Technology
26
0
Share
Intro to Android in 4 days
Training for really basic Android concepts, way back in 2015.
Andrei Diaconu
December 17, 2015
More Decks by Andrei Diaconu
See All by Andrei Diaconu
On-device machine learning in Flutter
andreidiaconu
0
180
Flutter for Web
andreidiaconu
0
500
The road to your first million
andreidiaconu
0
44
Comparing multi-platform mobile frameworks
andreidiaconu
0
460
PostMuse - Startup Pitch Deck
andreidiaconu
0
78
If I made a product that did X, would you buy it?
andreidiaconu
0
70
Screen Transitions in Android
andreidiaconu
1
330
Performance Tools on Android
andreidiaconu
0
470
Mobile Testing in the cloud
andreidiaconu
0
1.4k
Other Decks in Technology
See All in Technology
ボトムアップ限界を越える - 20チームを束る "Drive Map" / Beyond Bottom-Up: A 'Drive Map' for 20 Teams
kaonavi
0
170
freeeで運用しているAIQAについて
qatonchan
0
480
AI駆動開発で生産性を追いかけたら、行き着いたのは品質とシフトレフトだった
littlehands
0
470
『生成AI時代のクレデンシャルとパーミッション設計 — Claude Code を起点に』の執筆企画
takuros
3
2.3k
20260516_SecJAWS_Days
takuyay0ne
1
220
ボトムアップの改善の火を灯し続けろ!〜支援現場で学んだ、消えないための3つの打ち手〜 / 20260509 Kazuki Mori
shift_evolve
PRO
2
620
AI対話分析の夢と、汚いデータの現実 Looker / Dataplex / Dataform で実現する品質ファーストな基盤設計
waiwai2111
0
350
色を視る
yuzneri
0
330
Tachikawa.any 運営挨拶
daitasu
0
150
Purview 勉強会報告 Microsoft Purview 入門しようとしてみた
masakichixo
1
260
アプリブロック機能のつくりかたと、AIとHTMLの不合理な相性の良さについて
kumamotone
1
230
世界の中心でApp Runnerを叫ぶ FINAL
tsukuboshi
0
260
Featured
See All Featured
Building AI with AI
inesmontani
PRO
1
970
The untapped power of vector embeddings
frankvandijk
2
1.7k
Why Our Code Smells
bkeepers
PRO
340
58k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
340
Rails Girls Zürich Keynote
gr2m
96
14k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
130
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
180
Prompt Engineering for Job Search
mfonobong
0
300
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
120
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
The Curious Case for Waylosing
cassininazir
0
340
Transcript
Android Intro Vrei sa fii miliardar edition
4 zile 1. Setup + 1 Buton 2. Tipuri de
layout 3. Activitati 4. Salvarea datelor
Ziua 1 1. Setup Android Studio 2. Terminologie POO 3.
Structura fisiere 4. XML Layout 5. Java
https://developer.android.com/sdk/index.html
None
• Clasa • Obiect • Atribut • Metoda • Parametru
• Android Manifest • Resurse Android • Layout • Drawable
• Values • Java
Layout
Layout
Java
Ziua 2 • width, height • Tipuri de ViewGroup •
Layout-ul jocului nostru
Abc wrap_content Abc match_parent Ab 50px
LinearLayout
Abc Bcdef Gol
A B
A
A B
RelativeLayout
id view-ul pozitionat
ViewGroup • LinearLayout • RelativeLayout • FrameLayout • TableLayout •
GridLayout • PercentFrameLayout, PercentRelativeLayout ?
Intrebare Raspuns Raspuns Raspuns Raspuns
Intrebare luuungaaaaaaaaaaa aaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaa Raspuns Raspuns
Ziua 3 1. Populam ecranul cu date 2. Activitate de
final de joc 3. Intenturi intre activitati
Intent • actiune • parametri
Intent • explicite • implicite
context.startActivity(intent)
Intent explicit • Intent i = new Intent(context, FinalActivity.class); •
i.putExtra("key","value"); • startActivity(i);
Exemple implicite • ACTION_VIEW • ACTION_SEND
ACTION_VIEW • Intent i = new Intent(Intent.ACTION_VIEW); • i.setData(Uri.parse("http://google.com")); •
startActivity(i);
ACTION_SEND • Intent i = new Intent(Intent.ACTION_SEND); • i.putExtra(Intent.EXTRA_SUBJECT, "Subject
Here"); • i.putExtra(Intent.EXTRA_TEXT, "A body"); • startActivity(i);
Practica • Ecran de final • Validarea raspunsurilor • Legam
intrebarile intre ele • Inchidem ecranele din urma
Ziua 4 • Shared Preferences • Un ecran de start
• Numar de castiguri si pierderi • Extra
Shared Preferences • getSharedPreferences ("nume_fisier", MODE_PRIVATE)
Salvarea datelor • editor = sharedPreferences.edit() • editor.putInt("numar_castiguri", 5) •
editor.apply()
Citirea datelor • sharedPreferences.getInt("numar_castiguri",0)
Extra: Portret / Landscape • Calificatori de resurse • land
vs port • Practica
Extra: resurse online • AsyncTask<> • Permisiuni android INTERNET •
URL.openStream()
Keep in touch • https://www.facebook.com/ITst.Iasi • https://www.facebook.com/groups/androidiasi/