Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
salman23
Level 7

registering options

Hi,
I have found an amazon channel with two registering options.They have a screen containing two image buttons which on clicked will navigate to another page.Do any one know what screen is they used.For reference , the url is given below:

http://www.amazon.com/gp/feature.html/182-3180724-0287245?ie=UTF8&*Version*=1&*entries*=0&docId=1000...
0 Kudos
6 Replies
destruk
Level 10

Re: registering options

It's a custom screen. So probably roScreen or roImageCanvas - either would work to recreate that.
0 Kudos
salman23
Level 7

Re: registering options

Thanks for your reply.But is there an option to add image buttons in Imagecanvas ? i found only buttons to add in imagecanvas.And it contains title and id.No image url.So can we do that with imagecanvas?
0 Kudos
destruk
Level 10

Re: registering options

no. To do that you would load an image and an 'overlay selection box image' with transparency to go around it, and then design remote control codes (left/right) to redraw the overlay box around the other buttons you want. That's why it's a custom screen instead of one of the built-in screen types as it doesn't follow any existing options in the SDK - it all needs to be designed and programmed from scratch. In this case you are only talking about two buttons so it's extremely simplistic, but it's more work than just showing an available screen type.
0 Kudos
salman23
Level 7

Re: registering options

thanks.But it is still not clear for me.If u don't mind,can u please show me a simple code to demonstrate that?
0 Kudos
destruk
Level 10

Re: registering options

Roku has you covered with the SDK sample applications here:
http://sourceforge.net/projects/rokusdkexamples/files/

Check out the imagecanvas.zip for source code for imagecanvas.
Simple2D might be helpful too.

The online Roku wiki has more information as well -
http://sdkdocs.roku.com/display/sdkdoc/roImageCanvas
0 Kudos
salman23
Level 7

Re: registering options

"destruk" wrote:
Roku has you covered with the SDK sample applications here:
http://sourceforge.net/projects/rokusdkexamples/files/

Check out the imagecanvas.zip for source code for imagecanvas.
Simple2D might be helpful too.

The online Roku wiki has more information as well -
http://sdkdocs.roku.com/display/sdkdoc/roImageCanvas


Thanks @destruk for your valuable reply.Let me check.
0 Kudos