lab

CSCI 4237 Map Game Lab

New of 2011

Make an adventure/map game for Android or Blackberry.

Video Browser Lab

Updated 09/09/2011

Develop a mobile video browser client in Java for Android or Blackberry.

Photo Browser Lab

Updated 09/09/2011

Develop a mobile photo browser client in Java for Android or Blackberry.

Project Name Generator

Make a mobile application to help you generate project names and pass phrases.

Scientific Calculator

New for 2011
Updated 09/09/2011

Make a mobile calculator application with some advanced features. 

WeatherClient Lab

Updated 09/09/2011

Develop a mobile weather client in Java for Android or Blackberry.

Aquarium Lab

Make an aquarium simulation.  Include a tiled background of water, the ocean floor of sand and rocks, some animated sea plants, and some animated fish.

YourChoice lab

Lab 5 - Your Choice

Develop a simple demonstration application that shows how to use an API or package that was not discussed in detail in class. An alternative is to develop a demonstration application for a different platform (not J2ME or not MIDP) that you are interested in. In either case, prepare a 30 minute tutorial on the API, package or platform to be given in class on week 12 and 13. Use your demonstration application as an example.

Some possible ideas include (most of these can be done with an emulator and don't require a real device, although you may wish to use a real device to test your demo application):

GameFram Lab

Lab 4 - Game Framework

This is an OLD lab.

Develop a simple game framework. You should provide a startup menu (form or canvas) from which the user can select from these options (at a minimum):

  • PLAY - play the game. You can implement any sort of game that meets the requirements below.
  • HELP - display information on how to play the game (which keys do what, whats the goal, etc)
  • ABOUT - display information about the game (name of game, author, date, version, URL, etc)
  • HIGH SCORES - List the top 5 scores.
  • EXIT - exit the game MIDlet

Your game does not need to be fully functional, just a simple game. A main character that wanders around a map (under user control) and who collects objects is sufficient. The main game must include the following at a minimum (you can add more if you like):

ResistorCalculator

Make a resistor (electronic component) color code solver. You don't need to know much about resistors, just that the numerical resistance value is represented in color bands printed on the resistor.

PropertyViewer Lab

Lab 2 - Property Viewer

Using any part of the High-Level MIDP user interface (Alert, TextBox, Form, List), implement a property viewer.

HelloWorld lab

Lab 1 - HelloWorld

After installing of the necessary tools (java SDK and WTK (you will want WTK 3.0)), create a new project (MIDP, HelloMIDlet), select the defaultcldcjtwiphone2 emulator, and then compile and run HelloWorld. Modify the program so that it displays your name and "CSCI 188".

What to turn in

Send me a zip file of  the entire WTK project and a screen/widow capture (control+printscreen) of the emulator window.

Phone Emulator


Temperature Sensor Lab Version 2

For this lab you will connect several temperature sensors to the Z16 board, figure out how to access them, configure each sensor and then read the sensor value. I will give you several temperature sensors that use various serial interfaces (I2C, SPI, Analog, PWM, 1-wire). You will need to find the datasheet for each sensor, figure out how to connect it to the Z16, how to configure it, and how to read the sensor value. You will then write a program that will read the sensor and display the value. You must use the floating point library and convert all sensor readings into a float. You will need to modify your display library to display floating point numbers. Your program will continuously read from a sensor and display the result on the LED display. You can write a separate program for each sensor.  The smallest sensor is too small to contain the full patr number, instead it is marked "CNCT" but is infact a TC77 sensor.

sensors