btpoole
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2014
03:43 PM
Home Button Exit
From what I can tell the Home button does not have an index number. How is it possible to execute code if the user presses the Home button. For example, I have a server side script that is executing during the channel play. If the user press the back button or the up button, I have the isRemoteKeyPress set to kill the script and temp files on the server are deleted. No problem. But if the user presses the Home button to exit there is no way to kill the script or delete temp files. Or is there?
1 REPLY 1


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2014
04:01 PM
Re: Home Button Exit
"btpoole" wrote:
From what I can tell the Home button does not have an index number. How is it possible to execute code if the user presses the Home button. For example, I have a server side script that is executing during the channel play. If the user press the back button or the up button, I have the isRemoteKeyPress set to kill the script and temp files on the server are deleted. No problem. But if the user presses the Home button to exit there is no way to kill the script or delete temp files. Or is there?
There isn't. HOME is always intercepted by the firmware and always exits the current channel immediately.
http://sdkdocs.roku.com/display/sdkdoc/ ... -LevelMenu