Google releases reference sample for multi device app

Google has released reference sample for multi device app. The sample is a multi-device application called Universal Music Player that offers a continuous experience across Android, Android Wear, Android Auto, and Google Cast devices.


“It is now possible to bring the benefits of your app to your users wherever they happen to be, no matter what device they have near them. Today we’re releasing a reference sample that shows how to implement such a service with an app that works across multiple Android form-factors.

posted by Renato Mangini, Senior Developer Platform Engineer, Google Developer Platform Team in a blog.

The app combines a number of different features from Android 5.0 Lollipop and will show developers the recommended way to build their apps for Wear, Auto and Google Cast devices. It shows developers how to implement features such as putting playback controls and album art on the lock screen and controlling playback through Android Auto and Android Wear.

The sample uses features such as MediaStyle notifications, MediaSession, and MediaBrowserService. These features are what allows content to be spread from device to device.

Author: Sneha Bokil

Sneha Bokil is a tech enthusiast and is currently using OnePlus 3T but she still treasures her Nokia N70 (M). You can follow her on Twitter @snehabokil and on Google+