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: 
coredump
Level 7

Creating a Custom Form

I am using an roImageCanvas to make a custom layout with form elements, like a registration / sign in screen. How do I create the text fields for the users to enter their information. Is there something standard, I can use ?
0 Kudos
6 Replies
TheEndless
Level 7

Re: Creating a Custom Form

If you're using an roImageCanvas, then you're going to have to draw every element programmatically. There are no controls/widgets.
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
coredump
Level 7

Re: Creating a Custom Form

Is there another way of creating a form ?
0 Kudos
TheEndless
Level 7

Re: Creating a Custom Form

Not a form, no, but the typical way to collect data on the Roku is via a wizard style interface that walks the user through multiple keyboard screens. Generally speaking, though, it's usually best to not require the user to enter a ton of information in-channel, as it can be tedious and annoying for the end user. I'm not sure what your end goal is, but would a rendezvous style or registration work for you?
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
coredump
Level 7

Re: Creating a Custom Form

unfortunately not, so I will need to draw the text fields and I am assuming my own keyboard .... painful
0 Kudos
TheEndless
Level 7

Re: Creating a Custom Form

"coredump" wrote:
unfortunately not, so I will need to draw the text fields and I am assuming my own keyboard .... painful

Very. What you might consider is just drawing the text fields with focus highlight, then bring up the standard roKeyboardScreen when the user selects one of the fields. Drawing your own keyboard could be a nightmare.
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
coredump
Level 7

Re: Creating a Custom Form

Thanks for the tip "The Endless"
0 Kudos