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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Andrei Diaconu
December 17, 2015
Technology
28
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
190
Flutter for Web
andreidiaconu
0
500
The road to your first million
andreidiaconu
0
45
Comparing multi-platform mobile frameworks
andreidiaconu
0
470
PostMuse - Startup Pitch Deck
andreidiaconu
0
79
If I made a product that did X, would you buy it?
andreidiaconu
0
71
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
新規事業を牽引する技術選定 〜フルスタックTypeScript開発の実践事例〜
nullnull
1
160
Javaで学ぶSOLID原則
negima
1
260
Oracle AI Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
6
1.8k
【Gen-AX】20260530開催_JJUG CCC 2026 Spring
genax
0
330
OCI Oracle AI Database Services新機能アップデート(2026/03-2026/05)
oracle4engineer
PRO
0
100
Sony_KMP_Journey_KotlinConf2026
sony
2
200
自称宇宙最速で不合格となったAIP-C01にリベンジを果たすべくAIで問題集アプリを作ってみた。
yama3133
0
260
エンジニアは生成AIと どのように向き合うべきか? ことばの意味という観点から
verypluming
3
320
関西に縁あるMicrosoft MVPsが語るCopilotの未来
kasada
0
990
Strands Agents超入門
kintotechdev
1
150
Generative UI × A2UI で AI エージェントを作った話 AI-DLC も使ってみた!
kmiya84377
1
310
Datadog 認定試験の概要と対策
uechishingo
0
220
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
23k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
470
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
810
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Site-Speed That Sticks
csswizardry
13
1.2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
22k
The Curse of the Amulet
leimatthew05
1
13k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
380
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
200
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
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/