Tizen Nacl TV app -exit on return
By Dima S
06 May 2017 00:30
English
1 Replies
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
Edited by: Dima S on 06 May, 2017
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------