Skip to content

Media sample app

The goal of this sample is to show how to implement an audio media app for Wear OS, using the Horologist media libraries, following the design principles described in Considerations for media apps .

The app supports listening to downloaded music. It loads a music catalog from a remote server and allows the user to browse the albums and songs. Tapping on a song will play it through connected speakers or headphones. Under the hood it uses Media3.

Features

The app showcases the implementation of the following features:

  • Media playback, restricted to paired Bluetooth devices
  • Launch of Bluetooth settings to connect devices for media playback
  • Volume control
  • Radial background based on media artwork color palette
  • Download media
  • API sync with WorkManager
  • Network rules
  • Splash screen
  • Marquee text for song titles
  • Tiles

This list is not exhaustive.

Audio

Music provided by the Free Music Archive.

Recordings provided by the Ambisonic Sound Library.