The Busy Coder's Guide to Android Development - Version 8.6 by CommonsWare
The Busy Coder's Guide to Android Development for Android Studio 2.2, covering the Android SDK through 7.1.
Do you want current information about how to develop Android apps? This book covers the latest Android Studio version and the latest version of Android, plus all the information you need to get your apps working on older devices.
This book contains over 200 chapters, covering everything from the first steps in getting an app going to advanced development techniques.
The core chapters - representing ~900 pages - are set up as a typical programming guide, covering the basics of getting an Android app up and running. The book includes material on setting up your development tools, constructing a user interface, loading data from a local database or the Internet, handling the differences between phones and tablets, and much more.
The core chapters also include an integrated set of 18 tutorials, offering you step-by-step guides for creating an Android application from scratch. Hence, whether you "learn by reading" or "learn by doing", you have the material in the core chapters to accomplish your goal.
The rest of the book comprises the trails. These are linked sets of chapters covering advanced topics, organized by theme. However, while the core chapters are designed to be read in sequence, the trails are designed to be read on an as-needed basis, when you want to dive into those specific topics.