All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 14-12-2003, 12:27 AM
siddiq
Guest
 
Posts: n/a
Unhappy Mutable images in UIQ70

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

  #2  
Old 14-12-2003, 11:08 AM
Bassey Bassey is offline
Registered User
 
Join Date: Jan 2003
Location: Douglas, Isle of Man
Posts: 806
Bassey is on a distinguished road
Re: Mutable images in UIQ70

Quote:
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.
__________________
Bassey

You look like you want to go away, But I know you’re gonna stay. For although your heart is in L.A, Your head is in my fridge. There’s flowers in your hair, they're not real their made of silk. There’s a note in your mouth, to remind me to get milk.

Wot Italian? from Boothby Graffoe
Ads
 

Bookmarks

Tags
images, mutable, uiq70

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 12:10 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy