Google ADK/ADS with Android Phone

Google ADK + Android Phone = Camera Trap 2.0

In a feat of great serendipity, luck, and magnificent timing, Google released its ADK/ADS this week, which fits perfectly with our camera trap project. And then, the Google gods smiled down upon us, when Diana’s brother managed to finagle an ADK from the Google I/O conference and sent it to us (never have we been so excited to receive a package–like children on Xmas! if I was Christian). Following the steps on the Android developer site, we got the Google ADK to communicate with the Android phone. Some important points that are hidden deep in the Android Developer instructions:

1. Gingerbread 2.3.4 is NECESSARY to work with the ADK. This works only on the Google Nexus One and the Google Nexus S (make sure to update over the air on Google Nexus One as it is not pre-set). This can be done in the Settings section of the phone.

2. Set permissions on the phone: Settings–>Applications–>Development–>Turn on “USB debugging”. Allows you to access the USB, which is how the phone communicates with the board. The phone will not be detected on your computer.

3. The phone needs an SD card if you intend to use the camera (which we do).

Here is a video of us demonstrating the basic interaction between the ADK and the phone:

1. Debugging: Google provides a lovely screen on the phone to show which sensors are doing what (their shield comes tricked out with everything from a temperature sensor to a joystick), but we are having trouble figuring out how to view the console on the phone to test whether we are able to access the camera.
2. Accessing the camera: Using ITP alum/prof Shawn Van Every’s Pro Android Media book, we have been able to get the camera on the Android working independently of the Google ADK. We are having trouble getting the Views to change, such that the phone switches to the camera view upon a button press.

This entry was posted in ITP, ITP Semester 2 and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *