-
• #2
You can check the variable
Bangle.CLOCK
. It's typically set to1
if the active app is a clock.See e.g. https://www.espruino.com/ReferenceBANGLEJS2#l_Bangle_setUI
-
• #3
Thank you a lot!
You can check the variable Bangle.CLOCK
. It's typically set to 1
if the active app is a clock.
See e.g. https://www.espruino.com/ReferenceBANGLEJS2#l_Bangle_setUI
Thank you a lot!
Hi!
I write some code in boot.js file. There I have to run an algorithm but only when clock screen is on. I do not need this part of code to be run when menu or other app is running.
Is it possible?
Thanks in advance!