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

File handling operation, Write a program called Drivers that displays infor...

Write a program called Drivers that displays information about Formula 1 drivers and their teams.     The program starts by prompting (asking) the user for the name of an input tex

Constractar, Create a class HourlyWorker mind: particularHourlyWorker emplo...

Create a class HourlyWorker mind: particularHourlyWorker employee. • Declare two data members named wage and hours of double type with private access. • Implement a parameterized c

Why processing an unknown number of parameters, Why Processing An Unknown N...

Why Processing An Unknown Number Of Parameters ? Most of the time you have a fairly high-quality idea of what parameters will and won't be passed to your applet. Therefore som

Draw out a uml class diagram, Question: (a) Draw out a UML class diagra...

Question: (a) Draw out a UML class diagram that captures the following information: An Employee is a kind of Person. An ATM is a kind of Machine. Both an Employee and an ATM

What is an advice, Advice is the execution of an aspect. It is something li...

Advice is the execution of an aspect. It is something like telling your application of a new behavior. Generally, and advice is inserted into an application at joinpoints

Functions of specific codes, Please can you write some codes and their func...

Please can you write some codes and their functions too. At least 10! Please

Why http is a stateless protocol ?, The "http protocol" is a stateless resp...

The "http protocol" is a stateless response or request based protocol. You may contain the state information between different page requests as given below: HTTP Sessions are

Develop a visual design in java, Player Ship Appearance: • Your ship mu...

Player Ship Appearance: • Your ship must be either a nice-looking sphere (left image above), or a nice-looking sphere with a "mouth" (middle image above), depending on variant.

String concatenation and comparison, String concatenation and comparison ...

String concatenation and comparison public class StringTest { public static void main(String[] args) { int i = 4; int j = 5; System.out.println ("Hello" + i); // wi

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