Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Mutable images in UIQ70

1 replies · 1,915 views · Started 14 December 2003

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

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.