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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
petrnohejl
February 18, 2012
Programming
1
400
Jak vyrobit aplikaci pro Android
Tutoriál z Android Dev Campu 2012 v Praze.
petrnohejl
February 18, 2012
Tweet
Share
More Decks by petrnohejl
See All by petrnohejl
Alfonz
petrnohejl
1
500
Intro to Android for QA
petrnohejl
1
85
MVVM Architecture on Android
petrnohejl
7
2.7k
Other Decks in Programming
See All in Programming
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
120
re:Invent 2025 のイケてるサービスを紹介する
maroon1st
0
170
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
420
Fragmented Architectures
denyspoltorak
0
140
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
5.8k
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
1.9k
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
160
AgentCoreとHuman in the Loop
har1101
5
200
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.2k
Vibe codingでおすすめの言語と開発手法
uyuki234
0
200
2年のAppleウォレットパス開発の振り返り
muno92
PRO
0
190
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
610
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
Visualization
eitanlees
150
17k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
55
49k
The Language of Interfaces
destraynor
162
26k
The agentic SEO stack - context over prompts
schlessera
0
600
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
380
Everyday Curiosity
cassininazir
0
120
The Limits of Empathy - UXLibs8
cassininazir
1
210
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
110
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
The Curse of the Amulet
leimatthew05
1
7.8k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
46
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