This is a question I asked at a time (a long time ago in a galaxy far far away) before HADashboard was based on AppDaemon, so I will start a new thread.
I am running HADashboard on a tablet with Fully Kiosk Browser.
Any help appreciated.
the command you put there must be a complete working command that can be placed in any html page.
the first thing i find then is this page:
in that page i see that something like your command is used as an url like this:
<a href="intent://my_host#Intent;scheme=my_scheme;action=my_action;end">Link to my stuff</a>
with an action like
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="my_scheme" android:host="my_host" />
that to me would suggest that you need to add that intentfilter to your skin and call that action by its name, or find a way to get that whole action in 1 working command.
all that the widget does is
so it must be a complete js function.
i suggest you start by trying to create a basic html page that contains a link to your app and start the app from that page.
you can save the page on your dashboard server in custom_css/html and call it with
to test the page. if you got that working then you can start thinking about how to get it in your dashboard (and the easiest way at that moment is to use an iframe to the created page )
Thank you again. I will continue research!
you are about the first i hear about that wants to use it
but the command must be something you add at this place action=my_action;end"
so you can put a jsscript with a function in your skin and then the command would be the name of the function.
like i said, the best way is first to create a working HTML page. if you have that working then post that and we can figure out together how to get it into the dashboard.
Any luck figuring it out? I need to launch an intent too
This is the code I used with HADashboard to define a tile that would open another app:
[quote=“nickrout, post:1, topic:54534”]"
I solved it a different way, In Fully Kiosk Browser I setup a “Universal Launcher page” containing all the Android apps that I want to be accessable.
title2: Fully Kiosk Browser
title2_style: "color: red; font-weight: 500; font-size: 75%"
command: window.open("fully://launcher", "_self")
I tried the navigator widget but that adds the skin name to the URL (incl ‘?skin=default’ if no skin has been selected), which Fully can’t process.
The other issue is that a lot of Android apps don’t actually exit so the only way to get back to Fully is to use the ‘recent apps’ list (as far as I can tell).