Topic: Connecting chumby widget code with java/python programs

Hi,

I am new to the Chumby and have just started with Flash development. I just wanted to know if there is a way to write a python / java program and connect a particular widget to it?

Re: Connecting chumby widget code with java/python programs

Widgets, since they are loaded from the network, run in a security sandbox - that means that they have limited access to the local device, and are thus blocked from running programs hosted on the device.

However, Flash movies that are launched locally (for instance, from a USB drive), *can* run local programs.  There are several ways to do it - using a pipe, launching the program using the "exec://" protocol in a LoadVars or XML object, or with the extensions that Chumby has added to the player.

One way to get around the restrictions on widgets is to launch your executables from CGI scripts running in the little web server built into the chumby.

Re: Connecting chumby widget code with java/python programs

Okay. Great! Thanks a lot for the information.

Is there a part on the website, which explains how to load widgets from the USB? Also, is it possible to SSH into chumby and program on it?

Re: Connecting chumby widget code with java/python programs

Check out this page.

Also, a number of languages compiled for the chumby can be found here.