"tvjay" wrote:
"belltown" wrote:
What program are you talking about -- the code I posted to clear the registry? Are you running it as a side-loaded channel in developer mode, and running your SDK example code the same way? What makes you think it doesn't seem to be clearing the registry? If you select "Dump the whole registry" it should list the registry contents. If you've run the registration SDK example there should be a Registry Section named "Authentication" with a key named "RegToken". If you select "Wipe the whole registry" or "Delete an individual section", you should be able to delete that section, which you can confirm by selecting "Dump the whole registry" again.
I am running it side-loaded as well as my app. I think it is not clearing because when I run my app it shows an old code and not the current code on my server. Also, I never see the registry contents you mention that I should see. It always returns "registry is empty."
Most likely, the "Registry is empty" message means that your registry really is empty, and that your channel hasn't written anything to it. It's going to be hard to diagnose what's going on here since you haven't posted any code from either your Roku channel or your server script. Your best bet is to step through your Roku channel code line by line using the debugger until you find where this "old code" is coming from, why you're not getting the new code from your server, and why the new code is not being written to the registry if that's what it should be doing. If you spend some time studying the SDK "example" code, figuring out how it works, then you should be able to write your own code to do whatever you want.