Problems responding to GB messages in a widget #4703
Replies: 1 comment
-
Posted at 2022-05-18 by @gfwilliams Is your widget being displayed, but it's still not working? Maybe check with Posted at 2022-05-18 by ingo Thank you for your feedback. When running in RAM print(GB) (in the left side of the IDE) displayed the correct method (from the code above). Posted at 2022-05-18 by ingo I have now figured it out. Thank you very much for the help. It is really fun to play around with the watch. Posted at 2022-05-18 by rigrig You can definitely bind to the event in more places: Posted at 2022-05-19 by @gfwilliams
Ahh, well that'd make sense :) What you could do is call your code in a timeout, maybe 100ms after booting - so you try and get it in on top of Gadgetbridge music controls... |
Beta Was this translation helpful? Give feedback.
-
Posted at 2022-05-17 by ingo
Hi,
I am trying to write a widget that shows the currently played track.
I have the following code:
When loading into RAM it works. When using the left side of Espruino Web IDE and sending GB messages, the tracks are displayed.
However, when loading the code in storage, it does not work. No tracks are displayed.
What is the difference between RAM and storage?
Beta Was this translation helpful? Give feedback.
All reactions