I'm working on a small project and I would like to know if there is an elegant way to exchange information between a widget and a clock face. I need to run part of my program in the background, so in a widget, but I would like to display information in the clock face.
The reason is that certain processes should not be interrupted when the user presses the button to go to the setting screen.
Is there a way to declare global variables between apps and widgets.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm working on a small project and I would like to know if there is an elegant way to exchange information between a widget and a clock face. I need to run part of my program in the background, so in a widget, but I would like to display information in the clock face.
The reason is that certain processes should not be interrupted when the user presses the button to go to the setting screen.
Is there a way to declare global variables between apps and widgets.
thank you