×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    55

    Duplicate Item In List Display

    Hi! I'm using list.multiple to display my records in a form. The problem I'm facing right now is whenever I've selected the items from the list, my list display become duplicate before exiting the form. Actually I 've tried cleared the list and reinitialized the list after my selection but the display is still showing duplicate records in the list. This problem is occurring when I'm running my application in Nokia Series 80. Any ideas? Please help.

    YHat

  2. #2
    Super Contributor
    Join Date
    Feb 2006
    Posts
    689

    Re: Duplicate Item In List Display

    Hi,
    Can u please post the pary of your code that cause you the problem.

    Thanks
    Soku

  3. #3
    Registered User
    Join Date
    Oct 2005
    Posts
    55

    Re: Duplicate Item In List Display

    My code is shown below:

    public void commandAction( Command c,
    Displayable d )
    {
    if( c == dispCommand )
    {
    alStatus = new Alert ("Status", "Downloading Image", null, AlertType.INFO);
    alStatus.setTimeout(Alert.FOREVER);
    disp.setCurrent(alStatus);

    Form frmWait = new Form("Connecting...");
    disp.setCurrent(frmWait);
    frmWait.setCommandListener(this);
    disp.setCurrent(frmDisplayImage);
    frmDisplayImage.addCommand(cmdBackMain); frmDisplayImage.addCommand(cmdAct);
    frmDisplayImage.addCommand(cmdFit);
    frmDisplayImage.addCommand(cmdCapture);
    frmDisplayImage.setCommandListener(this)
    }
    }

    My downloaded image will be shown in the frmDisplayImage. After the selection from the list, the records inside will be duplicated when I run my application in my device but it work fine when running it in emulator.

    I have tried to display message and even show a waiting form but both of them are not being displayed and it is still showing the list at the main form before showing the image on the frmDisplayImage.

    Please advise.

Similar Threads

  1. Replies: 4
    Last Post: 2009-02-17, 21:24
  2. 6680 and bluetooth service profiles
    By ceruault in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-08, 22:24
  3. line break character for List Item
    By rab_gandhi in forum Mobile Java General
    Replies: 0
    Last Post: 2005-04-19, 12:31
  4. Replies: 2
    Last Post: 2004-12-18, 08:50
  5. List item selection
    By SanDan in forum Mobile Java General
    Replies: 2
    Last Post: 2003-05-06, 10:57

Posting Permissions

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