• Is there a simpler way to get apps into the emulator which don't have an emulator button in the loader?

    If you click the little GitHub icon next to an app in https://banglejs.com/apps/ it'll bring you to the GitHub page where that app's files are, and you can then open that file and copy/paste in the IDE.

    However sometimes if an app isn't in the emulator it's because it's a multi-file application or depends on some other application. While it should be possible to load those into the emulator from the App Loader that's not something that's been done yet.

    Since you have a Bangle, I'd say try developing on the Bangle itself - it's a lot easier and there are a lot of safeguards to stop you 'bricking' it :)

    In that case:

    • in the App Loader, make sure "Pretokenise apps" isn't enabled. Upload/re-upload the app you're interested in.
    • Then go to https://www.espruino.com/ide/ and connect (top left, web bluetooth, your device)
    • click on the storage icon in the middle of the screen (looks like a hamburger)
    • Find your app - this is your app's ID (it's in the github link) followed by .app.js usually
    • Click the Eye icon next to it
    • In the window showing the code, scroll down and click 'copy to editor'
    • Click the down-arrow next to the 'upload' icon (below the Storage one), choose Storage and choose the app's file from the list again (I guess this should be automatic really)
    • Now if you click the upload icon again (not the down-arrow) it'll upload the file from the editor and will run it (but with all the other stuff that was installed for that app as well)

About

Avatar for Gordon @Gordon started