Tizen Developers

Menu
Sites
Language
How to bind device buttons (back, menu)

Hello.

How to bind functionality with device "back", "menu" and, maby, "home" buttons?

 

Edited on 18 03, 2014

Responses

3 Replies
Lakshmi Grandhi
Hi , document.addEventListener('tizenhwkey', function(e) { if(e.keyName == "back") tizen.application.getCurrentApplication().exit(); if(e.KeyName == "menu") });
Sergey
Thanx a lot! Where the documentation about it?
Lakshmi Grandhi
The code is generated by sample Web-Application created from ecllipse IDE