Complete
over 4 years ago

WERETECH-10611

Connect IQ SDK 4.0 Preview 1 - BufferedBitmaps -> Error: Symbol Not Found Error

Hi, is there any breaking change in the interface of BufferedBitmaps?

...simply compiled my watch face app and started the simulator and sadly get this exception:

Error: Symbol Not Found Error
Details: Failed invoking <symbol>
Stack:
- createBufferedBitmaps() at ...

The code simply creates a bufferedBitmap using the default interface:

dummy = new Gfx.BufferedBitmap({:width=>10, :height=>10, :palette=>[color0, color1, color2, color3]});

Parents
  • Sorry, yes... Graphics.createBufferedBitmap() is only available on devices with 4.x.x SDK support:

    var bufferedBitmap = null;
    if (Graphics has :createBufferedBitmap) {
        bufferedBitmap = Graphics.createBufferedBitmap(params);
    } else {
        bufferedBitmap = new Graphics.BufferedBitmap(params);
    }
    
    

    I'm not sure if we have made devices with 4.x support available. Until then you're kinda stuck.

    It sounds like you've run into a pretty big problem. It looks like a bug report has been filed already. Hopefully we'll be able to look at it soon.

Comment
  • Sorry, yes... Graphics.createBufferedBitmap() is only available on devices with 4.x.x SDK support:

    var bufferedBitmap = null;
    if (Graphics has :createBufferedBitmap) {
        bufferedBitmap = Graphics.createBufferedBitmap(params);
    } else {
        bufferedBitmap = new Graphics.BufferedBitmap(params);
    }
    
    

    I'm not sure if we have made devices with 4.x support available. Until then you're kinda stuck.

    It sounds like you've run into a pretty big problem. It looks like a bug report has been filed already. Hopefully we'll be able to look at it soon.

Children