Google recently released a new barebones application that’s meant to show developers a reference to how easy it can be to develop an Android application that can run on any machine built for Google’s operating system, whether it’s a wearable on your wrist or an entertainment system in your car.
It’s called the “Universal Music Player,” and the code is available for developers. It’s not made for consumers, but the idea behind it is actually pretty cool. It’s a single reference application that can run on anything powered by Android, including smartphones and tablets, Android Wear, Google Cast devices, Android Auto and more.
A blog post revealing the application shows how a user might control music from the lockscreen or through the app on his or her Android smartphone, and how those controls translate easily over to Android Auto and Android Wear, with little additional effort on the development end.
“This sample uses a number of new features in Android 5.0 Lollipop, like MediaStyle notifications, MediaSession and MediaBrowserService,” Google explained. “They make it easy to implement media browsing and playback on multiple devices with a single version of your app.” Google published the source code on GitHub, which we’ve provided a link to in the source below. Now go forth, developers, and build great things.
Source: Google, GitHub
from TechnoBuffalo http://ift.tt/1EjBgpO
تعليقات
إرسال تعليق