midlet
Class ChangeSettings

java.lang.Object
  extended by javax.microedition.midlet.MIDlet
      extended by midlet.ChangeSettings
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener

public class ChangeSettings
extends javax.microedition.midlet.MIDlet
implements javax.microedition.lcdui.CommandListener

This MIDlet gives the possibility to modify Settings. This includes defining the path to the

A typical setting may look like this:

mapsource=/resources/demo.list
mapimage=/resources/ismir.jpg
mp3server=http://mymp3server.com/
remoteserver=http://mymp3server.com/makeplaylist.php?song=
localmp3directory=file:///d:/MobileSOM/mp3/
mode=1
playlistname=standard
language=en
randomizeunititems=0

Author:
Peter Hlavac
See Also:
LoadSettings

Constructor Summary
ChangeSettings()
           
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command command, javax.microedition.lcdui.Displayable d)
          In the commandAction Handler the MIDlet is terminated or modified settings are stored to the device
 void destroyApp(boolean unconditional)
          Do nothing if MIDlet gets destroyed by the application Manager
 void pauseApp()
          Do nothing if MIDlet gets paused by the application Manager
 void startApp()
          Inits the MIDlet.
 
Methods inherited from class javax.microedition.midlet.MIDlet
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeSettings

public ChangeSettings()
Method Detail

startApp

public void startApp()
Inits the MIDlet. Loads Properties and Language Manager. Draw UI.

Specified by:
startApp in class javax.microedition.midlet.MIDlet

pauseApp

public void pauseApp()
Do nothing if MIDlet gets paused by the application Manager

Specified by:
pauseApp in class javax.microedition.midlet.MIDlet

destroyApp

public void destroyApp(boolean unconditional)
Do nothing if MIDlet gets destroyed by the application Manager

Specified by:
destroyApp in class javax.microedition.midlet.MIDlet
Parameters:
unconditional - -

commandAction

public void commandAction(javax.microedition.lcdui.Command command,
                          javax.microedition.lcdui.Displayable d)
In the commandAction Handler the MIDlet is terminated or modified settings are stored to the device

Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener
Parameters:
command - Which command was invoked
d - the Displayable on which the command was invoked