"ogai_p" wrote:
Hi,
Using this function writes to a temporary file that disappears when my channel is closed:
WriteAsciiFile("tmp:/config.txt", "the text to write")
What filepath should I use so that the data I write still exists once my channel is closed then reopened?
Thanks in advance!
You can't write anything permanent to the filesystem(s) on Roku. You can store data in the registry. See roRegistry and roRegistrySection entries in the Component Reference pdf of the sdk. You can store a max of 16KB data. Once you store data into the registry it persists until you overwrite it, the channel is removed by the user, or the player is reset to factory defaults.
Remoku.tv - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com