PDA

View Full Version : J2ME Help



Hixxy
December 14th, 2009, 03:14 PM
This is what I have been asked to do:





Write a J2ME (java micro-edition) code program using the http connectivity interface as described in the java specification (Generic Connectivity Framework) to deliver the following functionality:



Creating two threads – one for communication (receiving and sending) and the other (main) thread will be for communication with the user.
The main thread will make use of three midlet forms. The first form will ask for web page address (URL) and separately for a delimiter which will separate the words in the URL document, the third form will display the number of words which appear on the web page as separated by the delimiter specified, while the second form will be intermediate form displaying moving gauge while the reading takes place (optional - for higher marks only).
The second thread should perform http connectivity to the WWW, connect to the appropriate web page and read its content, count the occurrences of the words and pass this information to the first thread to display.
Use gauge component to show the user that the program is busy reading from the server for additional marks.



Any ideas?

arubislander
December 14th, 2009, 03:25 PM
Nope.. I'm drawing a blank here...