Homework 2 - Getting Started on the iPAQs

Due - Wednesday, March 31, 2004

The goal of this assignment is to get you started with developing programs for handheld computers. For this assignment, you will port your client/server program from Project 1 to the iPAQ devices. This assignment is to be done individually.

First, you must repair any problems you had with your client and/or server from Project 1. When developing for the iPAQ, you can write your code and compile from a Windows machine. You can then use an emulator to test your code before actually running on the iPAQs. Once you have successfully compiled and emulated your code, you are ready to copy your class files to the iPAQs and test there. You can check out the iPAQs (2 at a time) from the media desk at the library and bring them back to Clapp 202 to test your code. The following tutorial should get you started:
iPAQ Tutorial

You should run your server on one iPAQ, and your client on the other. If you have compiled your client/server code using Java 1.1.8, it should run on the iPAQ unmodified. The only change you will need to make is to replace "localhost" with the IP address of the server iPAQ. Make sure you do this and recompile before you transfer the class files to the iPAQS. The tutorial tells you where you can find that information.


Turnin - Assignments are due by the start of class (that's 11AM) on the due date.
  1. A description of all test cases you ran and the results of each test case.
  2. A description of all changes you made to the code you submitted for Project 1.
  3. The final version of all java files -- client and server.


Sami Rollins