Java 2 micro edition - programming for mobile phones, JAVA Programming

Assignment Help:

You must design, code and demonstrate a J2ME program (a program capable of running on mobile telephones) according to the specification given in the next section.  The overall coursework must be demonstrated and explained to your lab tutor in the labs during week 45 - W/C 3rd June . If you fail to explain certain features of the coursework, the marks for the feature will not be awarded to you. Hand in the write-up for the coursework on the 4th June 2013. It is acceptable to use the starter project as basic functionality development and add to it your own developments and features.

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:

1. Creating two threads - one for communication (receiving and sending) and the other (main) thread will be for interaction with the user. You will need also additional timer object for added interactivity - e.g. gauge.

2. The main thread will make use of three midlet forms. The first form will ask for file name and separately for a delimiter which will separate the words in the text file document, the third form will display the number of words which appear in the file 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).

3. The second thread should perform file reading, read its content, count the occurrences of the words according to the delimiter given and pass this information to the first thread to display (add additional sleep between the lines of the reading the file program if the reading is too fast). The file can a be a file on the mobile phone of your choice or an html file retrieved using http connection to a web server.

4. Use gauge component to show the user that the program is busy reading from the server for additional marks.


Related Discussions:- Java 2 micro edition - programming for mobile phones

What are the basic components of jsp?, There are two different types of dat...

There are two different types of data in a JSP page. 1. Static part which occurs copied directly to the response by the JSP Engine. 2. Dynamic part, which have anything that

Java is object oriented programme language, Java is Object oriented program...

Java is Object oriented programme language Java is comprehensively OOP language with robust memory system Memory errors largely disappear due to safe pointers and garbage c

What does the keyword "synchronize" mean in java, What does the keyword " s...

What does the keyword " synchronize " mean in java. What are the usage and disadvantages of synchronization?

Programming Project, Design and implement a class called Sphere that contai...

Design and implement a class called Sphere that contains instance data that represents the sphere''s diameter, and include getter and setter methods for the diameter. Include metho

Polymorphism carbonfootprint interface program, (CarbonFootprint Interface:...

(CarbonFootprint Interface: Polymorphism) Using interfaces, as you learned in this chapter, you can specify similar behaviors for possibly disparate classes. Governments and compan

Encapsulation, Defines to keeping all the related members together in an ob...

Defines to keeping all the related members together in an object. Specifying member variables as private may hide the methods and variables. Objects should hide their inner working

What are the usages of package in java? , It helps to resolve naming confli...

It helps to resolve naming conflicts when different packages have classes with the same names. This also helps you prepare files within your project. As define : java.io package d

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd