×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Rotterdam, Holland
    Posts
    118

    6260 not supporting Canvas properly?

    Hi,

    I made a little test midlet which works on all phones i have here (6610, 7650, 6230) but not on the 6260. It seems it will not show/start animating a Canvas (not FullCanvas) using code like this :


    MyCanvas canvas = new MyCanvas();

    Display.getDisplay(this).setCurrent(canvas);

    Display.getDisplay(this).callSerially(canvas);

    and in MyCanvas:

    public void run() {

    update();

    repaint();

    Thread.sleep(5);

    Display.getDisplay(midlet).callSerially(this);

    }


    any known bugs or am i doing something wrong here? (works on ALL other phones, including siemens/motorola etc.)

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Rotterdam, Holland
    Posts
    118
    Update, it doesnt work on 6630 either

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Rotterdam, Holland
    Posts
    118
    apparently it has something to do with using setCurrent() on a canvas from a commandAction() handler. If i start the canvas from startApp() it does work, it seems to not work from pressing a command

Posting Permissions

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