Controlling the Android Door Lock

Before we can write an elaborate server for the Android phone, we first need to write a test program that will validate the circuit we constructed in the last section.

Be sure to have installed the plug-ins for the Android SDK and Eclipse IDE with the Android Development Tools on your computer. Refer to Chapter 7, Web-Enabled Light Switch, for the steps on how to configure the SDK and IDE if you haven’t already done so. Then, download the HelloIOIO demo project from the Sparkfun IOIO tutorial web page.[97] The HelloIOIO project is a simple application that turns the IOIO’s onboard LED on and off. We are going modify this simple application by declaring another ToggleButton object in its main.xml layout file. ...

Get Programming Your Home now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.