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
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.6k
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
8
3.3k
スマートグラスで並列バイブコーディング
hyshu
0
110
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
210
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
450
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
200
AIエージェントの隔離技術の徹底比較
kawayu
0
470
CSC307 Lecture 17
javiergs
PRO
0
320
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
240
肥大化するレガシーコードに立ち向かうためのインターフェース分離と依存の逆転 / JJUG CCC 2026 Spring
hirokunimaeta
0
520
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
150
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
380
Featured
See All Featured
Navigating Weather and Climate Data
rabernat
0
210
Designing Powerful Visuals for Engaging Learning
tmiket
1
400
Building an army of robots
kneath
306
46k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
300
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
200
Making Projects Easy
brettharned
120
6.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
New Earth Scene 8
popppiees
3
2.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
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