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.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rjbrown
Visitor

getting selected button on Springboard

On a springboard screen, I'd like to find out when the user highlights a button, prior to them actually clicking it. Is this possible? I see I don't get any isRemoteKeyPressed() events, but I could have it return from wait() a few times a second....but I see no way to check which button is selected.

Thanks...
0 Kudos
5 REPLIES 5
belltown
Roku Guru

Re: getting selected button on Springboard

I don't believe there's any way to do that on an roSpringboard screen. The only events it offers are isButtonPressed (), which only fires when the button has been pressed, not when it is selected, and isRemoteKeyPressed (), which does not fire for the up and down keys, only left/right nav keys etc. if you have previously called AllowNavLeft (), etc.
0 Kudos
rjbrown
Visitor

Re: getting selected button on Springboard

Thanks for the (disappointing! 🙂 ) answer....
0 Kudos
TheEndless
Channel Surfer

Re: getting selected button on Springboard

If you can share details of the effect you're trying to accomplish, we may be able to provide alternative solutions...
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
rjbrown
Visitor

Re: getting selected button on Springboard

I was wanting to change the text at bottom temporarily to offer an explanation of what would happen when a particular button is clicked. Sort of in the spirit of a "tool tip". I wasn't going to do it for all the buttons, just one that seemed to need a little extra feedback.

It wouldn't have been a perfect interface, but I wanted to show a few various options to the client.
0 Kudos
belltown
Roku Guru

Re: getting selected button on Springboard

If you want a screen with options the user can select with some explanation for each option, you may be able to use an roListScreen instead of an roSpringboardScreen. The advantage of an roListScreen is that you're not just limited to 5 options as you are with an roSpringboardScreen. Also, you can display an image and 2 lines of descriptive text for each option. However, you don't get to take advantage of the different ways in which the roSpringboardScreen can display the content meta-data items. I just don't see an easy way of doing a tooltip-like effect on an roSpringboardScreen.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.