Android Lesson 9
Upcoming SlideShare
Loading in...5
×
 

Android Lesson 9

on

  • 174 views

 

Statistics

Views

Total Views
174
Views on SlideShare
174
Embed Views
0

Actions

Likes
0
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Android Lesson 9 Android Lesson 9 Presentation Transcript

  • Урок 9 Шишкин Евгений
  • 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
  • NetworkOnMainThreadException! or ANR
  • AsyncTask
  • Парсинг • XML (XmlPullParser, DocumentBuilder, SAXParser) • JSON (org.json)
  • org.json • JSONArray • JSONObject
  • JSONArray & JSONObject • getBoolean() • getDouble() • getInt() • getLong() • getString() • getJSONArray()! • getJSONObject()
  • Links • http://developer.android.com/reference/java/net/ HttpURLConnection.html • http://www.androidhive.info/2012/01/android-json- parsing-tutorial/