Designing an I18N Solution for a MIDP Application

This section presents three approaches to designing i18n and l10n support for MIDP applications. These approaches have been chosen based on the APIs available in MIDP that can provide some level of i18n support, or that are included in MIDP with the intention of addressing i18n.

Using MIDlet Attributes to Define L10N Resources

As you know, you can place user-defined attributes in your application's JAD file. This means that you can use the JAD file to define MIDlet attributes that represent the localized resources used by your application.

In this approach, programs no longer embed resources (for example a text string) in the application. Instead, programs place resources in the JAD file. The ...

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.