×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2004
    Location
    The Netherlands
    Posts
    17

    List on Nokia6600 doesn't show all images.

    I made a menu for a messaging application by making use of List();

    The list (menu) is appended with images and strings.
    I run the Midlet on a Nokia 6600 which gives me a problem.
    Only image 2 and 3 in the list are shown, the rest is not shown.
    Can someone tell me why? Did someone encounter the same problem? What can I do to make it work.

    Thanks.

    Here's the code I use.

    Code:
    if (menu == null) {
            menu = new List("Menu", List.IMPLICIT);
            try {
              menu.append("Inbox", Image.createImage("/png/menu.inbox.png"));
              menu.append("Write message", Image.createImage("/png/menu.write.message.png"));
              menu.append("Outbox", Image.createImage("/png/menu.outbox.png"));
              menu.append("Sent items", Image.createImage("/png/menu.sent.items.png"));
              menu.append("Settings", Image.createImage("/png/menu.settings.png"));
              menu.append("Exit", Image.createImage("/png/menu.exit.png"));
            }
            catch (IOException ex) {
            }
            menu.setCommandListener(this);
          }

  2. #2
    Registered User
    Join Date
    Apr 2004
    Location
    The Netherlands
    Posts
    17
    Problem solved.

    Somehow I saved some of the images with an imagedepth of 32 bit and some with 24 bit.
    The 32 bit images didn't show up in the list, while the 24 bit images did.

    See also this thread: http://discussion.forum.nokia.com/fo...threadid=40136

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×