Nice work Blake, looks like we have a winner. We will try it on our end to verify the code functionality and then send you a $500 coupon What services does the accessory interface provide?
Not only this $60 replaces the $400 google kit but actually give you a lot more flexibility and features than arduino. This is going to be fun to play with.
Nice work! You beat me to it!
I was trying to make my HTC Incredible with nightly built of Cyanogen to work with Domino. Had to jump some hoops just to be able to deploy ADK sample on the phone. But at the end it enumerates itself as a device that does not support Android accessory protocol.
Well, I have to wait for a good 2.3.4 update for my Incredible.
Right now you can customize the strings that the accessory uses to identify itself, and it creates a bidirectional byte stream (like a TCP socket or serial port). After that point, itâs a question of layering on the value. But right this second, itâs a protocol driven by the Android â he sends a command byte, the FEZ sends a response byte. So the Android basically says âturn LED onâ, âturn LED offâ and âget me the LED and button statusâ and the response to all of those commands is the current LED and button status.
Does any of the built in current android apps support some commands in accessory interface? (yet!)
I mean can you use FEZ to change the song on an android phone with out coding anything on android?
But isnât that the whole point from accessory? I mean when you plug in your phone to a dock that is an alarm clock, shouldnât you be able to do some control to the phone from the dock? This is how things work on iphone at least!
As I understand, when an accessory is plugged in, it pushes following info to the android device
manufacturer name:
model name:
description:
version:
URI:
serial number:
Android os checks what applications have intent to use an accessory that matches that information. If it finds such application(s) it presents the choice to start a particular one (in case of multiple matches) or just starts the app.
The point is that an application developer has to have initial knowledge of an accessory that he want to be able to communicate with from his application.