Tizen hwkey button

Tizen hwkey button

BY 12 Mar 2020 Web Application Development

Hi everyone,

I’m newbie at Tizen Wearable and making an application with 3 page depth.

Page A — click —> page B — click —> page C (I’m using window.tau.changePage(#id) to go to page B and C)

Page B and C are set class=”ui-page”

Page A is set class=”ui-page ui-page-active”

And the strange behavior that cost me a few days is:

Page A go to B then go to C, then press back hwkey, the application jump from C directly to A.

Any one have experience with this?

Thanks in advance,

 

P/s: I’ve already use snippet to listen tizenhwkey event but both window.history.back() and window.tau.back() are not work, or even I skipped to process to back, it still back to page A automatically.

Written by