This project is intended to practice elementary J2ME MIDlet development. The project only requires basic understanding of J2ME MIDlet APIs.
1) The project:
The whole project requires you to develop a J2ME MIDlet (it can be a MIDlet suite) that performs the following operations:
a. The application will present a menu with four choices.
b. If the first choice is selected by a user, the application will ask for a URI. Then the application will make an HTTP connection using the given URI and retrieve a HTML page, and display it to the user.
c. If the second choice is selected, the MIDlet application will ask for two integers of coordinaors (x, y), and two integer numbers that represent the length and width of a rectangle. Then the application will draw a rectangle of the size specified, at the location specified, with red color filled inside the rectangle. The corner of the rectangle must be rounded properly.
d. The third choice is selected the application will ask an integer input. The application then draws a color circle with that integer as radius in the center of the screen. You can choose any color for the circle.
e. If the fourth choice is selected, the MIDlet application will ask for two float numbers as input. Then the application will find out the product of the two float numbers and print the result.
The project asks for connection to a normal HTTP server. Please observe the output obtained in your project and describe it. As the class covers J2ME toolkit in Windows XP environment, the project should be implemented and tested in the Windows environment. You should use J2ME toolkit 3.2 that is embedded in Java Netbeans 7.2.1.
3) Project submission:
A complete project should contain the following items:
Project description: This is a very important part of your project. A sloppy description may hurt your grade, even if your actual implementation is excellent. Your description has to include at least the following components.
– An itemized description about what features are implemented or not (or cannot be) implemented. In case a feature is not or (cannot be) implemented, please state clearly the reasons.
– For each implemented feature, what special functions (system calls)/techniques/methods, and data structures, are used.
– A README file that instructs how to compile and run your program.