Category Archives: arduino

An adb (Android Debug Bridge) wrapper for installing from a URL, installing to all devices

At myYearbook, we produce our internal and release candidate builds for all of our Android applications using Jenkins CI. This allows us to automatically produce builds when changes are pushed to code review (through gerrit) as well as when they’re merged upstream. This process is great for keeping integration clean and organized, but it means that QA, product development, and sometimes developers have to download the produced APK from jenkins on to their computer, and then install from the location they downloaded to. In order to expedite this process, I wrote a wrapper script for adb to allow the installation of an APK from a URL.

To do this, simply change your usage from

adb install /path/to/app.apk

to use a URL

adb install http://my.server.com/app.apk

Additionally, use the -a flag to execute your commands on all devices.

adb -a install http://my.server.com/app.apk

Get the source: the adt-plus project on github!

Embedded Electronics with Arduino

I’ve recently been thinking about how I could get into embedded electronics and came across a cool open-source project called Arduino.

“Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It’s intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.”

– http://arduino.cc

That blurb pretty much sums it up. I’ve decided to commit some time and effort into this project, so I’ve set up a new desk and set of drawers in my bedroom specifically for breadboarding and Arduino programming. I’ve also purchased a kit and a book on Arduino from sparkfun.com.