- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Home key hangs device?
I've written a simple program that renders a screen, with a message wait loop for input and exit from the program. I listen for roUniversalControlEvent and pick up on all the button presses... except the home key.
The problem is that when the home key is pressed, the Brightscript console prints that the program has exited, but instead of returning to the home page it just creates a black screen. Almost any button press will produce a sound, but you are still stuck at the black screen. Through much experimentation, I discovered that if I press the netflix button, wait for a moment, then press the home button, I can recover the home screen.
Since I'm not allowed to handle the home key, I don't know what to do to fix this. The main program code is below.
Any ideas on why the firmware isn't taking me fully back to the home screen?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Home key hangs device?
See if this thread helps:
https://community.roku.com/t5/Roku-Developer-Program/Home-key-hangs-device/m-p/560253
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.