June 2002
Intermediate to advanced
504 pages
10h 10m
English
Using the methods described in the previous section, you can now build a simple diary application. The application will demonstrate how to store simple objects (Strings) in a record store.
The purpose of the application is to store one String per day. The user interface consists of a widget and buttons for browsing the diary creating new diary entries.
Because RMS is available in MIDP and PDAP, we will start with the RMS-related functions for loading and saving Strings that can be used in both versions of the diary application. The complete sources of both diary versions, differing in the user interface parts, are given in Listing 5.1 for MIDP and in Listing 5.2 for PDAP. Here, we will focus on the RMS specific ...
Read now
Unlock full access