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
Jak vyrobit aplikaci pro Android
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
petrnohejl
February 18, 2012
Programming
410
1
Share
Jak vyrobit aplikaci pro Android
Tutoriál z Android Dev Campu 2012 v Praze.
petrnohejl
February 18, 2012
More Decks by petrnohejl
See All by petrnohejl
Alfonz
petrnohejl
1
500
Intro to Android for QA
petrnohejl
1
94
MVVM Architecture on Android
petrnohejl
7
2.8k
Other Decks in Programming
See All in Programming
AI時代になぜ書くのか
mutsumix
0
220
when storing skills in S3 file
watany
3
1.4k
JAWS-UG横浜 #100 祝・第100回スペシャルAWS は VPC レスの時代へ
maroon1st
0
220
過去のレビュー知見をSkillsで資産化した話
pkshadeck
PRO
1
1.6k
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
220
The Less-Told Story of Socket Timeouts
coe401_
3
980
Kingdom of the Machine
yui_knk
2
1.4k
Are We Really Coding 10× Faster with AI?
kohzas
0
130
🦞OpenClaw works with AWS
licux
1
340
ソースコード→AST→オペコード、の旅を覗いてみる
o0h
PRO
1
130
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
150
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
1k
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Code Review Best Practice
trishagee
74
20k
Crafting Experiences
bethany
1
140
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.1k
Abbi's Birthday
coloredviolet
2
7.5k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Designing Powerful Visuals for Engaging Learning
tmiket
1
360
Skip the Path - Find Your Career Trail
mkilby
1
120
ラッコキーワード サービス紹介資料
rakko
1
3.2M
SEO for Brand Visibility & Recognition
aleyda
0
4.5k
So, you think you're a good person
axbom
PRO
2
2k
Transcript
Tutoriál: Jak vyrobit aplikaci pro Android
Android Dev Camp 2012 Petr Nohejl @petrnohejl www.petrnohejl.cz
Co budeme dělat?
Naučíme se… 1) Založit nový projekt 2) Vytvářet aktivity 3)
Používat resources 4) Navrhovat GUI
Budeme potřebovat… • Znalosti jazyka Java • Eclipse & Android
SDK • Androidí zařízení
1. Nový projekt
Nový projekt v Eclipse… • Build SDK target • Package
name • Minimum SDK version
Struktura projektu… • /src • /res • /gen • /assets
• manifest
Manifest… • Version • Install location • Min SDK version
• Target SDK version • Permissions • Activities
2. Aktivity
Aktivita… 1 aktivita =
Životní cyklus… onCreate() onResume() Activity running… onPause() onDestroy()
Vyzkoušej si… Log.d(" Foo ", " Bar "); a sleduj
LogCat (DDMS)
3. Resources
Resources… • Xml formát • Resource id (R.id, R.layout, R.string,
R.drawable, R.color, …) • Problémy s resources? Eclipse menu > Project > Clean…
Typy resources… • /layout • /values • /drawable • /menu
Qualifiers… • /drawable-hdpi (-mdpi, -ldpi, …) • /values-cs (-en, -de,
…) • /layout-large-land • Priority…
Typy values… • <string /> • <dimen /> • <color
/> • <style />
Rozměry… • dp (density independent pixels) • sp (scale independent
pixels) • px (pixels)
4. GUI
Layouts… <LinearLayout />
Layouts… <RelativeLayout />
Layouts… • <FrameLayout /> • <TableLayout /> • <AbsoluteLayout />
• <ScrollView />
Views… • <TextView /> • <ImageView /> • <EditText />
• <Button /> • <ListView />
Co dál?
Vývojářská příručka… • http://d.android.com/guide/
Díky a nashledanou!
None