Mobile Application Development (Through J2ME) LABORATORY

Mobile Application Development (Through J2ME) LABORATORY


In this lab, a student is expected to design, implement, document and present a mobile 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 - 1: Installation of Java Wireless Toolkit (J2ME)

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, graphics, etc)
* cut
* copy
* past
* delete
* select all
* 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 phone number, 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.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 print out 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

Week - 5 Developing Networked Applications using the Wireless Toolkit

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. 

This J2ME sample program shows how to display a simple LOGIN SCREEN on the J2ME phone and how to authenticate to a HTTP server.
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


Note: If any materials or notes or books or lab programs not run or link failure you can now search from the following box ,it will directly download all files. This is new file server

See Below Link