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
87
1
Share
13. Работа с сетью
Evgeny Shishkin
March 02, 2015
More Decks by Evgeny Shishkin
See All by Evgeny Shishkin
Создать собственное приложение для планирования путешествий за 60 секунд
johnkil
0
43
Aviasales Отели - практический опыт объединения двух приложений
johnkil
0
97
Kotlin in production
johnkil
0
140
Life without Fragments
johnkil
1
520
6. Создание UI
johnkil
0
74
3. Создание Android приложения
johnkil
0
71
4. Структура Android приложения
johnkil
0
150
5. Android ресурсы
johnkil
0
73
1. Введение в Android
johnkil
0
61
Other Decks in Education
See All in Education
2026年度春学期 統計学 第2回 統計資料の収集と読み方 (2026. 4. 16)
akiraasano
PRO
0
130
AI時代において英語学習は本当に必要? ~未経験からのバイリンガルキャリアの始め方を教えます~
kekekenta
0
130
吉祥寺.pmは1つじゃない — 複数イベント並走運営の12年 —
magnolia
0
310
勝手にCULTIBASE で広げよう、探究の輪! - CULTIVAL 2026
hiroc_sk
1
160
Sponsorship 2026 | VizChitra
vizchitra
2
270
Google AI Studio 開発者向け完全ガイド プロトタイピ まで ングからReactアプリ 構築・マルチモーダル活用
mickey_kubo
1
130
「機械学習と因果推論」入門① 因果効果とは
masakat0
0
1.5k
リモートリポジトリの操作 / 02-c-remote
kaityo256
PRO
0
160
SARA Annual Report 2025-26
sara2023
1
300
演習:Gitの応用操作 / 05-git-advanced
kaityo256
PRO
0
270
Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)
signer
PRO
0
2.6k
Google Antigravity エージェント・フ ァーストな開発パラダイムへの招待
mickey_kubo
1
130
Featured
See All Featured
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
260
Believing is Seeing
oripsolob
1
110
Navigating Weather and Climate Data
rabernat
0
170
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
130
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
It's Worth the Effort
3n
188
29k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
350
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
410
WENDY [Excerpt]
tessaabrams
10
37k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
320
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
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/