Lecture Presentation



Dangers of slow code

Difficulties with running code in a separate thread

AsyncTask class

AsyncTask overridable methods


Network requests

Network permission

Preparing a network request

Reading the response from the server

Determine connectivity

Web APIs

Web/Screen scraping

Interpret html using Java string handling

Interpret html using regular expressions in Java

Interpret JSON

Binary data from a network request

Some API examples

API Libraries / SDKs

More information