Introductory Java (SI543)

SI543 at the Unviersity of Michigan is a Masters Level Introductory Java class taught by Dr. Charles Severance (Dr. Chuck).

Fall 2008, the decision was made to dedicate the last three weeks of the course to be about the Google Android project. The rest of the course had some neat work in Java Swing including particle simulation, XML parsing, and a Pong game so we were well positioned to play with Android.

This web site provides these materials in an Open Courseware fashion so others may make use of these materials in the emergent time of Android.

Assignment 1 - Installing Android

Here is the assignment:

Download and install the Android software - see

http://code.google.com/android/download.html

Create a trivial hello world application and change it to say your name instead of Hello world.

Hand in a screenshot of android running the program with your name.

Extra Credit: Get the Lunar Lander application working from the sample directory.

Here is a podcast that starts from scratch on a Windows system installs the Android SDK and the Eclipse Plugin and then does the assignment including the LunarLandar application.

Assignment 1: High Quality Quicktime Version (Youtube version)

Some Blog Entries:

Application 1B - Twitter Viewer

This application reads XML and parses an RSS feed and displays the tile of the first item in the RSS feed. Just download the source code, unzip it and make a new Android Project in Eclipse.

Source code: Download Twitter Viewer Source Code

Lecture 1 - Twitter Viewer

This lecture covers the same material and goes into RSS parsing - it ends up writing a simple Android application that reads a Twitter feed and displays the first element in the feed.

This lecture requries RealPlayer. This lecture is recorded with the automatic camera tracking system from the Michigan MScribe Project.

Lecture 22 - Using Android to Retrieve RSS Feeds

It is not a screen cast - it takes snapshots of the screen every few seconds. The lecture rambles a bit because it is something which was figured out only hours earlier.

Assignment 2 - Pong Game

The second (and final) assignment is to build a Pong game.

Take the following ZIP file in Android for Pong and make the game work. A TODO indicates where the code needs to be changed. You should not have to change anything else. The program sort of works - but you need to add the collision detection code - should be no more than 20 lines. You should not ned ot modify any code outside the TODO unless you want a challenge - after all it is just Java!

Download the source to Assignment 2

A Silent Movie Podcast - Running the Pong Program on Windows

Recorded Lecture on dealing with problem with Android, using adb, ad the Pong game

Blog entry about using Android adb

Other materials

These are good more advanced resources:

These are a bit complex - but very good - just start them and listen in the background.

SI543 Text Book

This has nothing to do with Android - it is just our text book.
Java, Java, Java, Object-Oriented Problem Solving, 
Third Edition Morelli & Walde ©2006 | Prentice Hall | 
Paper; 880 pp | Instock ISBN-10: 0131474340 | ISBN-13: 9780131474345

http://vig.prenhall.com/catalog/academic/product/0,1144,0131474340,00.htm