Announcements

Help Wizard

Step 1

NEXT STEP

Feature request: Media Router API of JellyBean

Feature request: Media Router API of JellyBean

The new Android 4.1 JellyBean has a new API/Button called Media Router. 

What it's doing?

If you're connected to a Bluetooth Speaker or Headset you have a button within your app to quickly change between playback via Bluetooth or playback directly through the device speaker. This feature is just a single button but so awesome because you don't longer need to disable bluetooth or disconnect it when you just want to switch to the device speaker for a moment.

 

Google has intergrated it in their new JellyBean Play Music and Youtube app.

More about it on the developer page:

The new APIs MediaRouter, MediaRouteActionProvider, and MediaRouteButton provide standard mechanisms and UI forchoosing where to play media. Support is built-in for wired headsets and a2dp bluetooth headsets and speakers, and you can add your own routing options within your own app.

 

http://developer.android.com/about/versions/jelly-bean.html

 

Reply
2 Replies

Hi Leif,

 

Do you know of any additional developer docs that identify how to use these APIs to detect these devices?  So far I've only been able to use MediaRouter API to detect Chromecast devices.

 

Suggested posts