Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Clase 3 (Tema 4 - Threads y API)
Search
Adrián Catalán
October 24, 2013
Technology
53
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Clase 3 (Tema 4 - Threads y API)
Curso MOOC de Android en Telescopio (
http://telescopio.galileo.edu
)
Adrián Catalán
October 24, 2013
Transcript
13 slides
CLASE 3: Cámara y API Adrián Catalán
[email protected]
@ykro
THREADS Y API Tema 4
http://fav.me/d23q3cy
Threads • Necesidad de realizar tareas en paralelo (multi tasking)
• No es un servicio • main thread y worker threads • ANR
Threads • Thread de Java • Clase Handler para comunicación
• Async Task • Librerías – Resty – OkHttp – Volley
Async task • onPreExecute() • doInBackground() • onPostExecute()
Async task
None
Datos remotos • Web services • SOAP • REST
Conexión HTTP
Volley • RequestQueue – Volley.newRequestQueue(this) • Diferentes tipos de requests – JSON
Volley • Manejo de la respuesta
http://fav.me/d4d8tzn
More Decks by Adrián Catalán
See All by Adrián Catalán
Clase 2 (Tema 3 - Tabs)
ykro
0
140
Clase 2 (Tema 5 - Navigation Drawer)
ykro
0
88
Clase 2 (Tema 4 - View Pager)
ykro
0
99
Clase 3 (Tema 1 - CustomLayout)
ykro
0
71
Clase 3 (Tema 2 - Dialogs)
ykro
0
77
Clase 2 (Tema 2 - ActionBar y Menú)
ykro
0
63
Clase 3 (Tema 3 - Cámara)
ykro
0
59
Clase 3 (Tema 5 - Parse JSON)
ykro
0
100
Clase 3 (Tema 6 - Notificaciones y Backend con Parse.com)
ykro
0
150
Other Decks in Technology
See All in Technology
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
180
Is the Website Dying?
miriamschwab
0
220
20261119_AgentCore
takuyay0ne
2
310
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
2
520
業務の傍らで進める改善ループエンジニアリング
bengo4com
1
250
Kiro のリモートワークスペース: IDE は手元のままで、ワークスペースをクラウド、コンテナ、自前のマシンに置く
inariku
PRO
2
220
クラウドでも使えるNetApp -現場目線での設計とクラウドバックアップの活用
ryutakondo
1
340
そのイメージ、どのCIが作った? Artifact Attestationsで来歴を固定する / Which CI system created that image? Pinning provenance with Artifact Attestations
chmikata
0
280
共通基盤の実装に Kotlin - Quarkus を選定した理由と採用したアーキテクチャ
nealle
1
170
攻撃と守りは何が変わり、何が変わらないのか~最近の不正アクセスから考える、リスク評価と標準の使いどころ
oidfj
2
340
Platform Engineering をベースとした Agentic Software Factory の実践
110y
3
1k
新規事業開発でのAWS活用成功談&失敗談! 〜新規事業開発を専門に行うRelicならではのAWS活用〜
amixedcolor
1
150
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
650
Visualization
eitanlees
153
17k
The Invisible Side of Design
smashingmag
301
52k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
61k
YesSQL, Process and Tooling at Scale
rocio
174
15k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Testing 201, or: Great Expectations
jmmastey
46
8.4k
WCS-LA-2024
lcolladotor
0
1k
A Soul's Torment
seathinner
9
4k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
560
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
So, you think you're a good person
axbom
PRO
2
2.3k