Learning Android™ Application Programming: A Hands-On Guide to Building Android Applications
by James Talbot, Justin McLean, Jorge Hernandez
Using the Android Support Library
The Android Support Library enables you to use some features released in later versions on the Android SDK on devices that are running an earlier version of the Android SDK. Three versions of the library exist—version 4, version 7 and version 13—and the version numbers correspond to the minimum version of Android that they require. Usually you would select version 4 to support the widest possible range of devices.
You may need to make some minor changes to your code to make use of the classes or features inside the library. You have been using the library all along, and it’s good practice to do so.
To use the Android Support Library, you add the library jar file. The simplest way is to right-click on your project, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access