Google's Universal Music app helps developers produce one app that fits all Android form factors

4
Google's Universal Music app helps developers produce one app that fits all Android form factors
On Thursday, Google released a new reference app called Universal Music Player. The app is designed to work on multiple devices and form factors using one codebase. Developers can use this to help them design apps that will work on Android, Android Auto, Android Wear, and Google Cast devices. Think "one size fits all."

Using the MediaStyle notifications, MediaSession and the MediaBrowserService found in Android 5.0, the developer can provide users with an app that offers consistent performance on their Android powered phone, watch, tablet, car and television. By learning the tricks implemented by Google with Universal Music, a developer needs to make just a few adjustments to an app to have it ready to run on all form factors.

Obviously, this app can help Android developers save time and effort. Who wants to build a different app for each form factor? If you are an Android developer, click on the sourcelink below to get started.

Recommended For You

source: GitHub, AndroidDevelopers via AndroidandMe

Get Visible as low as $20/mo for 1 year. Limited time offer with code: FRESHSTART

$20 /mo
$25
$5 off (20%)
Offer Ends 6.1.2026 at 11.59pm ET. New members get $5/mo off the $25/mg Visible plan, $35/mo Visible+ plan, or $45/mo Visible+ Pro plan for the first 12 months. Promo code FRESHSTART required at checkout.
Buy at Visible
Recommended For You
COMMENTS (4)
Latest Discussions
by ECPirate37 • 1
by menooch18 • 2