CMPE 296A

CMPE 296A - Lab. Assignment #1
CMPE296A: Design of Wireless-Based Software Systems
Instructor: Jerry Gao, Ph.D.
Handout Date: 3/3/04
Due date: 3/25/04
Assignment objective:
This lab assignment is designed to help students to learn how to develop simple J2MEbased mobile client software for a wireless-based multimedia player for mobile phone
users to listen downloadable music.
Basic requirements:
The wireless-based multimedia player only must provide a user friendly interface using
J2ME technology to provide them with J2ME client software to access a given URL to
download and play a selected audio file so they can listen to a selected music.
The basic functions of this player include:
 Provide a selection menu to allow users to select one of the three choices:
download, play, and download & play. (See Figure 1)
 Select a given URL (assume there is a list of pre-defined URLs) (See Figure
2&3)
 Download a selected audio file (only one of audio file formats is required to be
supported) (Figure 4)
 Provide download status screens as seen in Figure 5&6, including the failure case
 Provide a play screen to allow users to play the download music. (Figure 7, 8, 9,
and 10). Please make sure that the following functions are available to the user:
o Play a selected audio file to listen the music (Figure 7)
o Pause the player (Figure 8)
o Resume the player (Figure 9)
o Display a completion message when the music is completely played
(Figure 10)
Assumption:
Because of the limited scope of this assignment, the wireless-based multimedia player
only needs to support audio-play functional feature. Only one audio file format is
supported. You can choose any mobile phone emulator. The suggested phone emulator is:
 Nokia 3650 emulator or
 The emulator from the J2ME website from Sun Microsystem.
For the detailed J2ME technology information, please refer to the provided J2ME tutorial
and presentation slides.
Bonus points:
You can develop the following features for this lab to get extra points.
 Add the support for more audio file formats. (5%)
 Add the support for audio recording. (20%)
 Add the URL management feature – this suggests you develop a simple program
as a server program to manage an URL book for adding, deleting, or update URL
information for each user. (10%)
Detailed requirements for mobile user interfaces are given below:
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10