Back to previous page using HW back button on web app based on Tizen Web UI Framework
By ALSU
23 Oct 2013 23:50
English
6 Replies
Hello,
How i can navigate to previous page using HW Back button on web app based on Tizen Web UI Framework.
This code isn`t worked:
document.addEventListener( 'tizenhwkey', function(e) {
if (e.keyName === 'back') {
if ($.mobile.activePage.attr('id') === 'one') { tizen.application.getCurrentApplication().exit(); } else { history.back(); }
}});
I have following error:
TypeError: 'undefined' is not a function
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
--------
--------