Ticket Created
over 4 years ago

WERETECH - 10679

simulator for amoled device not emulate right this devices

on real amoled devices screen is cleared every second but on simulator is not cleared

so, when I no draw entire screen every second its run well on MiP and simalotor but on real amoled devices the screen is black.

  • Error is in simulator and.prg is for device.

    To clarify, when on device onUpdate is called on amoled screen is cleared before it on mips is not cleared and simulator should run the same way and now it run the same regardless which device emulates. So this code

    if(something_change)
    {
      drawable.draw();
    }

    is ok for mip's but on amolead device isn't (because simulator always shows that everything is ok)

    for amoled you should correct code to :

    if(something_change || amoled)
    {
      drawable.draw();
    }

    because amoled always turn off pixels before draw

    simple: when sim emulatate amoled it should clear it's screen before onUpdate to give feedback to draw entire screen (I don't have amoled watch and one user said that wf on his watch was often black and it was because I didn't redraw controls which not changed and was because on sim everything was ok)

  • Hi, do you have the simulator in high power or low power mode? Would you happen to have a .prg you could share as an example?