lhgrubbs
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2011
02:35 PM
Roku Internet Browser?
Is there anything like a Internet Browser for a Roku Channel? Might there be Wireless Keyboard and Mouse capabilities?
2 REPLIES 2
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2011
03:36 PM
Re: Roku Internet Browser?
No, all the way around.
-JT
-JT
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.
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.
kavulix
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2011
09:43 AM
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.
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.
http://code.google.com/p/browsershots/source/checkout
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.
url = keyboard.GetText()
ba = CreateObject("roByteArray")
ba.FromAsciiString(url)
digest = CreateObject("roEVPDigest")
digest.Setup("sha1")
digest.Update(ba)
filename = digest.Final()
path = "tmp:/" + filename + ".xml"
http = CreateObject("roUrlTransfer")
http.SetUrl(url)
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.
http://code.google.com/p/browsershots/source/checkout
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