Hi all,
I tried example from https://github.com/Samsung/TAU and it see fine, but not work any hardware buttons in control. For example I tried
function getEventType(event) {
const log = document.getElementById('info');
log.innerText = event.type + '\n' + log.innerText;
}
window.addEventListener('tizenhwkey', getEventType, false);
and this nothing catch : (
Any idea what I can do with this? Thank’s a lot.
I have Samsung:
Model Code: UE32N5372
Software Version: T-KTSNDEUC-1292.1
confix.xml:
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/Multi" version="1.0.0" viewmodes="maximized">
<tizen:application id="xeTiOTFWrM.Multi" package="xeTiOTFWrM" required_version="2.4"/>
<content src="index.html"/>
<feature name="http://tizen.org/feature/screen.size.all"/>
<icon src="icon.png"/>
<name>TAUMultiPage</name>
<tizen:setting screen-orientation="landscape"/>
<tizen:setting context-menu="disable"/>
<tizen:setting background-support="enable"/>
<tizen:setting encryption="enable"/>
<tizen:setting install-location="internal-only"/>
<tizen:setting hwkey-event="enable"/>
</widget>