App launch from app

Posted on
  • I would like to open an app when I swipe on my clock. Is there specific code that I can use to open an app?

  • Sure! To load an app, you just call load("appname.app.js"). You can get the JS name by loading the appname.info file and looking inside, but the apps pretty much all use "appname.app.js" as the format of the name so you should be safe.

    So the code would look like:

    Bangle.on('swipe',function() {
      load("appname.app.js");
    });
    
  • Thanks. Now, I can launch apps without the launcher!

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

App launch from app

Posted by Avatar for LeebWeeb @LeebWeeb

Actions