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
Consejos y Secretos de Programación Android
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Sebastian Delmont
June 26, 2012
Programming
210
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Consejos y Secretos de Programación Android
Campus Party México 2011
Video en
http://www.youtube.com/watch?v=7PwZtmCmuns
Sebastian Delmont
June 26, 2012
More Decks by Sebastian Delmont
See All by Sebastian Delmont
Of Buyers & Renters
sd
3
360
Potpourrí Developero
sd
1
260
Mi Camino a Google+
sd
0
110
Android a 2.600 metros
sd
2
290
Maps Want To Be Free
sd
3
460
Potpourrí Developero
sd
3
320
The StreetEasy Geo Stack
sd
1
190
To Google Or Not To Google
sd
3
400
Other Decks in Programming
See All in Programming
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
590
技術的負債解消で開発者の未来を開く- AIの力でコード刷新
kmd2kmd
0
110
Performance Engineering for Everyone
elenatanasoiu
0
180
net-httpのHTTP/2対応について
naruse
0
500
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
710
New "Type" system on PicoRuby
pocke
1
980
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
21
6.8k
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
170
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
120
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.3k
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
130
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
150
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
100
6.2k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
GitHub's CSS Performance
jonrohan
1033
470k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
Leo the Paperboy
mayatellez
7
1.8k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
600
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
A better future with KSS
kneath
240
18k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
410
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
370
Transcript
Consejos y Secretos de Programación Android +Sebastian Delmont @sd Campus
Party Mexico 2011 Wednesday, July 20, 2011
¿Sebastian Quién? Swift, HootSuite, Gilt, GroupMe, StreetEasy Wednesday, July 20,
2011
1: Recursos Online • d.android.com Articulos, Referencia • stackoverflow.com tag
[android] • github.com/android Ejemplos: Camera App, LinearLayout Wednesday, July 20, 2011
2: Librerías • Android Compatibility Package • Larga lista de
librerías • AppMonk, DroidKit Wednesday, July 20, 2011
3: Eclipse • Optimizar eclipse.ini • Atajos de teclado Search
References - ⇧⌘ G Open Declaration - F3 Quick Outline - ⌘ O Quick Access - ⌘ 3 Open Type - ⇧⌘ T Run Last Launched - ⇧⌘ F11 Wednesday, July 20, 2011
4: ADT • DDMS • Hierarchy Viewer • 9-patch editor
Wednesday, July 20, 2011
5: Desfragmentando • 2.1: 18% 2.2: 60% 2.3: 18% Resto:
4% • 2.1➙2.2: Push, Respaldo, OpenGL • 2.2➙2.3: Audio • 2.3➙3.0: Fragments • Compatibility Package • FragmentationManager Wednesday, July 20, 2011
6: Modelo de Threads • Thread principal (UI) • DNR
• Rendimiento • AsyncTask • Intents y Servicios Wednesday, July 20, 2011
7: Archivos • Interno vs Externo • /sdcard/Android/data • .nomedia
• getExternalFilesDir() 2.2+ Wednesday, July 20, 2011
8: Configuraciones • configChanges ”orientation|keyboardHidden” • onCreate() / onResume() onPause()
/ onStop() • onRetainNonConfigurationInstance() getLastNonConfigurationInstance() Wednesday, July 20, 2011
8: Configuraciones • Preservando el Scroll view = listView.getChildAt() id
= list.getIdForView(view) offset = view.getTop() • Restaurando el Scroll pos = list.getPositionFor(id) listView.setSelectionFromTop(pos, offset) Wednesday, July 20, 2011
9: Imágenes en listas Wednesday, July 20, 2011
9: Imágenes en listas Directo de red Wednesday, July 20,
2011
9: Imágenes en listas Con caché en disco Wednesday, July
20, 2011
9: Imágenes en listas Con caché en disco y caché
en memoria Wednesday, July 20, 2011
9: Imágenes en listas Durante un fling Wednesday, July 20,
2011
9: Imágenes en listas Después del fling Wednesday, July 20,
2011
9: Imágenes en listas Recordar la imagen por omisión Wednesday,
July 20, 2011
10: Layout a la medida • onMeasure • onLayout •
LayoutParams Wednesday, July 20, 2011
11: Tips rápidos • ¿Objetos serializados? HEREJÍA!!! • Layouts anidados
• TextView: Drawables y Spannables • String.format(“%2$d %1$s”, n, x) • Clase Global Wednesday, July 20, 2011
¿Preguntas? +Sebastian Delmont @sd Wednesday, July 20, 2011