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
210
3
Share
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
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
210
Claspは野良GASの夢をみるか
takter00
0
140
tsserverとは何だったのか、これからどうなるのか
nowaki28
1
430
AI駆動開発勉強会 広島支部 第一回勉強会 AI駆動開発概要とワークショップ
hayatoshimiu
0
420
Modding RubyKaigi for Myself
yui_knk
0
830
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.2k
Swiftのレキシカルスコープ管理
kntkymt
0
200
3Dシーンの圧縮
fadis
1
540
さぁV100、メモリをお食べ・・・
nilpe
0
120
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
240
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
310
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
500
Featured
See All Featured
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
160
Building Applications with DynamoDB
mza
96
7.1k
Building Adaptive Systems
keathley
44
3k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
850
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
370
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
150
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
200
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
How to train your dragon (web standard)
notwaldorf
97
6.6k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
KATA
mclloyd
PRO
35
15k
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