EasyTalk
Class EasyTalk

java.lang.Object
  extended by MIDlet
      extended by EasyTalk.EasyTalk

public class EasyTalk
extends MIDlet

EasyTalk is a translating program for Palm. It connects to a mySQL database through the internet. There it sends a phrase to be translated. If that phrase is not in the database, it then goes to Google translate and translates the phrase there.


Constructor Summary
EasyTalk()
          Constructs EasyTalk.
 
Method Summary
 void commandAction(Command command, Item item)
          Processes item events
 void destroyApp(boolean unconditional)
           
 void initializeCommands()
          initializeCommands() initializes all the commands that will be used inside the program.
 void initializeScreens()
          initializeScreens() initializes all the screens (forms) that will be use inside the program.
 void itemStateChanged(Item item)
          itemStatChanged(Item)is called if the form state changes.
 void pauseApp()
           
 void startApp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EasyTalk

public EasyTalk()
Constructs EasyTalk. This contructor initializes all the widgets and displays the default data. It also retrieves the list of available languages.

Method Detail

startApp

public void startApp()

initializeCommands

public void initializeCommands()
initializeCommands() initializes all the commands that will be used inside the program.


initializeScreens

public void initializeScreens()
initializeScreens() initializes all the screens (forms) that will be use inside the program.


itemStateChanged

public void itemStateChanged(Item item)
itemStatChanged(Item)is called if the form state changes. If the left drop down menu changes state, then this function is called to request the language list from the database. The languages are listed in their natural form.

Parameters:
item, - the Item changed on the Form.

commandAction

public void commandAction(Command command,
                          Item item)
Processes item events

Parameters:
command - , the command recieved from the Form
item - , the item used to activate the command

pauseApp

public void pauseApp()

destroyApp

public void destroyApp(boolean unconditional)