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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.