
“follower” wrote in with yet another cool project for the Android Open Accessory SDK. This time, you don’t even need to do any Android programming; your Arduino Sketch tells follower’s Android app what to do and what to display on the screen:
Handbag makes it possible to create Arduino-based accessories for Android devices without creating an Android app. You both define the Android application user interface and implement the behaviour in your Arduino sketch.
Here’s an example of how you would (currently) create an interface with a label, some space and a single button:
configureWidget(UI_WIDGET_LABEL, ID_NONE, "Example Handbag Android Accessory");
configureWidget(UI_WIDGET_LABEL, ID_NONE, "");
configureWidget(UI_WIDGET_BUTTON, ID_B1, "Toggle Digital Pin 4");
Handbag: the Android Arduino Accessorizer
If you’re going to be at the O’Reilly Open Source Convention in July, be sure to check out follower’s Get Started with the Arduino – A Hands-On Introductory Workshop.


Genius!
Could this be done for the iPhone?
This Ciao app sort of does: http://ciaoapp.com/
Ace! Thanks John.
I don’t see much information about what options one has beyond buttons and an LCD – but it certainly looks interesting!
Ace! Thanks John.
I don’t see much information about what options one has beyond buttons and an LCD – but it certainly looks interesting!
Ace! Thanks John.
I don’t see much information about what options one has beyond buttons and an LCD – but it certainly looks interesting!
Ace! Thanks John.
I don’t see much information about what options one has beyond buttons and an LCD – but it certainly looks interesting!
This Ciao app sort of does: http://ciaoapp.com/
This Ciao app sort of does: http://ciaoapp.com/
This Ciao app sort of does: http://ciaoapp.com/
This Ciao app sort of does: http://ciaoapp.com/
This Ciao app sort of does: http://ciaoapp.com/
anyone else getting a parse error on the install of this apk file?
A parse error probably means you have the wrong version of Android.
Gingerbread 2.3.4 or HoneyComb 3.1 is required to use the Android Open
Accessory API.
I am suffering from the same issue, and I have a bionic which is gingerbread 2.3.4, it just tells me install fails, is the phone supposed to be rooted to use this?
anyone else getting a parse error on the install of this apk file?
Hello, sorry to disturb you, but I’ve a big question regarding the code of handbag… I have a big problem ’cause I’m developing an app that use tha ADK on a LG Optimus SOL phone. Any app I’ve tested until now on this phone fails, cause the open accessory doesn’t work properly (even if the android version of the phone is 2.3.4..) All application excet the latest version of handbag. This is really strange. There’s someting that I miss and you have find to solve my problem? please let me know if you have any idea about that. I’m wasting a lot of time searching on the web a solution, without results until now. Best regards Andrea
Are you saying: “Any [ADK] app I’ve tested until now on this phone fails… [except] the latest version of handbag”?
By this, do you mean that only the latest Handbag app works with the ADK on your phone? Does Handbag *actually* work (i.e. communicates successfully with the Arduino) or does it just not display an error message?
I recommend checking the logcat output on your phone when the other applications fail. (You can use an app like ‘aLogcat’ to check the logs on your phone without connecting it to another computer.)
If Handbag is actually running successfully you can take a look at the source code–which might give you a hint–here: https://github.com/follower/android-arduino-handbag
// What's Trending
Raspberry Pi Design Contest
Seventeen Sneaky Secret Hides
Maker Faire Bay Area Ready for Showtime
Sneak Preview: The Wheeled Wonders of Maker Faire
10 Things to Connect to Your Raspberry Pi
A Photo Tour of Maker Faire
Everyday Carry at Maker Faire
New Arduino Robot Available in the Maker Shed at Maker Faire
// What's Shared
A better way to slice a pumpkin
DIY Nerf Darts
In the Maker Shed: Minty Boost USB Charger
100 Dollar Store Organization Ideas for Craft Rooms and Beyond
Mad’s Mouse House
Lace Princess Crowns
I Have a (Puzzling) Dream
Play the Rings of a Tree Trunk Like a Record
// Most Commented
DIY Hacks & How To’s: Get Emergency Power from a Phone Line
Resin Casting: Going from CAD to Engineering-Grade Plastic Parts
Ten Tips for Screws and Screwdrivers
Ten Tips for Better Measurement
Makers on TV: Big Brain Theory
Pitches with Prototypes: Solar Tracker
Grow: A Portable CNC Router System
Tool Review: BioLite CampStove
Trending Topics
Get our Newsletters
About Maker Media
Subscribe
to MAKE!
Get the print and digital versions when you subscribe