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
340
Potpourrí Developero
sd
1
240
Mi Camino a Google+
sd
0
83
Android a 2.600 metros
sd
2
190
Maps Want To Be Free
sd
3
440
Potpourrí Developero
sd
3
300
The StreetEasy Geo Stack
sd
1
170
To Google Or Not To Google
sd
3
380
Other Decks in Programming
See All in Programming
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
180
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
100
RubyLSPのマルチバイト文字対応
notfounds
0
120
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
1.9k
AI時代におけるSRE、 あるいはエンジニアの生存戦略
pyama86
6
1.1k
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
540
Remix on Hono on Cloudflare Workers
yusukebe
1
290
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
170
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
1.4k
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
222
8.9k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Rails Girls Zürich Keynote
gr2m
94
13k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
KATA
mclloyd
29
14k
The Language of Interfaces
destraynor
154
24k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Scaling GitHub
holman
458
140k
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