Media Store access using openFile() on Android 10

As of Android 10, things have changed slightly with how we access files that are contained outside of our application. This change of behaviour has come from the concept of scoped storage - which aims to improve the privacy of user files, adding more control to how files are accessed within the android system. Even … Continue reading Media Store access using openFile() on Android 10

Using Firebase on Android with Kotlin Coroutines

Whilst recently working on a side project I ran into a situation where I needed to make use of the Android Firebase SDKs. This project of mine uses Kotlin Coroutines for all of the asynchronous task handling, so ideally I wanted to keep any Firebase calls to use the same approach - not only so … Continue reading Using Firebase on Android with Kotlin Coroutines

Exploring View Binding on Android

When it comes to manipulating our user interfaces within Android applications, there are a couple of approaches that we can take. In these cases, we need to obtain a reference these views in-order to manipulate them in some way. For this, we'll either use findViewById(), followed by casting the view to the corresponding type. Or … Continue reading Exploring View Binding on Android

Performing OAuth on Android with Custom Tabs

Whether we're building third-party clients for existing API services, or working on our own product that communicates with our own API, it's likely that we might be working with authentication that uses a form of OAuth. This standard of authentication approach is something that we're bound to use at some point in our careers, but … Continue reading Performing OAuth on Android with Custom Tabs

Exploring App Actions on Android: What are App Actions?

At Google I/O 2018 we were introduced to App Actions, but it was only at I/O this year that we were given the ability to hook into this functionality within our own apps. In this first part of articles focused on App Actions I want to take a quick look into exactly what they are, … Continue reading Exploring App Actions on Android: What are App Actions?