PDA

View Full Version : Need your help... loading image on my widgetstack page..



megabeat
30th January 2007, 04:24
http://statist.chungbuk.ac.kr/~megabeat/1.jpg

http://statist.chungbuk.ac.kr/~megabeat/2.jpg

http://statist.chungbuk.ac.kr/~megabeat/3.jpg

Hello~
I'm having some problem with image loading ...

At the first screen i assigned some position that calls one of wigets from wigetStack.

I loaded the images that are needded for the page at the init func.

When i click the position, the image page should be shown but, blank page is shown as

you see on the second picture. After clicking same position twice i could get what i want..

but, i don't understand why this happeded...?.

Actually, the label is shown at the second pic, but image is not...

Any help will be appreciated..


plus.. I have to load a lot of images but, since it's supposed to be run on the ARM board..

i'm worrying about memory/performance problem... is there any good way to load image

efficiently?..

wysota
30th January 2007, 08:03
Maybe you could load the image only when you need it? As for the error itself, please show us your code which you use to set the image on the label.

megabeat
30th January 2007, 09:51
Solved....thx..

wysota
30th January 2007, 12:38
Could you please leave only the essential code? :) From what I see you're not painting on the label but directly on a widget. What for?

megabeat
30th January 2007, 14:00
Thanks a lot Wysota....
I was swimming in my own logical error...
You gave me the clue..
Really appreciate you...