Using the Android Developer Documentation

Android Lint errors will tell you what API level your incompatible code is from. But you can also find out which API level particular classes and functions belong to in Android’s developer documentation.

It is a good idea to get comfortable using the developer documentation right away. There is far too much in the Android SDKs to keep in your head. And with new versions appearing regularly, you will often need to find out what is new and how to use it.

The main page of the documentation is developer.android.com. It is split into seven parts: Platform, Android Studio, Google Play, Jetpack, Kotlin, Docs, and Games. It is all worth perusing when you get a chance. Each section outlines a different ...

Get Android Programming: The Big Nerd Ranch Guide, 5th Edition 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.