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
Sebastian Delmont
June 26, 2012
Programming
3
190
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
Tweet
Share
More Decks by Sebastian Delmont
See All by Sebastian Delmont
Of Buyers & Renters
sd
3
350
Potpourrí Developero
sd
1
250
Mi Camino a Google+
sd
0
87
Android a 2.600 metros
sd
2
240
Maps Want To Be Free
sd
3
450
Potpourrí Developero
sd
3
300
The StreetEasy Geo Stack
sd
1
180
To Google Or Not To Google
sd
3
390
Other Decks in Programming
See All in Programming
CSC509 Lecture 02
javiergs
PRO
0
410
Web フロントエンドエンジニアに開かれる AI Agent プロダクト開発 - Vercel AI SDK を観察して AI Agent と仲良くなろう! #FEC余熱NIGHT
izumin5210
3
420
CSC305 Lecture 04
javiergs
PRO
0
250
Your Perfect Project Setup for Angular @BASTA! 2025 in Mainz
manfredsteyer
PRO
0
130
高度なUI/UXこそHotwireで作ろう Kaigi on Rails 2025
naofumi
4
3.5k
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
140
CSC509 Lecture 06
javiergs
PRO
0
240
Go言語の特性を活かした公式MCP SDKの設計
hond0413
1
190
Introducing ReActionView: A new ActionView-Compatible ERB Engine @ Kaigi on Rails 2025, Tokyo, Japan
marcoroth
3
930
iOSエンジニア向けの英語学習アプリを作る!
yukawashouhei
0
180
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
200
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
150
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
173
14k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Become a Pro
speakerdeck
PRO
29
5.5k
Done Done
chrislema
185
16k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Six Lessons from altMBA
skipperchong
28
4k
How STYLIGHT went responsive
nonsquared
100
5.8k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
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