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...
Tags (1)
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.
Tags (1)
0 Kudos
rjbrown
Visitor

Re: getting selected button on Springboard

Thanks for the (disappointing! 🙂 ) answer....
Tags (1)
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)
Tags (1)
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.
Tags (1)
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.
Tags (1)
0 Kudos
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!