I'm guessing you're new to coding, so it's worth pointing out that you can put Komag's snippet into a re-usable function: function stringReverse(input as String) as String newStr = "" len = len(input) for i = len to 1 step -1 newStr = newStr + mid(input, i, 1) end for return newStr end fun...
How would I do that? I only saw how to get a byteArray from the roScreen. Is there a way to cast it to a roBitmap or would I need to do something else? roBitmap implements the ifDraw2D interface. That means you can call all the same draw*() methods on a bitmap as you do on the roScreen. Once you've...
Thanks for all the great info everyone. I think we'll just stick with the old fashioned upload process for now. Although I am very tempted to build the staging server you speak of EnTerr -- but it doesn't quite meet our needs. With that solution, the Roku devices and staging server would either need...
I can't think of a single good reason to do this, and about a million good reasons not to. How often are you publishing updates to channels that you need to automate it, and is it often enough to risk writing a script that could do it accidentally? Sounds very dangerous to me... I agree that it has...
Does anyone know of a way to automate publishing of a Roku channel? I've built a toolchain that performs some custom build steps and outputs either a .zip or .pkg file. I often do builds which I upload to a private channel for testing, and I find it cumbersome to login and navigate the website each...
Meet a new friend, her name is YAGNI Oh, YAGNI, I know ye well. Then I forget you exist. Met you again for the first time... New OOP Vocab Inquiry: ⋅ a DialogBox is something that returns a value, but doesn't have to. ⋅ a Menu is something that does something. Does that work for...
Thanks. By "draw" you mean having a few hundred image canvas everywhere? ImageCanvas is likely too slow for a whole application. You'll probably want to use roScreen. Any idea on how to achieve something similar to YouTube's left side scrolling menu? It slides in and out of the screen and...
Does anyone know of a way to automate publishing of a Roku channel? I've built a toolchain that performs some custom build steps and outputs either a .zip or .pkg file. I often do builds which I upload to a private channel for testing, and I find it cumbersome to login and navigate the website each ...
Is it possible via the debugger to print the refcnt for an arbitrary variable? If I put a stop statement in my code the debugger will show the refcnt for the immediate scope: Local Variables: cpx roAssociativeArray refcnt=4 count:20 global rotINTERFACE:ifGlobal m roAssociativeArray refcnt=5 count:1...
Would it be OK to make allObjsToDrawStackList a global? It might be OK, but probably wouldn't be best. It seems like that variable should be confined to some sort of render manager object. Making it a global will just limit you in the future. For example, what if you wanted to support two render sy...
Eclipse has a project outliner that brings in the entire workspace, anything In your project can be included in the project tree. This means all file types in your channel. JSON XML images video can all be associated with a plugin or another program on your device. So it's easy to get into these fi...
Sounds like maybe you want a stack of components instead of a hierarchy. I was thinking more about a generic UI system like android's where different components on the screen can react to events (i.e. buttons, text boxes, etc.). But if you're trying to achieve something more like a pause screen in a...
The only real advantage to using the eclipse plugin is the integrated build system For me, the real advantage to using the eclipse plugin is complete project management. Not sure if sublime is that advanced. Don't have it, but from the screenshots it just appears to be a text editor. Apologies in a...