Start an Android App with Dashticz
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 89
- Joined: Friday 15 September 2017 18:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10076
- Location: Germany
- Contact:
Start an Android App with Dashticz
Hello
I have an Android Tablet with Fully Kiosk. Is it possible to execute an App in Dashticz?
Ich have several Apps for Door Ring, Lightcontrol and so on.
The best way should be a button to execute an App which is local installed on the Pad.
I have an Android Tablet with Fully Kiosk. Is it possible to execute an App in Dashticz?
Ich have several Apps for Door Ring, Lightcontrol and so on.
The best way should be a button to execute an App which is local installed on the Pad.
RPi4 Shelly1 Shelly2.5 ESPEasy Tuya Domoticz Beta Dashticz 3.6
-
- Posts: 89
- Joined: Friday 15 September 2017 18:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10076
- Location: Germany
- Contact:
Re: Start an Android App with Dashticz
From another Forum I got this here.
<img src="sonos_controller_app_icon.jpg" height="95" wight="95" class="top-space" onclick="fully.startApplication('com.sonos.acr')"></img>
<img src="spotify-logo.jpg" height="95" wight="95" class="top-space" onclick="fully.startApplication('com.spotify.music')"></img>
<img src="Amazon-logo.jpg" height="95" wight="95" class="top-space" onclick="fully.startApplication('com.amazon.mp3')"></img>
Can someone with knowledge can try this?
Frame? Someone tested it with htmlview
<div data-type="link"
class="centered round"
data-width="142"
data-height="35"
data-icon-left="oa-sani_irrigation"
data-color="#8d8d8d"
data-border-color="#8d8d8d"
data-border-width="1px"
onclick="fully.startApplication('com.wago.webvisu')">WAGO
</div>
<img src="sonos_controller_app_icon.jpg" height="95" wight="95" class="top-space" onclick="fully.startApplication('com.sonos.acr')"></img>
<img src="spotify-logo.jpg" height="95" wight="95" class="top-space" onclick="fully.startApplication('com.spotify.music')"></img>
<img src="Amazon-logo.jpg" height="95" wight="95" class="top-space" onclick="fully.startApplication('com.amazon.mp3')"></img>
Can someone with knowledge can try this?
Frame? Someone tested it with htmlview
<div data-type="link"
class="centered round"
data-width="142"
data-height="35"
data-icon-left="oa-sani_irrigation"
data-color="#8d8d8d"
data-border-color="#8d8d8d"
data-border-width="1px"
onclick="fully.startApplication('com.wago.webvisu')">WAGO
</div>
RPi4 Shelly1 Shelly2.5 ESPEasy Tuya Domoticz Beta Dashticz 3.6
-
- Posts: 2287
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Start an Android App with Dashticz
Via a button you can start an Android intent.
For instance, a block definition to open the barcode scanner app via a Dashticz button:
or to open spotify:
This are some copy/paste example: I do not know exactly how to find the right intent url.
Instead of creating a button you can also make use of a custom html block. (since beta 3.6.1)
See https://dashticz.readthedocs.io/en/beta ... customhtml
Edit:
To find intents, see:
https://support.actiontiles.com/knowled ... from-fully
or:
https://support.actiontiles.com/communi ... ment-15859
For instance, a block definition to open the barcode scanner app via a Dashticz button:
Code: Select all
{
title:'intent example bar code',
url:'intent://scan/#Intent;scheme=zxing;package=com.google.zxing.client.android;end',
newwindow:0
}
Code: Select all
{
title:'Spotify',
url:'intent://spotify/#Intent;scheme=spotify;package=com.spotify.music;end',
newwindow:0
}
Instead of creating a button you can also make use of a custom html block. (since beta 3.6.1)
See https://dashticz.readthedocs.io/en/beta ... customhtml
Edit:
To find intents, see:
https://support.actiontiles.com/knowled ... from-fully
or:
https://support.actiontiles.com/communi ... ment-15859
-
- Posts: 76
- Joined: Sunday 17 February 2019 15:01
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10
- Contact:
Re: Start an Android App with Dashticz
intents are the best way indeed.
Here you have buttons with working intents for the apps I use.
Spotify
Netflix
Videoland
NLziet
DSvideo
DSphoto
Tune In
Juke
Google home
Youtube
Chrome
Here you have buttons with working intents for the apps I use.
Spotify
Netflix
Videoland
NLziet
DSvideo
DSphoto
Tune In
Juke
Google home
Youtube
Chrome
Code: Select all
buttons = {}
buttons.youtube = {
width:6,
icon:'fab fa-youtube',
title: 'Youtube',
newwindow: 0,
url: 'intent:#Intent;launchFlags=0x10000000;component=com.google.android.youtube/.app.honeycomb.Shell%24HomeActivity;end'
};
buttons.alleapps = {
width:12,
icon:'fab fa-android',
title: 'Alle apps',
newwindow: 0,
url: "fully://launcher"
};
buttons.googlehome = {
width:6,
icon:'fab fa-google',
title: 'Google Home',
newwindow: 0,
url: "intent:#Intent;launchFlags=0x10000000;component=com.google.android.apps.chromecast.app/.DiscoveryActivity;end"
};
buttons.luvion = {
width:12,
icon:'/luvion.png',
title: 'Babyfoon',
newwindow: 0,
url: 'intent:#Intent;launchFlags=0x10000000;component=com.twentyfouri.luvionconnect/com.twentyfouri.easyicam.SplashScreenActivity;end'
};
buttons.NLziet = {
width:6,
image: '/nlziet.png',
title: 'NL ziet (TV kijken)',
newwindow: 0,
url: "intent:#Intent;launchFlags=0x10000000;component=nl.nlziet/.ui.login.SplashActivity;end"
};
buttons.juke = {
width:4,
image:'/juke.png',
title: 'Juke (Radio)',
newwindow: 0,
url: "intent:#Intent;launchFlags=0x10000000;component=com.e247.radio538/.MainActivity;end"
};
buttons.tunein = {
width:4,
image:'/tunein.png',
title: 'TuneIn (Radio)',
newwindow: 0,
url: "intent:#Intent;launchFlags=0x10000000;component=tunein.player/tunein.ui.activities.TuneInHomeActivity;end"
};
buttons.netflix = {
width:6,
image: '/netflix.jpg',
title: 'Netflix',
newwindow: 0,
url: "intent:#Intent;launchFlags=0x10000000;component=com.netflix.mediaclient/.ui.launch.UIWebViewActivity;end"
};
buttons.videoland = {
width: 6,
image:'/videoland.png',
title: 'Videoland',
newwindow: 0,
url: "intent:#Intent;launchFlags=0x10000000;component=nl.rtl.videoland/.ui.onboarding.OnboardingActivity;end"
};
buttons.spotify = {
width:6,
image:'/spotify.png',
title: 'Spotify',
newwindow: 0,
url: "intent:#Intent;launchFlags=0x10000000;component=com.spotify.music/.MainActivity;end"
};
buttons.dsphoto = {
width:6,
image:'/dsphoto.png',
title: 'DS Photo',
newwindow: 0,
url: "intent:#Intent;launchFlags=0x10000000;component=com.synology.dsphoto/.SplashActivity;end"
};
buttons.dsvideo = {
width:6,
image:'/dsvideo.png',
title: 'DS Video',
newwindow: 0,
url: "intent:#Intent;launchFlags=0x10000000;component=com.synology.dsvideo/.SplashActivity;end"
};
buttons.chrome = {
width:6,
image:'/chrome.png',
title: 'Chrome',
newwindow: 0,
url:"intent:#Intent;launchFlags=0x10000000;component=com.android.chrome/com.google.android.apps.chrome.Main;end"
};
Check my Domoticz tutorials, ESP8266 and Synology blog at https://www.twoenter.nl/blog
- Arkie
- Posts: 38
- Joined: Tuesday 03 December 2013 15:24
- Target OS: NAS (Synology & others)
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: Start an Android App with Dashticz
I managed to start the sonos app with a button, but can i add a second function to a button?
If i switch on or the state changes to on ( button with a idx to switch on a harmony hub activity ) i also want to start the android app.
How can i do this?
Regards
If i switch on or the state changes to on ( button with a idx to switch on a harmony hub activity ) i also want to start the android app.
How can i do this?
Regards
Synology DS412+
Philips Hue
Fibaro
Logitech Hamony elite
Foscam 9804 ip cam
RFXtrx433E USB 433.92MHz
ZXT 120 eu AC controller
Heatmiser NEO stat thermostats and Hub
Philips Hue
Fibaro
Logitech Hamony elite
Foscam 9804 ip cam
RFXtrx433E USB 433.92MHz
ZXT 120 eu AC controller
Heatmiser NEO stat thermostats and Hub
-
- Posts: 2287
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Start an Android App with Dashticz
Currenly I think you can only start one action per button. It will not be too difficult to extend it to multiple actions. I'll add it to the list.
I'm not sure I completely understand your second question. Is it related to the first one?
If you have a Domoticz switch in Dashticz, you can also try the 'openpopupOn' parameter.
I'm not sure I completely understand your second question. Is it related to the first one?
If you have a Domoticz switch in Dashticz, you can also try the 'openpopupOn' parameter.
- Arkie
- Posts: 38
- Joined: Tuesday 03 December 2013 15:24
- Target OS: NAS (Synology & others)
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: Start an Android App with Dashticz
I'm not sure I completely understand your second question. Is it related to the first one?
If you have a Domoticz switch in Dashticz, you can also try the 'openpopupOn' parameter.

It's the example for the second function of a button.
So if i press the button (On) in dashticz, an action in domoticz starts and the app is starting on my dashticz tablet.
But also when i start this action in domoticz with homekit or the domoticz webbrowser it should start the app on my dashticz tablet.
Maybe it's also possible to kill the app when pressing the off button? <-- second question

Thanks and regards
Synology DS412+
Philips Hue
Fibaro
Logitech Hamony elite
Foscam 9804 ip cam
RFXtrx433E USB 433.92MHz
ZXT 120 eu AC controller
Heatmiser NEO stat thermostats and Hub
Philips Hue
Fibaro
Logitech Hamony elite
Foscam 9804 ip cam
RFXtrx433E USB 433.92MHz
ZXT 120 eu AC controller
Heatmiser NEO stat thermostats and Hub
- Arkie
- Posts: 38
- Joined: Tuesday 03 December 2013 15:24
- Target OS: NAS (Synology & others)
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: Start an Android App with Dashticz
Starting the sonos app and my harmony activity with the press of 1 button works with the openpopupOn parameter, even when i switch the activity on the domoticz webbrowser or homekit app.If you have a Domoticz switch in Dashticz, you can also try the 'openpopupOn' parameter.
But now i only want to kill the popup at the end of the activity, if this is possible
Regards
Synology DS412+
Philips Hue
Fibaro
Logitech Hamony elite
Foscam 9804 ip cam
RFXtrx433E USB 433.92MHz
ZXT 120 eu AC controller
Heatmiser NEO stat thermostats and Hub
Philips Hue
Fibaro
Logitech Hamony elite
Foscam 9804 ip cam
RFXtrx433E USB 433.92MHz
ZXT 120 eu AC controller
Heatmiser NEO stat thermostats and Hub
-
- Posts: 2287
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Start an Android App with Dashticz
There is an auto close parameter for that.
Sent from my SM-A320FL using Tapatalk
Sent from my SM-A320FL using Tapatalk
- Arkie
- Posts: 38
- Joined: Tuesday 03 December 2013 15:24
- Target OS: NAS (Synology & others)
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: Start an Android App with Dashticz
oke, but auto close is on time, i only want to close the app if the button is switched off.There is an auto close parameter for that.
Synology DS412+
Philips Hue
Fibaro
Logitech Hamony elite
Foscam 9804 ip cam
RFXtrx433E USB 433.92MHz
ZXT 120 eu AC controller
Heatmiser NEO stat thermostats and Hub
Philips Hue
Fibaro
Logitech Hamony elite
Foscam 9804 ip cam
RFXtrx433E USB 433.92MHz
ZXT 120 eu AC controller
Heatmiser NEO stat thermostats and Hub
- Arkie
- Posts: 38
- Joined: Tuesday 03 December 2013 15:24
- Target OS: NAS (Synology & others)
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: Start an Android App with Dashticz
i managed to start the sonos app with a button press on and switch back to the fully kiosk app with a button press off.
The pop-up is a blank page that can be closed directly, the app stays active

Code: Select all
blocks[192] = {} //harmony
blocks[192]['width'] = 12;
blocks[192]['title'] = 'Muziek'
blocks[192]['hide_data'] = true;
blocks[192]['icon'] = 'fab fa-itunes-note';
blocks[192]['openpopupOn'] = {}
blocks[192]['openpopupOn']['auto_close'] = 0.1; //seconds
blocks[192]['openpopupOn']['url'] ='intent:#Intent;launchFlags=0x10000000;component=com.sonos.acr2/com.sonos.acr.SonosLaunchActivity;end';
blocks[192]['openpopupOff'] = {}
blocks[192]['openpopupOff']['auto_close'] = 0.1; //seconds
blocks[192]['openpopupOff']['url'] ='intent:#Intent;launchFlags=0x10000000;component=de.ozerov.fully/de.ozerov.fully.MainActivity;end';
Synology DS412+
Philips Hue
Fibaro
Logitech Hamony elite
Foscam 9804 ip cam
RFXtrx433E USB 433.92MHz
ZXT 120 eu AC controller
Heatmiser NEO stat thermostats and Hub
Philips Hue
Fibaro
Logitech Hamony elite
Foscam 9804 ip cam
RFXtrx433E USB 433.92MHz
ZXT 120 eu AC controller
Heatmiser NEO stat thermostats and Hub
Who is online
Users browsing this forum: No registered users and 1 guest