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

Login Screen - Design Question

Hey All,

I have a design question for you. We are working on a new channel, and need a "login" type screen where a user enters a email address, which will be passed to a web service which creates a special XML feed tailored to them.

So, first, is a "login" screen possible? If so, is there any demo project I should specifically look at for example on how to do this?

Second, can I store the users email in the registry so that on the next startup on our channel, they don't have to enter it again? Of course I'd need some kind of mechanism to log them out, but was trying to reduce the frequency that they'd have to deal with a login screen.

Any advice?

Thanks
Jay
0 Kudos
2 REPLIES 2
RokuChris
Roku Employee
Roku Employee

Re: Login Screen - Design Question

You can use roKeyboardScreen to get an email address from the user. I don't think it's used in any of the example projects, but there is some sample code for it in the Component Reference.

Section 4 of the Developer Guide talks about registration mechanisms and answers your second question: "Any user account information or tokens exchanged during the registration process may be stored in the application specific portion of the registry as persistent data."
0 Kudos
jkard
Visitor

Re: Login Screen - Design Question

Awesome, thanks Chris! I just pulled up the roKeyboardScreen, and it looks right on par with what I'm hoping to implement.

Best
Jay

PS - If anyone has any experience with this, I will gladly listen to your advice.
0 Kudos