I feel like I'm missing something obvious - but I've tried to hunt around first.
How do I persist an app/code I've written myself to the bangle?
When I upload from the IDE, returning to the menu on the watch loses the state that's been updated and I lose my software.
Whereas apps I've uploaded via the banglejs.com/app "store" do persist. I gather I'm missing something (obvious?).
Thanks in advance.
You should have a look at: https://github.com/espruino/BangleApps#offline
Basically the idea is to call require("Storage").write(...) to save your code in flash and make it persistent.
Following the indications of this small tutorial (choosing a name, picking an icon, etc) allows to call your app from the app menu.
thank you 👍
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem