freezy / android-xbmcremote-sandbox

Playing with new features. See README.
57 stars 20 forks source link

Act on headset buttons, and broadcast "Now Playing" events #15

Open benjymous opened 12 years ago

benjymous commented 12 years ago

I'm developing a fork of the Android driver app for MetaWatch (metawatch.org) - something that would be really neat would be for the xbmc remote app to integrate with the watch (so that I could, for example, pause the current program directly from my watch - A remote for a remote!)

Basically all that would be required would be:

  1. Listen to the headset play/pause/skip intents and act accordingly
  2. Broadcast a "Now playing" intent the way music players do.

(1) would make the watch app's existing media controls "just work" - (2) would let me listen for those intents, and display the now playing info on the watch's screen.