The Android Support Library is a codebase provided by Google in the form of a jar package that contains backward-compatible framework APIs and some feature that are only available in this library.
The support library's jar file name has a version information that indicates which version is compatible with the next, such as the Android-support-v4.jar description backwards compatible to level 4 (Android 1.6), i.e. if you are on Android 4.2 Platform Development app is using this jar package, then this app can also run in the version after 1.6.
Here you can check the changes in each support library version: Http://developer.android.com/tools/support-library/index.html#revisions
Depending on your needs, you can decide which versions of the library to include.
The V4 Support Library is a version with the most APIs and covers many aspects, so the V4 version is recommended, and it contains:
Fragment
Notificationcompat
Localbroadcastmanager
Viewpager
Pagertitlestrip: This is used in Viewpager, on the top or bottom, where the text shows what the current page is, what the previous one is, and what the latter one is. For example, the pink bar below shows the name of the current page and the last name of the previous one. This component is non-interactive and cannot be clicked.
Pagertabstrip: This is similar to the above, but it can be interactive and can be clicked to toggle pager.
Drawerlayout: For navigation Drawer.
Slidingpanelayout: This is similar to Drawerlayout and uses the same.
Loader:
Fileprovider:
V7 Libraries contains multiple library
V7 AppCompat Library, this LIB relies on the V4 support library because it contains the action bar so it is also recommended.
ActionBar:
Actionbaractivity: For use with Actionbar in V7, as the parent of other activity
Shareactionprovider:
V7 GridLayout Library
V7 Mediarouter Library
V8 Support Library
Renderscript: For compute-intensive tasks that can be processed in parallel, such as processing, and so on.
How to use the support library in your project
Download the support library using SDK Manager and drag it to the bottom of the Extras category in SDK Manager to download the Android support library using eclipse if you are using Android Studio, download Android support Repository.
After the download is complete, put it under the directory of the Android SDK extras/android/support/
Some lib include the compiled class also contains some resource (such as V7 AppCompat, V7 GridLayout), some do not include resource, in the use of these two types of Lib method is not the same.
using the Support library without resource:
Create a Libs folder in the root directory of project and copy the downloaded jar package to this location.
Right-click this file in Eclipse and choose Build Path-->add to build Path
Using the Support Library with resource:
Reference Http://developer.android.com/tools/support-library/setup.html#add-library
In addition, the support library is used to modify the minsdkversion in manifest based on the version number of the support library.
How to use the Support library "go" in your project