Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

Roku Internet Browser?

Is there anything like a Internet Browser for a Roku Channel? Might there be Wireless Keyboard and Mouse capabilities?
0 Kudos
Community Streaming Expert

Re: Roku Internet Browser?

No, all the way around.

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
Level 7

Re: Roku Internet Browser?

It could be done but you'd have to be really determined to create a Roku browser that supported html. For starters, you'd need to create a roKeyboardScreen so that users could enter the url they want to load. You would then need to download the page to temporary storage.

url = keyboard.GetText()
ba = CreateObject("roByteArray")
digest = CreateObject("roEVPDigest")
filename = digest.Final()
path = "tmp:/" + filename + ".xml"
http = CreateObject("roUrlTransfer")
success = http.AsyncGetToFile(path)

Plain text pages could easily be rendered using a roImageCanvas screen. XML feeds like rss, atom, mrss could easily be rendered using a combination of Roku components/screens. It's only when you start trying to render html that you're going to run into problems. The only way to display a html page while preserving all of the formatting on a Roku screen would be to take a screenshot of the page from your server and then return the screenshot url. The image could then be displayed using roImageCanvas. You might be able to use the browsershots code to accomplish this but like I mentioned above, you'd have to be really determined and invest a ton of time into this to make it work.

Regarding the wireless keyboard/mouse, you can create your own wireless keyboard using the external control protocol. You could develop a keyboard application that issued commands to your Roku box which would enable any wi-fi enabled laptop to become a wireless Roku keyboard.

echo -e 'POST /keypress/Home HTTP/1.1\r\n\r\n' | ncat 192.168.x.x 8060
0 Kudos