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
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
Web 2.0 Patterns and Technologies - Lecture 8 - Web Technologies (1019888BNR)
signer
PRO
0
3k
ThingLink
matleenalaakso
28
4.3k
160人の中高生にAI・技術体験の講師をしてみた話
shuntatoda
1
300
俺と地方勉強会 - KomeKaigi・地方勉強会への期待 -
pharaohkj
1
1.6k
2025年の本当に大事なAI動向まとめ
frievea
0
170
焦りと不安を、技術力に変える方法 - 新卒iOSエンジニアの失敗談と成長のフレームワーク
hypebeans
1
650
1202
cbtlibrary
0
210
Use Cases and Course Review - Lecture 8 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.4k
Leveraging LLMs for student feedback in introductory data science courses (Stats Up AI)
minecr
1
170
ロータリー国際大会について~国際大会に参加しよう~:古賀 真由美 会員(2720 Japan O.K. ロータリーEクラブ・(有)誠邦産業 取締役)
2720japanoke
1
770
卒論の書き方 / Happy Writing
kaityo256
PRO
54
28k
The browser strikes back
jonoalderson
0
390
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.6k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.1k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
86
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
Odyssey Design
rkendrick25
PRO
1
500
YesSQL, Process and Tooling at Scale
rocio
174
15k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
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/