[resolved] Persist an app?

Posted on
  • 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.

    – Remy

  • You should have a look at: https://github.com/espruino/BangleApps#o­ffline
    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 👍

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

[resolved] Persist an app?

Posted by Avatar for remy @remy