I recently buy puck.js and i want to ask a question if there is a way to start an application in android with a button press of puck js .
To be able to completely control what's going on you'll probably need to do your own app.
However a simple solution is to set up your Puck.js to pretend to be a keyboard: http://www.espruino.com/BLE+Keyboard
If you want a 'standard' app like the music player then just pressing the 'play' button might be enough - there are some examples of shortcuts here: https://www.howtogeek.com/175267/the-htg-guide-to-using-a-bluetooth-keyboard-with-your-android-device/
But to launch a custom app you might want to install a 'keyboard shortcut' app from the Play Store, connect up a key combination, and then make Puck.js output that key combination
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