Communication between an Android app and Bangle.js 2

Posted on
  • I have developed an android application and want to send data from that Android app to an app of my Bangle.js 2. Is there any function or example for Bangle.js 2 regarding receiving data from an android app?

  • One way to do it: https://www.espruino.com/%22/Gadgetbridg­e#intents

    Look at "Android -> Bangle"

  • How to receive the data on Bangle.js 2 end from an bangle.js 2 application?

  • The data you're sending goes straight to Bangle.js's REPL - so it's executed as if you'd typed it in the IDE.

    For example sending 'FOO("A test")\n' would call a function called FOO which you might have defined, with the argument "A test".

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

Communication between an Android app and Bangle.js 2

Posted by Avatar for user148837 @user148837

Actions