This application illustrates how to create the image and imageItem using Image and ImageItem class respectively. In this example we are going to create an image using Image Class and imageItem using ImageItem class. In the following source code you can see it:
Image image = Image.createImage("/sunrise.png");
ImageItem = new ImageItem("This is the IMAGE_ITEM Application", image, ImageItem.LAYOUT_DEFAULT, "image");
The Application is as follows:
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.