Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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?

0 Kudos
Community Streaming Expert

Re: Home key hangs device?

See if this thread helps:

Roku Community Streaming Expert

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.
0 Kudos