siddiq
14-12-2003, 12:27 AM
The following J2ME midp code is simple but gives problems in emulator (UIQ70).
I have found that the problem is in this statement:
Image img = Image.createImage(30, 30);
No exception is thrown but does not display anything. This works fine in UIQ2.1 but does not work in UIQ70.
Also, immutable images are working fine. I can display images from file.
Can someone please help?
Image img = Image.createImage(30, 30);
img.getGraphics().drawString("Current data", 40, 0, Graphics.TOP|Graphics.LEFT);
this.append(img);
Regards,
Siddiq
I have found that the problem is in this statement:
Image img = Image.createImage(30, 30);
No exception is thrown but does not display anything. This works fine in UIQ2.1 but does not work in UIQ70.
Also, immutable images are working fine. I can display images from file.
Can someone please help?
Image img = Image.createImage(30, 30);
img.getGraphics().drawString("Current data", 40, 0, Graphics.TOP|Graphics.LEFT);
this.append(img);
Regards,
Siddiq