Fresh news from Droid zone
Hello, you're reading Infinum Android Sweets, bringing you the latest Android related news straight to your inbox every week.
Coroutines on Android (part I): Getting the background
This is part of a multi-part series about using Coroutines on Android. This post focuses on how coroutines work and what problems they solve.
Read More
Articles
Deep dive on Layout Editor UX improvements for Android Studio 3.5.
In this and following posts I’m going to cover how the Service works, the common pitfalls about it, when it’s appropriate to use it, and examples of cases where you shouldn’t.
Android has supported fingerprint sensors since API 23 and we previously covered the APIs for handling user authentication on Styling Android. However the FingerprintManager class which those tutorials rely upon were deprecated in API 28 (Pie). In this series we’ll look at the new APIs which were introduced in Pie to replace this.
To determine if it made sense to adopt Kotlin for our Android monorepo, Uber's Mobile Engineering team measured Kotlin build performance at scale across a variety of project structures. 

Explore how to combine RxJava and LiveData with LiveDataReactiveStreams and why or why not you might want to do so.

Libraries
A library build on top of retrofit, for simple handling of authenticated requests.
Receive the activity result directly after the startActivityForResult with InlineActivityResult.

Videos/Podcasts
We talk to a few folks at Uber Engineering about their adoption of Kotlin in a non-conventional setting where they're using Buck. We also discuss some of the work they've been doing in terms of performance analysis with Kotlin and the differences with Java.
Your browser does not support theaudio element.DownloadIn this show, Donn and Kaushik talk to Don Turner about how to build high-performance audio apps on Android.We dive deep into history of audio on Android, some of the problems that the platform faced.
Class of the week
Provides the central interface between an application and Android's data backup infrastructure. An application that wishes to participate in the backup and restore mechanism will declare a subclass of BackupAgent, implement theonBackup() and onRestore() methods, and provide the name of its backup agent class in its AndroidManifest.xmlfile via the <application> tag's android:backupAgent attribute.
Beyond Android
Welcome to HSBC, the world’s seventh-largest bank! Of course, the page you’re reading isn’t actually hosted on hsbc.com; it’s hosted on jameshfisher.com. But when you visit this page on Chrome for mobile and scroll a little way, the page is able to display itself as hsbc.com - and worse, the page is able to jail you in this fake browser! In this post I show how the attack works,