Networking, Android UI, iPhone Networking




CS185c

Chris Pollett

Mar 12, 2012

Checking Network Status

More on NetInfo Example

Creating a Server Socket

Quiz

Which of the following is true?

  1. A Handler's postDelayed method can be used to set up a callback to a Runnable object's run() method after a specific time has passed.
  2. setInterval can be used to specify a callback in Javascript that will only be called once by default
  3. UIView's setAnimationCurve message is used to set whether the animation between two views will be UIViewAnimationTransitionFlipFromRight, UIViewAnimationTransitionFlipFromLeft, ... in iPhone.

Communicating with a Server

HTTP

WebView

More on WebView

A Lower Level Way to Request a Page

Request a Page Using java.net