Hi,
On a nacl TV app , how do i make the return button on remote exit/terminate the app ?
I have tried adding this command to code :
document.getElementById("yes_exit_button").addEventListener('tizenhwkey', function(e) {
if(e.keyName == "back")
tizen.application.getCurrentApplication().exit();
});
but it doesnt work on emulator / simulator...return button does nothing.
works only for web applications...
thanks