Android Networking and Threading

Grading

This assignment should be done individually.
This assignment is a bit harder than the last one.

During class on 1/31/2011, each student will show me their working demo and will receive a grade and feedback immediately.

Android

Threading

  1. Read The Busy Coder's Guide to Android Development, Chapter 21: Dealing with Threads
    1. Create an application that utilizes multiple threads of execution
    2. This can be a simple application (as in the textbook) that does something long running in a separate thread while the GUI remains responsive

Networking

  1. Read The Busy Coder's Guide to Android Development, Chapter 29: Communicating via the Internet
  2. Read Android Programming Tutorials, Chapter 15: Raising (Something Like) a Tweet
    1. Create an application that uses HTTP GET and HTTP POST via the Apache HttpClient to retrieve and send information to and from the internet. Something like a simple Twitter client would be great.
    2. You will have to parse JSON here to get reasonable results. This is in the book, too.
    3. NOTE: If you're getting “HTTP Bad Request”, check that you don't have superfluous whitespace in your username (using the <tab> key may do this), and that you're not sending the same tweet twice in a row. The same text twice in a row generates a Bad Request, to prevent flooding the server.

Setup

We will be using github for this assignment. Our repository is on github here: https://github.com/olin-dotcom/depot-and-ui.

Create a new branch for this assignment. Name it something obvious.

android_networking_and_threading.txt · Last modified: 2011/02/07 13:52 by tryan
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki