UPDATE JUNE 2020: This thread is outdated. Instead, follow this guide:
Original post:
I’m planning to use Lovelace to make a dashboard using an Android tablet using Fully Kiosk Browser. That will replace my current method of a bunch of Tasker-connected Android home screen widgets to perform specific HA tasks like turning switches on/off. Importantly for this question, I also use the Sonos widget on the homescreen. We often use the Sonos widget to launch the Sonos app.
I’d like to include a Lovelace media player card that has a button to launch the Sonos app. I can think of a few ways to achieve opening of the Sonos app by going back through the HA server. But, I’d like to keep everything local to the tablet if possible.
Fully Kiosk Browser has two local methods (It think) of launch a app from a web page https://www.ozerov.de/fully-kiosk-browser/#faq-otherapps, an Android intent or a JavaScript call.
Is there a way to invoke one of those two methods on a button tap without the roundtrip through the HA server.
Thanks!