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