Hi again @Gordon!
I just opened a PR on codeberg. It works for opening spotify and playing a song like I wanted in the opening post. I've tried to make it reliable and useful for general use as well. I have not managed to implement targeting of background services yet, but I don't think it should be impossible.
One thing to watch out for is to make sure it'll still work when things like package/etc aren't supplied.
I think I've managed that.
I've been testing my changes to Gadgetbridge with the Bangle.js 2 app attached to this reply. I've attached a gadgetbridge apk with the changes as well.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi again @Gordon!
I just opened a PR on codeberg. It works for opening spotify and playing a song like I wanted in the opening post. I've tried to make it reliable and useful for general use as well. I have not managed to implement targeting of background services yet, but I don't think it should be impossible.
I think I've managed that.
I've been testing my changes to Gadgetbridge with the Bangle.js 2 app attached to this reply. I've attached a gadgetbridge apk with the changes as well.
testintents.app.js code:
3 Attachments