Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
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.
Give an example for Using Getter Methods ? class CarTest6 { public static void main(String args[]) { Car c = new Car(); c.setLicensePlate("New York A45 636"); c.setMa
Describe Polymorphism? Polymorphism can be referred as one name many forms. It's the ability of methods to behave differently, depending upon object who is calling it. Key feat
How many kinds of errors can be found during a program development? List them. 1. Syntax errors 2. Semantic errors 3. Run-time errors
AOP Alliance is an open-source project whose goal is to promote adoption of AOP and interoperability between different AOP implementations by describing a common set of interfaces
What is the difference between a while statement and a do while statement? A while statement checks at the starting of a loop to see whether the next loop iteration should occu
Write a Java REST client to perform the following- The client will read the contents of the file - invoice.txt. The first line of the file will display the type of the currency.
What is java Bytecode Java programs (Source code) are compiled into a form known as Java bytecodes. Java compiler reads Java language source (.java) files, translates source
Write a program called Power that displays the positive powers of 2. When the user enters the exponent at a prompt, the program displays 2 to that power. The program halts when the
What is output of the following JavaScript code? Str="Virtual University of Pakistan"; document.write(str.substring(5,str.length)) ;
Does the java applet using swing components, JAVA Programming on this contain all the source codes for download?
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!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd