blob: 7752b3b07e88531dbd91138876d052d0c3e928a6 [file] [log] [blame]
Xavier Ducrohet62df6722011-02-28 12:24:36 -08001Compatibility Libraries for Android.
2
3This SDK component contains static libraries providing access to newer APIs
4on older platforms. To use those libraries, simply copy them as static libraries
5into your project.
6
Xavier Ducrohet80f84422011-06-06 17:39:44 -07007Each library is called v<api>, indicating the minimum API level that they require.
8
9
10*** V4 ***
Xavier Ducrohet62df6722011-02-28 12:24:36 -080011
12v4/android-support-v4.jar contains:
13- Fragment API. New in API 11 (3.0 - Honeycomb). http://developer.android.com/reference/android/app/Fragment.html
14- Loader API. New in API 11 (3.0 - Honeycomb). http://developer.android.com/reference/android/app/LoaderManager.html
15- CursorAdapter / ResourceCursorAdapter / SimpleCursorAdapter. These are the API 11 versions.
16- MenuCompat allows calling MenuItem.setShowAsAction which only exists on API 11.
17
18v4/src/ is the source code for the compatibility library
Xavier Ducrohet80f84422011-06-06 17:39:44 -070019v4/samples/ provides a sample app using the library.
20
21
22*** V13 ***
23
24Provides the same features as v4, plus:
25- FragmentPagerAdapter: Implementation of PagerAdapter that represents each page as a Fragment.
26
27v13/src/ is the source code for the compatibility library, not including the v4 source
28v13/samples/ provides a sample app using the library.