Programming Exercise I: My Memento by Using J2ME


Absolutely no copying others' work

  • Interface I (after building the project Memento and running the J2ME emulator)

    For how to use J2ME emulator, check Use J2ME.

  • Interface II (after launching the project Memento from Interface I)

    Help is an online help. It explains things which may confuse users.

  • Interface III (after selecting Display from Interface II)

    • Selecting Main will display Interface II.
    • Selecting Exit will display Interface I.
    • Display the memento items if their messages contain the keyword entered. If no keyword is entered, display all items.

  • Interface IV (after selecting Submit from Interface III)

  • Interface V (after selecting Enter from Interface II)

    • The current date and time are automatically inserted, for example, by using the following Java code:
         java.util.Date  d = new java.util.Date( );
         String          s = d.toString( );
    • The current temperature is automatically retrieved from the Internet such as Yahoo Weather and Google Temperature.