• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst
  • Peter Rooke
  • Mikalai Zaikin
Bartenders:
  • Himai Minh

Is Yu Feng still around? I can't get a .png to display in a list

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a List 'list' and I am using the list.set(0,open,img0); to put an icon next to a choice in the list. I can't get the emulator to show the icon!I have tried addin it as a file to the MIDlet Suite, but nothing. Can anyone shed any light?
~niz
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hai, i didn't face any problem in adding the images to the list. you might have missed to put "/" before the image as it resides in Res folder. check it out, if you still have the difficulty send me your email id, so that i can post my small prog. to you.
bye
glkishore
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you get this to work. If not, I can post some sample code.
john www.corej2me.com
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think I have response to your problem :
I asume that you use MIDP on Palm and the problem is that this implementation of MIDP is only an early access and doesn't support images in lists.
So bad... but i think also that not all devices support this... try to verify in the MIDP specification if they "MAY" implement this.
 
Did you just should on me? You should read this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic