Hardware Key 이벤트 발생 시점 문의
By HeeJung Park
22 Jul 2015 16:50
Korean
2 Replies
menu, back 키를 터치시,
손가락을 땔 때 이벤트가 실행되는거 같은데
혹시 손가락이 닿았을 때 이벤트가 실행되게 할 순 없을까요?
코드는 다음과 같습니다.
document.addEventListener("tizenhwkey", hardwareKey_Event);
function hardwareKey_Event(event)
{
if (( event.keyName == "back" ) || ( event.keyName == "menu" ))
{
tizen.application.getCurrentApplication().exit();
}
}
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
--------
--------