Forum Discussion

tboneus's avatar
tboneus
Visitor
15 years ago

Any pointers for registration code in asp or java

Hi guys, I was looking at the registration example in the samples folder of the SDK and have been trying to implement the server code to complete the transaction. Essentially, looking at the docks there appears to be a SOAP xml style transmission when the user clicks to register, then the server parses the xml which would be checked against a database resulting in another xml packer being sent back to the box.

Has anyone tried to implement the server side of the code? I know there were no examples in the SDK but does anyone know of some suitable code in ASP.net or java that could be used for this at least so I could get some kind of two way communication going between the Roku and the server. It is described in the SDK as "rendezvous style registration" but I have been unsuccessful in finding out any more information.

To give a little background, my reason for this is so that I could possibly carry a database and business logic on the server and therefore use the Roku essentially as an interface but leave all the grunt work to a dedicated server. I have a lot of code that accesses a personal database and provides a lot of multimedia functionality in a windows based app but it would be ideal to utilize a server and the roku, thus eliminating the need for a computer to be on all the time.

Any thoughts gratefully received.

23 Replies

  • register the device ID of the device and to check with the device id and status and date


    CREATE TABLE IF NOT EXISTS `users` (
    `firstname` varchar(50) NOT NULL DEFAULT '',
    `lastname` varchar(50) NOT NULL DEFAULT '',
    `email` varchar(100) NOT NULL DEFAULT '',
    `password` varchar(25) NOT NULL DEFAULT '',
    `deviceID` tinyint(4) NOT NULL,
    `regCode` tinyint(4) NOT NULL,
    `end_date` date NOT NULL,
    `creation` date NOT NULL,
    `status` int(11) NOT NULL DEFAULT '0',
    PRIMARY KEY (`email`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='no comment';
  • destruk's avatar
    destruk
    Streaming Star
    necromancing threads with the last reply being 2+ years old is generally frowned upon here.
  • I personally am a little suspicious whether this is just a clever spammer setting up legit-looking posts