Acknowledged

Marq series is using wrong widget memory limit in simulator

Hello Garmin team,

the Marq series is using the wrong memory limit for widgets in simulator.

The device reference is reporting: widget 1048576

https://developer.garmin.com/connect-iq/reference-guides/devices-reference/#marq%C2%AEathlete

But the simulator is showing: 28kB

Could you please check he device details and update the device details for the SDK manager?
With these settings, a test is not possible in simulator.
File/image upload seems not to be possible, so I could not add a screeshshot from the simulator.

Many thanks and regards

Ronny Winkler

  • Only a comment... I didn't define a glance view and awaited to get this blank screen with app name. But i got a "out of bounds" error.
    I think it was because I'm using Communications.registerForOAuthMessages(method(:onOAuthMessage)); or something that is not supported.

    I can't say what exactly. I have this call in a separate API class that was instantiated in app.initialize(). I think that caused the error. Or the app and the API class was too much for the glance memory.
    So the compiler should show some details what exactly is missing there.
    And it's not really clear, what is instantiated for glance view. The app itself I think. And all the app instantiates.

    Is it perhaps possible to define a second app version oinly for glance view (without all this API stuff)? Like this:

    class HomeyApp extends Application.AppBase {
    // do nothing
    }

    (:glance)
    class HomeyApp extends Application.AppBase {
    // API stuff

    Or a Appbase function to check if I'm inside a glance view?

  • If you don't have your own glance view, it will default to your launcher icon and app name and you'll see the 28k limit.  

  • Oh. I have no glance defined, so it will take the main view as glange content, right?
    Then I'm going to define a separate small glance view. Thanks and sorry for this misunderstanding.

  • It will show 28k if you are seeing the glance.  If you go to full screen, you should see the number you expect.  Glances have less memory that the widget itself.