I have a question about how to get the back button to quit the app back to the live TV.
Do I map commands to function keydownhandler(e)?
Additionally, when do I use SmartTvA_API.exit(); ?
My need is when back is pressed, I save some data about the current video time code to localstorage, I'm just not sure how to grab the back command.
In the sample video player app, I don't see any mapping of an exit or back command, but on the emulator, I'm able to return to the first page of my two-page app. When I'm sitting on the index file (the first page of the 2 page app) the back button doesn't return me to the TV app menu. I'm confused where and how the back button gets defined.
Thanks so much for your help.