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
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
99
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
13. Работа с сетью
Evgeny Shishkin
March 02, 2015
Transcript
15 slides
Работа с сетью Шишкин Евгений
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/
More Decks by Evgeny Shishkin
See All by Evgeny Shishkin
Создать собственное приложение для планирования путешествий за 60 секунд
johnkil
0
57
Aviasales Отели - практический опыт объединения двух приложений
johnkil
0
100
Kotlin in production
johnkil
0
150
Life without Fragments
johnkil
1
560
6. Создание UI
johnkil
0
93
3. Создание Android приложения
johnkil
0
84
4. Структура Android приложения
johnkil
0
160
5. Android ресурсы
johnkil
0
86
1. Введение в Android
johnkil
0
83
Other Decks in Education
See All in Education
Unit 4: Introduction to Software Development Life Cycle
sonakv
0
120
Dronegeografía innovación didáctica y fotogrametría 3D para la enseñanza de la geografía local y la ciudadaniía activa
juanmartin2026
0
61k
The Dirty Dozen: 12 gala mistakes you don’t know you’re making
auctria
PRO
0
290
1002
cbtlibrary
0
560
GOVERNOR ADDRESS 2 :延岡 研一 氏(国際ロータリー第2720地区:2026-2027年度 地区ガバナー・人吉ロータリークラブ ・人吉電気工事株式会社 会長)卓話 : 2026.10.26例会・卓話
2720japanoke
0
700
EL GEOPARQUE MUNDIAL UNESCO VOLCANES DE CALATRAVA: DE LA INVESTIGACIÓN CIENTÍFICA A LA TRANSPOSICIÓN DIDÁCTICA EN EL AULA
juanmartin2026
0
58k
Concours Photo - UGE - 2026
echaille
0
200
Biological Source, Chemical Constituents And Therapeutic Efficacy
pawan_pharm
0
180
2026年度秋学期 統計学 第8回(オンデマンド配信回) 演習(1)・問題に対する答案の書き方 (2026. 11. 17)
akiraasano
PRO
0
130
【ainiチャット】2段階認証設定方法
ainischool
0
170
[2026後期火5] 論理学(京都大学文学部 後期 第1回)「名前はあるのに、誰なのかわからない」
yatabe
0
210
[2026後期火5] 論理学(京都大学文学部 後期 第4回)「∃ の規則と存在具体性」
yatabe
0
140
Featured
See All Featured
Marketing to machines
jonoalderson
1
6k
How GitHub (no longer) Works
holman
316
150k
30 Presentation Tips
portentint
PRO
1
480
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
320
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
The SEO Collaboration Effect
kristinabergwall1
1
630
Skip the Path - Find Your Career Trail
mkilby
1
300
The Invisible Side of Design
smashingmag
301
52k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
650