Finish Networking Android, iPhone Networking




CS185c

Chris Pollett

Oct. 12, 2009

Outline

HTTP

WebView

More on WebView

A Lower Level Way to Request a Page

Request a Page Using java.net

Quiz

Which of the following statements is true:

  1. The code for transitions between views is automatically set up for you on iPhone
  2. The constructor of android.net.Socket can be used to set up a TCP connection between an Android device and an internet host
  3. android.net.ConnectivityManager is an Activity that can be used to find out network info.

Networking on the iPhone

Some UIWebView and UiWebViewDelegate methods

Getting the Response into Data