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

Object and Instance, What is the difference between instance and object of ...

What is the difference between instance and object of a class? Few says both are same, then why java kept both the words for same thing?

Padovan String, A Padovan string P(n) for a natural number n is defined as:...

A Padovan string P(n) for a natural number n is defined as: P(0)=''X'' P(1)=''Y'' P(2)=''Z'' for a string characters ''X'',''Y'',''Z'' only,and given value of n,write a program th

Online doctor, can you explain me the er diagram for the online doctor syst...

can you explain me the er diagram for the online doctor system

Explain the term - garbage collection, Explain the term - Garbage Collectio...

Explain the term - Garbage Collection Java  performs  garbage  collection  and  eliminates  the  need  to  free  objects  explicitly.  When an object  has  no references   to

Basic difference between java and c++, Both Java and C++ use same syntax an...

Both Java and C++ use same syntax and are Object Oriented, but there are several differences between Java and C++:   1.    Java does not use pointers. Pointers are inherently

write a junit test suite, Objective The objective of this lab exercis...

Objective The objective of this lab exercise is to develop a unit test suite using JUnit Specification of the Program to be Tested You are given the source code of a Java clas

Dropbox calendar, code in dropbox calendar and loop for feruary leapyear

code in dropbox calendar and loop for feruary leapyear

How to use dispatchaction, To use the DispatchAction, follow these steps: ...

To use the DispatchAction, follow these steps: ? Make a class that extends DispatchAction (instead of Action) ? In a new class, add a method for each function you need to per

What should be public and private, What should be public? What should be pr...

What should be public? What should be private? As a rule of thumb: Classes are public. Fields are private. Constructors are public. Getter and setter methods

What is the basic principle of rmi architecture, The RMI architecture is ba...

The RMI architecture is based on one significant principle: the definition of behavior and the execution of that behavior are separate concepts. RMI allows the code that describes

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