Lecture Presentation 1

Goals 2

Threading 3

Dangers of slow code 4

Difficulties with running code in a separate thread 5

AsyncTask class 6

AsyncTask overridable methods 7

Example 8

Network requests 9

Network permission 10

Preparing a network request 11

Reading the response from the server 12

Determine connectivity 13

Web APIs 14

Web/Screen scraping 15

Interpret html using Java string handling 16

Interpret html using regular expressions in Java 17

Interpret JSON 18

Binary data from a network request 19

Some API examples 20

API Libraries / SDKs 21

More information 22