venu and venu sq differences

My wf run fine on Venu but there is still have problem with venu sq

Error is in strange place connected with colour or screen  type. Questions:

- what is the differences between scren types: amoled / Transflective Liquid-Crystal? should I treat it diferent?

- venu sq: High Color, venu unknown

  • I spent several days to look for error (no effect).  think that it's accident I think that it's another error from sdk that is on venu sq there is no information about burninprotected or with errors in settings because one user has changed setting by iq store not by face  (it's strange for me that Garmin doesn't fix error like float in settings instead writing information for new developer how to cope wit Garmin's error https://forums.garmin.com/developer/connect-iq/w/wiki/4/new-developer-faq#settings-crash).

    Sorry, I give up, I have 92kB memory that include my own code. Should my work look like:

    var p=garminSDK.getphonstatus();

    1.p - must be short - length of name var influence on memery

    2. according documentation  getphonstatus should retun true/false, ok but cane be error in sdk so

    if((p == null) || !(p intance of bool) || ....................

    settings V[v1=1, v2=2, v3=........, v1000=1000]

    s= getproperty("V");

    and

    if((s=null) && (s!=1) &&(s!=2)................

    {

    s = default value..

    }

    sorry it's not for me, I remove this watches from compatibility

    I've developed  wf for me, 100% run and maybe run for 1300 person (maybe not because they download and choose another wf). I can't spending time looking for not my errors (especially if thie errors are not corrected)

    this code

    dc.setColor(mPaintPaletteteColor, gBC);

    produces

    Error Name: Symbol Not Found Error
    Occurrences: 12
    First Occurrence: 2021-02-03
    Last Occurrence: 2021-02-03
    Devices:
        Venu® Sq: 2.40
        Venu® Sq. Music Edition: 2.40

    ********

    this code(gStatus can be null/true/false)

    var a = APP.getApp();
    if((a has :checkData) && (gStatus))
    {
     a.checkData();
    }

    produces

    Error Name: Unhandled Exception
    Occurrences: 10
    First Occurrence: 2021-02-03
    Last Occurrence: 2021-02-03
    Devices:
        vĂ­voactive® 4: 5.10
        Venu® Sq. Music Edition: 2.40

  • gStatus = SYS.getDeviceSettings().phoneConnected;

    var phoneConnected ⇒ Toybox.Lang.Boolean

    The phone connection status mode.

    Since:

    1.1.0

    Returns:

  • I can't spending time looking for not my errors (especially if thie errors are not corrected)

    It is hard to fix the errors if we can't reproduce them, so we're in a bit of a catch-22 here.

    It sounds like you're smashing up against the memory limits and getting crazy behavior. I didn't think that the length of a symbol name should have an effect on the memory used. That said if you're so close to the limit that the length of a variable name causes problems, it is highly likely that anything else you do will cause problems.

  • I think there's something else here as in this report, it's the va4 and venu sq, where the va4 has much more memory.

    Error Name: Unhandled Exception
    Occurrences: 10
    First Occurrence: 2021-02-03
    Last Occurrence: 2021-02-03
    Devices:
        vĂ­voactive® 4: 5.10
        Venu® Sq. Music Edition: 2.40

    I wonder what's in that stack trace.....

  • I suspect that can be hidden out of memory exception, but why it not happen for other types of devices?

  • The va4 has 500k available for watch faces.  The error you get is an unhandled exception and there can be a number of reasons you can get that.

  • Consider this one line of code:

    var d=Application.Properties.getValue("badkey"); 

    It will throw an unhandled exception:

    Error: Unhandled Exception
    Exception: Key does not exist in Application Properties

    That's why seeing the stack trace and the code involved would help.

  • of course is from ERA

    I don't want to bother user

  • I reduced memory usage shorting names etc

    yes, this devices has a lot of memory so my work was unnecessary

    I've written which line  generates error:

    Error Name: Symbol Not Found Error

    dc.setColor(mPaintPaletteteColor, gBC);

    in the middle in draw(dc) one of my class called from View.onUpdate

    Error Name: Unhandled Exception

    var a = APP.getApp();
    if((a has :checkData) && (gStatus))
    {
     a.checkData();
    }

    this one called from  View.onExitSleep

    and it's strange  that only in this 2 places and only for this 2 devices (maybe only 2 persons uses my wf :), no 3 me too and I don't produce errors)

    I have also background process but it produces error should be in different moments

    it' look like first view call onUpdate then onExitSleep