Here is an example dashboard. The Music, CCTV and Internet buttons all open android apps when clicked on if you are running from Fully Kiosk Browser:
The custom widget code:
<div class="btnnav" oc-lazy-load="['/static/habpanel-fully-app.js']">
<div class="flex">
<button fully-app app="{{config.app_id}}" class="btn2" style="flex: 1 1 auto">
<img class="icon-tile ng-scope inline" src={{config.icon}} style="flex: 1 1 auto; width: 50%" />
<div style="clear: both"></div>
<div style="font-size: 4.5vw"><a>{{config.text}}</a></div>
</button>
</div>
</div>
habpanel-fully-app.js:
angular.module("fullyApp", [])
.directive("fullyApp", function () {
return {
restrict: "A",
link: function (scope, elem, attrs) {
elem.bind("click", function () {
fully.startApplication(attrs.app);
});
}
};
});
The json widget which you can import directly:
Button- Launch Fully App.widget.json (1.2 KB)