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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Evgeny Shishkin
March 02, 2015
Education
1
84
13. Работа с сетью
Evgeny Shishkin
March 02, 2015
Tweet
Share
More Decks by Evgeny Shishkin
See All by Evgeny Shishkin
Создать собственное приложение для планирования путешествий за 60 секунд
johnkil
0
42
Aviasales Отели - практический опыт объединения двух приложений
johnkil
0
97
Kotlin in production
johnkil
0
140
Life without Fragments
johnkil
1
510
6. Создание UI
johnkil
0
73
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
2025年度伊藤正彦ゼミ紹介
imash
0
170
1014
cbtlibrary
0
530
ThingLink
matleenalaakso
28
4.3k
React完全入門
mickey_kubo
1
120
Chapitre_2_-_Partie_3.pdf
bernhardsvt
0
150
外国籍エンジニアの挑戦・新卒半年後、気づきと成長の物語
hypebeans
0
730
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
PRO
4
18k
Design Guidelines and Models - Lecture 5 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.3k
Evaluation Methods - Lecture 6 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.3k
おひとり様Organizations管理者もルートアクセス管理を有効にしよう!
amarelo_n24
1
100
TinyGoをWebブラウザで動かすための方法+アルファ_20260201
masakiokuda
2
230
渡辺研Slackの使い方 / Slack Local Rule
kaityo256
PRO
10
11k
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.1k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
The agentic SEO stack - context over prompts
schlessera
0
640
Design in an AI World
tapps
0
140
How to Talk to Developers About Accessibility
jct
2
130
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
440
4 Signs Your Business is Dying
shpigford
187
22k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
170
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
120
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/