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
13. Работа с сетью
Search
Evgeny Shishkin
March 02, 2015
Education
89
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
13. Работа с сетью
Evgeny Shishkin
March 02, 2015
More Decks by Evgeny Shishkin
See All by Evgeny Shishkin
Создать собственное приложение для планирования путешествий за 60 секунд
johnkil
0
46
Aviasales Отели - практический опыт объединения двух приложений
johnkil
0
99
Kotlin in production
johnkil
0
150
Life without Fragments
johnkil
1
530
6. Создание UI
johnkil
0
80
3. Создание Android приложения
johnkil
0
77
4. Структура Android приложения
johnkil
0
150
5. Android ресурсы
johnkil
0
77
1. Введение в Android
johnkil
0
69
Other Decks in Education
See All in Education
Info Session MSc Computer Science & MSc Applied Informatics
signer
PRO
0
290
「機械学習と因果推論」入門 ③ 漸近効率な推定量と二重機械学習
masakat0
0
690
現場最前線から教えるデータサイエンス1 -ITベンダーにおけるデータサイエンティスト-
hidetoshikawaguchi
0
110
モブ社員がモブエンジニアを名乗って得られたこと_20260413
masakiokuda
4
520
Course Review - Lecture 13 - Information Visualisation (4019538FNR)
signer
PRO
1
2.6k
2026年度春学期 統計学 講義の進め方と成績評価について (2026. 4. 9)
akiraasano
PRO
0
190
면접관 눈에 띄는 데이터 분석 포트폴리오 만드는 법 | 2026년 5월 세미나
datarian
0
730
Gitがない時代 インターネットがない時代の 開発話
sapi_kawahara
0
280
SARA Annual Report 2025-26
sara2023
1
370
[2026前期火5] 論理学(京都大学文学部 前期 第3回)「形式言語と四つのキーワード:メタ・構成・意味論・ハーモニー」
yatabe
0
550
2026年度春学期 統計学 第1回 イントロダクション ー 統計的なものの見方・考え方について (2026. 4. 9)
akiraasano
PRO
0
160
0513
cbtlibrary
0
190
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
210
Chasing Engaging Ingredients in Design
codingconduct
0
220
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
230
The Mindset for Success: Future Career Progression
greggifford
PRO
0
360
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Side Projects
sachag
455
43k
The Curious Case for Waylosing
cassininazir
1
390
The Invisible Side of Design
smashingmag
302
52k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
200
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
30 Presentation Tips
portentint
PRO
1
330
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
630
Transcript
Работа с сетью Шишкин Евгений
HTTP
HTTP clients • HttpClient (org.apache.http.client) [API level 1] • AndroidHttpClient
(android.net.http) [API level 8] • HttpURLConnection (java.net) [API level 10]
HTTP requests • Get (длина URL <= 2048 сим.) •
Post
HttpClient
HttpURLConnection
Permission
None
NetworkOnMainThreadException or ANR
AsyncTask
Парсинг • XML (XmlPullParser, DocumentBuilder, SAXParser) • JSON (org.json)
org.json • JSONArray • JSONObject
JSONArray & JSONObject • getBoolean() • getDouble() • getInt() •
getLong() • getString() • getJSONArray() • getJSONObject()
None
Ссылки • http://developer.android.com/reference/java/net/ HttpURLConnection.html • http://www.androidhive.info/2012/01/android-json- parsing-tutorial/