title: How to simulate hardware media control buttons on an Android emulator
body: <p>Android supports hardware play / pause buttons on headsets and attached devices.  I am trying to find a way to test support for those devices on an emulator.  The <a href="http://developer.android.com/training/managing-audio/volume-playback.html#PlaybackControls">Android documentation</a> talks about how to add support for hardware playback controls, but, unfortunately, I can't find documentation of how to emulate them.  Thanks!</p>