An Example Application

The rest of this chapter covers the details of the RMS by following an example that uses the core features of the RMS. The example is a simple address book that stores names and phone numbers.

Much of the example deals with creating the organization and structure of the MIDP application. Most of the actual RMS operations are confined to one class. From this example, you can see how to include the use of persistence in an application that you are likely to find on a real mobile device.

Of course, you can obtain and execute the source code in this chapter to get a feeling for how the application progresses through the various screens. I'll leave that to you instead of showing you captures of all the screens.

The following ...

Get Wireless J2ME™ Platform Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.