A collection of scripts to allow a Raspberry Pi running a Raspbian-like OS to stream audio and control media from of Android 4.x device over USB.
- Credit to Jacek Fedoryński's blog post for the basics on AOA 2.0 audio communications with Raspberry Pi.
- Raspbian-based OS
- pulseaudio
- pyusb
- write proper installation instructions
- write installer script that will just do it for you
- write update instructions
- format this document more nicely
- clone this code so that it resides in
~/android-usb-pi/
- dock.rules goes into your
/etc/udev/rules.d/
- create a named pipe at
~/android-usb-pi/android_control_pipe
- customize your pulseaudio setup if you have to, defaults should work.
Just plug in your android device, wait a few seconds, and trying playing some audio on it.
To control audio, send to the named pipe the following:
- a for previous track
- s for play/pause
- d for next track