Java Roku Remote

Purpose

A virtual remote control and screen display for Roku SoundBridge, written in Java by written by R.A.Buchanan. It does not try to do anything beyond emulate the SB display and remote control. The Java source code was posted in a Roku forum (with "Copyright 2006 R.A.Buchanan. Free for private noncommercial use."). This page presents a compiled .jar file and a stand-alone executable for Windows using Launch4j.

4th March 2007 - This version has been patched to support the larger screen size of the M2000.

4th July 2007 - Incorporated changes made by Clemens Wacha which add Alarm and Snooze / Sleep buttons to the control and keyboard mapping.  The icons are 'programmer art' - feel free to submit better versions. Also built with JDK 1.6u1 (previously JDK 1.5).

The remote control is currently mapped to the following keys:

Build Method

The file was built with JDK 1.6u1 with flags to avoid the "uses unchecked or unsafe operations" warnings.

javac -source 1.4 -target 1.4 SoundBridge.java

Then make a jar file of all the generated files (and the source for safe keeping). The Main-Class is also specified.

jar cfe sb.jar SoundBridge SoundBridge*

The jar file was packaged using Launch4j (v3.0.0-pre2) with the configuration file sb.xml and icon roku.ico.

The Result

The .jar file can be run on most platforms (hopefully, but not tested) using:

java -classpath sb.jar SoundBridge

or, as the Main-Class has been specified, by:

java -jar sb.jar

Note that the IP address can be supplied as an optional parameter.

The executable for Windows, which wraps the .jar file, is in sb.zip (37kb).

Screenshots

Below is a screenshot of the program being used with a Pinnacle SoundBridge R1000.

The virtual Roku display
The vitrual remote control

The Future

The source code and ideas from this project have been extended / rewritten by by Michael W. Heinz, Sr., and R. A. Buchanan to become an open source project: SoundBridge Commander.