Tizen 2.2b Hardware Buttons

Tizen 2.2b Hardware Buttons

BY 23 Jul 2013 Web Application Development

I’ve just installed the 2.2b SDK and I’m trying to add the Menu/Back buttons to a pre-existing app.

According to the guide, we have to bind an event handler for the “tizenhwkey” event.
Do we just add <script> tags to the HTML file and then insert the code that handles the event?

If so, where? I’ve attempted to put the sample event handler code in the <head> of the index.html file and it still doesn’t work.

 

In case it matters, I’m attempting this on a default emulator.

Written by