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
Andrei Diaconu
December 17, 2015
Technology
34
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
200
Flutter for Web
andreidiaconu
0
500
The road to your first million
andreidiaconu
0
50
Comparing multi-platform mobile frameworks
andreidiaconu
0
480
PostMuse - Startup Pitch Deck
andreidiaconu
0
90
If I made a product that did X, would you buy it?
andreidiaconu
0
74
Screen Transitions in Android
andreidiaconu
1
340
Performance Tools on Android
andreidiaconu
0
480
Mobile Testing in the cloud
andreidiaconu
0
1.4k
Other Decks in Technology
See All in Technology
医療の現場を変革に挑戦した半年間の軌跡 - PythonとAIで現場を変える / From Code to Care
soudai
PRO
1
580
Kiro Crew で始める マルチエージェント開発
miu_crescent
PRO
0
160
地震情報アプリを作ってみた
yama3133
1
110
AI時代に、人は何を、どう学ぶのか #pbl_pub / What and How Do We Learn in the AI Era?
takaking22
1
240
形式手法特論:Hyperproperty とモデル検査 #kernelvm / Kernel VM Study Tokyo 19th
ytaka23
0
700
:syncing_time:
sksat
2
550
Kiro入門|仕様駆動開発で変わるAI時代の開発スタイル
cmkudo
0
340
ホームラボ紹介
y_sera15
0
230
AI開発に用いられるHPC技術について
gpuunite_official
0
260
SmartHR Engineering Team Deck
smarthr
1
3.6k
現場回帰したデータエンジニアが考える AI 時代のキャリア開発 / Career Development in the Age of AI Perspectives from a Hands-on Data Engineer
medley
0
310
MulticaとPi Coding Agentで、小規模OSSを30本同時運用した流れ
eiei114
0
140
Featured
See All Featured
It's Worth the Effort
3n
188
29k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.1k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Automating Front-end Workflow
addyosmani
1369
210k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
YesSQL, Process and Tooling at Scale
rocio
174
15k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
480
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
How to Ace a Technical Interview
jacobian
281
24k
My Coaching Mixtape
mlcsv
0
260
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/