Someone at work wants to see if I can create an app that displays the company's website for visitors. I have some experience with programming languages but I'm not familiar with brightscript and neither is the person who assigned the project, so we're a bit stuck.
It seems like I'm supposed to use the "roUrlTransfer" object to communicate with the website. Unfortunately I don't have the link to my website at the moment, and none of the examples I find online seem to work. The thing I hear the most is that this object needs to be put in a task node, but the sample task on the roku website doesn't seem to work either. I'm pretty sure I'm doing something wrong.
My questions are:
Where does a task node go? Do I put it in the main file, the source component, or do I put it in its own file (like an xml file)? If it doesn't go in the main file, how do I call it in the main file?
Once I get a roUrlTransfer request, which the tutorials say to do this:
request = CreateObject("roUrlTransfer")
request.SetUrl("(url here)")
html = request.GetToString()
then what do I do? I'm trying to display a simple web service such as a weather app.