Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
brockoli
Visitor

Read text file from device?

I have an xml file that I want to package with my channel in my xml directory. How can I open that file as text so I can parse the XML?

brockoli
0 Kudos
1 REPLY 1
TheEndless
Channel Surfer

Re: Read text file from device?

myXML = ReadAsciiFile(pathToFile)
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos