Good day,
da make a dial that will show seconds even in sleep mode?
my device is a Garmin Fenix 3HR
Thank you
Good day,
da make a dial that will show seconds even in sleep mode?
my device is a Garmin Fenix 3HR
Thank you
in onUpdate(), are you displaying the seconds when showSeconds=true?
Are you trying this in the sim? There's a bug where you might have to toggle low power mode a couple of times
Try checking and unchecking low power mode in the sim a couple of times, leaving it unchecked.
function onPartialUpdate(dc){
sleepMode = true;
var width = 36;
var height = 46;
var x = dc.getWidth() - margin(dc) - width;
var y = (dc.getHeight()/2)-12 + layouts[3].paddingY;
dc.setClip(x, y, width, height);
dc.setColor(Gfx.COLOR_WHITE, Gfx.COLOR_BLACK);
dc.fillRectangle(x, y, width, height);
dc.setColor(Gfx.COLOR_BLACK, Gfx.COLOR_TRANSPARENT);
var dateTime = DateTimeBuilder.build();
layouts[3].drawSeconds(dc,dateTime.getSeconds(),false);
dc.clearClip();
}
edit?
On partial update doesn't work on the f3hr. The devices is too old. You need to display the seconds in onUpdate, and don't use clipping regions, etc.