Display an encoded image
-
Import the required class.
import net.rim.device.api.ui.component.BitmapField;
-
Invoke
BitmapField.setImage() to assign the encoded image
to a
BitmapField.
-
Invoke
add() to add the
BitmapField to the screen.
BitmapField field = new BitmapField();
field.setImage(image);
add(field);
Was this information helpful? Send us your comments.