O'Reilly logo

LWUIT 1.1 for Java ME Developers by Biswajit Sarkar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The underlying support elements

LWUIT incorporates a number of 'behind the scenes' support elements that make it possible for the functional features to operate. We shall now take a look at these elements, and see how they work.

Resource

Applications often require non-code items. For example, an image used as an icon for a label by an application, is such an item. LWUIT allows such items to be packaged in bundles.

A resource bundle is essentially a binary file that can be loaded into a device. An application can have more than one resource file, and each such file can contain resource elements of the same or different types.

The following types of resource elements are supported:

  • Image resources
  • Animation resources
  • Bitmap fonts
  • Localization bundles ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required