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: 
salman23
Visitor

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 6
destruk
Binge Watcher

Re: registering options

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

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
Binge Watcher

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
Visitor

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
Binge Watcher

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
Visitor

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