App Localized Text

MediaGrabber's simple UI can be run on a wide variety of devices without requiring changes to the code. By using the CLDC UI framework, the same code works fine on touch-screen and QWERTY devices. Throughout the book, I have been careful to test for feature support within the app, so no extra work is required to support the presence or absence of a camera or other piece of hardware.

MediaGrabber does make use of APIs from version 4.5, but none from later OS versions. It seems reasonable to require 4.5 as a minimum version as most of the consumer-oriented BlackBerry devices have at least this version available.

Throughout this book, I have been happily putting hard-coded strings into the MediaGrabber source. This makes the samples easier to read and understand (assuming English is your native language), but, as you have seen in this chapter, it also limits the potential audience for the app.

Fortunately, there are still a manageable number of classes to work with. While a fair amount of code is required to internationalize the app, it's a very simple process.

0 0

Post a comment

  • Receive news updates via email from this site