Using two previously published libraries it is simple to create a library that will resize and display a selection of images in a table. With some additional work, a Photo Picker dialog is possible.
The two libraries used are the ImageManipulator, and the TableLayoutManager. The library attached to this article can be used to create a table of thumbnails or a Photo Picker from either an array of images or a directory in the file system.
The implementation defines a Listener interface for receiving the BlackBerry smartphone user’s selection. The listener implementation receives the resized thumbnail image as well as its index in the table and the file name if a directory was specified.