Hi to all.
This is my first post and I wish to thank everyone for some help.
My problem is that we have an application which runs in other smart tv's, using html5, css3 and javascript.
Now, I need to implement it on Roku system.
For this, to start, I wish to know how I can implement a login form, as in the others tv's systems.
This login form has 2 fields (username and password) and one button to send the login data to our server and authenticate the user. It must call our webservice for this.
Is this kind of authentication method possible with Roku? How?
I ask this because I haven't found any information on how to do it as described.
I am totally new to Roku system and Brightscript.
Thanks very much for any help.
@ssaguiar, you don't need any kind of special form. Just prompt the user for an email address and password. I just did something similar on the Radio Paradise channel. You have to offer the user the email address associated with the Roku account, but they can enter any email address.
Of course if this is about Direct Publisher then I have no idea how to do it.
Our app (channel) is intended to be used by our customers who are already our clientes (the pay for our iptv service - which is legally authorized by operators).
So, as said, we need to authorize those clients so they can use our roku channel.
This must be done by username / password as they already have accounts within our system (database / webservice).
How can I implement this?
I already created the login page with username and password fields among the login button.
I an login in our system without any problem, receive the channels list receive the programs and play them using a RowList and Video .
Any help, please?
Thanks
@ssaguiar, you don't need any kind of special form. Just prompt the user for an email address and password. I just did something similar on the Radio Paradise channel. You have to offer the user the email address associated with the Roku account, but they can enter any email address.
Of course if this is about Direct Publisher then I have no idea how to do it.
Dear friend, thank you very much for your answer.
I installed your channel on my Roku device and it's beautiful.
I wish to know if you could share the code you use to login (it seem it uses StandardKeyboardDialog).
Another question about this authentication: when I login, in the password ti shows the password plain text. Can this be changed to not show password this way (not show plain text password)?
Thank you and congratulations for the excellent channel (I already made my registration to your channel)
I saw that, using StandardKeyboardDialog, we can use the field keyboardDomain to select the type of text to be entered:
Now, I am trying to change it's colors, background and so.