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
0
21
Intro to Android in 4 days
Training for really basic Android concepts, way back in 2015.
Andrei Diaconu
December 17, 2015
Tweet
Share
More Decks by Andrei Diaconu
See All by Andrei Diaconu
On-device machine learning in Flutter
andreidiaconu
0
150
Flutter for Web
andreidiaconu
0
500
The road to your first million
andreidiaconu
0
41
Comparing multi-platform mobile frameworks
andreidiaconu
0
460
PostMuse - Startup Pitch Deck
andreidiaconu
0
74
If I made a product that did X, would you buy it?
andreidiaconu
0
68
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
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.8k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.4k
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
680
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
1
160
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
260
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
2k
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
670
22nd ACRi Webinar - NTT Kawahara-san's slide
nao_sumikawa
0
100
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
320
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
620
Context Engineeringの取り組み
nutslove
0
370
Featured
See All Featured
A Soul's Torment
seathinner
5
2.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Google's AI Overviews - The New Search
badams
0
910
Balancing Empowerment & Direction
lara
5
890
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
エンジニアに許された特別な時間の終わり
watany
106
230k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
240
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/