Application Development (Through J2ME) LABORATORY Mobile
In this lab, a student is expected to design, implement, document and present client/server system using standard Java and Java 2 Micro Edition (J2ME) platform. Specifically it is required to design and implement a system that consists mainly of a mobile client (MC) and a Proxy Server (PS). MC will be written in J2ME, MIDP 2.0, while PS will be written in standard Java. It is necessary to use a mobile phone emulator to develop and demonstrate the experiments.
It may be necessary to use other components or existing resources (servers) as needed. For instance a database local to PS or a web service available on the Internet that can be invoked by the PS.
Week - 2 Working with J2ME Features:
Working with J2ME Features: Say, creating a Hello World programExperiment with the most basic features and mobile application interaction concepts (lists, text boxes, buttons, radio boxes, soft buttons, , etc)
* unselect all
Create a menu which has the following options:
* cut - can be on/off
* copy - can be on/off
* paste - can be on/off
* delete - can be on/off
* select all - put all 4 options on
* unselect all - put all 4 options off
Create an MIDP application which examine, that a , which a user has entered is in the given format.
* Area code should be one of the following: 040, 041, 050, 0400, 044
* There should 6-8 numbers in telephone number (+ area code)
Week - 3 Threads & High Level UI:
3.1. Create a slide show which has three slides, which includes only text. Program should change to the new slide after 5 seconds. After the third slide program returns to the first slide.
Create a MIDP application, which show to the user 5-10 quiz questions. All questions have 4 possible options and one right option exactly. Application counts and shows to the user how many right answers were right and shows them to user.
3.3 Create a MIDP application, where the user can enter player name and points. The program saves the information to the record using RMS at MIDP device. Program should also the top 10 player list to the end user. You can use this class in your game if you made own class for saving and reading record sets.
Week - 4 Working on Drawing and Images
4.1 Create a slide show which has three slides, which includes pictures at PNG format. Program should change to the new slide other 5 seconds.
4.2 Create a MIDP application, which draws a bar graph to the display. Data values can be given at int array.
4.3 Create a MIDP application, which draws a pie graph to the display. Data values can be given at int array. You can enter four data (integer) values to the input text field.
Week - 6 Authentication with a Web Server
6.1 Write a sample program to show how to make a SOCKET Connection from j2me phone.This J2ME sample program shows how to how to make a SOCKET Connection from a J2ME Phone. Many a times there is a need to connect backend HTTP server from the J2ME application. shows how to make a SOCKET connection from the phone to port 80.
Many J2ME applications for security reasons require the authentication of the user. This free J2ME sample program, shows how a J2ME application can do authentication to the backend server.
Note: Use Apache Tomcat Server as Web Server and Mysql as Database Server.
Week - 7 & 8 Web Application using J2ME
The following should be carried out with respect to the given set of application domains: (Assume that the Server is connected to the well-maintained database of the given domain. Mobile Client is to be connected to the Server and fetch the required data value/information)
- Students Marks Enquiry
- Town/City Movie Enquiry
- Railway/Road/Air (For example PNR) Enquiry/Status
- Sports (say, Cricket) Update
- Town/City Weather Update
- Public Exams (say Intermediate or SSC)/ Entrance (Say EAMCET) Results Enquiry