The Processing sketch for Android, and to the Arduino code for the example shown in the clip are available for download here:
ketaiProject.com/adk/ADK_Arduino_BT.zip

An explanation of the Bluetooth component is available in the P2P chapter in Rapid Android Development: Build Rich, Sensor-Based Applications with Processing, available at pragprog.com/book/dsproc

The circuit is illustrated here: ketaiproject.com/adk/BT_Android_ADK.png

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…