Chapter     1

Before You Start

In late 2011 as I got more into Android development, I tried to look for a book that I hoped would take my development to the next level. I’d already completed a couple of apps and wanted to know what everyone else was doing that I might have missed. Sure, there was a wealth of Android documentation from Google, but the Android docs had some odd recommendations; they suggest using jUnit3 for my unit testing, which felt like going backwards. I already knew there were existing jUnit4 testing frameworks for Android, such as Roboelectric, so maybe there were other cool things out there that I’d missed that I simply didn’t know about that could really help me write better code.

This book is an attempt to pull together ...

Get Android Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.