View Full Version : Mutable images in UIQ70


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

Bassey
14-12-2003, 11:08 AM
Originally posted by siddiq
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

This would be better posted in one of the AAS Symbian programming forums.