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/Gadgetbridge#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".
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