Before the G1 was released and Android was only available via emulator, Jeffrey Sharkey reverse engineered DACP and created a really slick Android iTunes remote that functions just like the Remote app on the iPhone.
The Digital Audio Control Protocol (DACP) was recently introduced by Apple, and is built into all recent iTunesâ„¢ versions. DACP is the protocol used by the Remote app on the iPhone/iPod Touch to remote control your desktop or laptop iTunes player.
DACP is similar to the well-known DAAP, using Bonjour MDNS to find libraries, then using HTTP requests with binary responses to transfer data. After a few days in front of packet dumps, I have most of DACP decoded.
With the protocol now reverse engineered, I wrote an Android client in about a week. Now you can remote control your iTunes from your new Android phone when it arrives later this year. This works out of the box without installing any extra software on your PC or Mac.
If you’re a G1 owner, you can install this app to remotely control iTunes from your phone. If you’re a developer, it’s all open source, so look to this if you even need to create you own app that speaks DACP.