Keeping Android Secrets Secure with Fingerprint Authentication and the Keystore

I spoke at DevNexus 2017 about how to get cryptography right on Android, and how to work with the fingerprint API to ensure robust security is in place ,especially for apps that need to store authentication details (like an authentication token). title: Keeping Android Secrets Secure with Fingerprint Authentication and…

How to build a single-choice RecyclerView

In this article, i'll walk through one way to build a single-choice RecyclerView in Android. This will result in a general purpose RecyclerView-based component that mimics a typical "radio group" component you may be familiar with from html. This gives you a list of radiobuttons with one selection maximum. RadioAdapter.…

RxJava Koans - a Functional Reactive Programming learning tool

In my quest to attain an understanding of Functional Reactive Programming, especially as it relates to Java and android, i've started the rxjava-koans project. The project demonstrates how RxJava works with the goal of cultivating understanding through initially failing unit tests. Each file of the project shows a different principle…

Mocking Webservices with Robolectric & WireMock

At the Big Nerd Ranch, we create Android applications that talk to REST APIs (often written in-house by the Rails backend team). To build these projects with confidence, having tests that verify the interaction with the REST service are critical. I've blogged already about my recommended software test stack and…