Audio Processing on Android using TarsosDSP

TarsosDSP is a Java library for audio processing. Its aim is to provide an easy-to-use interface to practical music processing algorithms. It comes prebuilt for Android in form of a jar that can be just dragged into any Android project to get going. This post will touch some basics of…

Handling Local Music Playlists

This is the final of the 6 post series where we built a music player app from scratch. A quick recap of what we have done so far. We learned the basics of playing music using Media Player on Android. The Media Player is implemented in a Service so we…

Creating a global toolbar (mini music player) on Android

Although this post is self-contained, you might be interested in reading the complete series on creating a music player for Android. First let's start with a description of what we want to achieve with this mini player. It should be simple enough to be embedded in all activities when the…

Android Music Player Controls on Lock Screen and Notifications

If you are just starting out, I recommend reading the first (basics about Media playback on Android) and second (Creating a Service to Play Music in the background) parts before proceeding. This post will discuss how to show Media Player controls on the lock screen and the notifications. Managing a…

Playing music in the background on Android

If you haven't read the first part, read it first to learn the basics about Media playback on Android. Playing music in the background If you want your media to play in the background while the user is interacting with other applications, then you must start a Service and control…

Why I use Kotlin for Android

Kotlin is a statically typed language developed by JetBrains that targets the JVM. If you have worked with Java before, you know how verbose it could be. When Apple released Swift, developers rejoiced for a better alternative to Objective C. Kotlin could be that alternative for Android developers working with…