Accessing ViewModel inside Views on Android

ViewModel Overview The ViewModel class is designed to store and manage UI-related data in a lifecycle conscious way. The ViewModel class allows data to survive configuration changes such as screen rotations. If you are building an app of considerable complexity, it is recommended to stick to the MVVM architecture. This…

A review of mobile development frameworks

I don't usually do these kinds of posts because each framework has its pros and its cons. What works great for one team might not work for the other and what works for one project might not work for another. I put this first for people who find this post…

Update Localization on Android at Runtime

Android will run on many devices in many regions. To reach the most users, your application should handle text, audio files, numbers, currency, and graphics in ways appropriate to the locales where your application will be used. The resource framework automatically selects the resources that best match the device. Such…

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…

Fast track Android app deployments with fastlane

If you have overseen the development for even a relatively active Android app, you might already know how often an app needs to be updated. Google has terrific support for building apps integrated right into Android Studio, but it still requires several manual steps to build and submit the app…

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…