Wednesday, October 10, 2018

A Novel Universal Music Player

Posted yesteryear Nicole Borrelli, Android Developer, Programs Engineer

 Screenshot of UAMP v2's UI showing a duo of albums

The Universal Android Music Player (or "UAMP") is a favorite on GitHub for music app developers alongside over 9,500 stars in addition to 3,000 forks. Since UAMP was start released, Android evolution has changed significantly. ExoPlayer has improved, Architecture Components were introduced, in addition to Kotlin became a fantabulous linguistic communication for Android developers.

We decided that the best means to integrate the modern features for our dearest music app would last to re-write UAMP.

UAMP v2 was built from the dry reason upwardly inwards Kotlin. The UI is built only about ViewModels in addition to LiveData. Playback, in addition to especially integration alongside MediaSessionCompat, was vastly simplified yesteryear utilizing the MediaSession extension of ExoPlayer.

We too added a bunch of novel songs yesteryear The Kyoto Connection in addition to Kai Engel.

There are some features from UAMP v1 that haven't been integrated into the novel code yet. The missing features include Android TV alongside the Leanback library in addition to remote playback via Google Cast. Even though these features aren't nonetheless included inwards v2, nosotros wanted to demo y'all the novel updates equally shortly equally possible. The former code volition choke on to last available inwards the v1 branch on GitHub, in addition to then delight cause got a await in that place to encounter how to role those features inwards a music app.

We would love your feedback on which features to add together next. We are considering offline playback, improving the integration alongside Android Auto, in addition to using the upcoming Navigation components of Jetpack for the UI. We'll last creating GitHub issues for features in addition to improvements to aid y'all permit us know what is nearly of import to you. Go vote on these features to permit us know where nosotros should focus our efforts.

We'd too similar to invite y'all to opened upwardly line requests for põrnikas fixes in addition to features that are missing. See the contributions process for to a greater extent than information.

Grab the code from GitHub!

Related Post

A Novel Universal Music Player
4/ 5
Oleh