Xavier Ducrohet | e98f22d | 2011-09-16 12:39:58 -0700 | [diff] [blame] | 1 | Support Libraries for Android. |
Xavier Ducrohet | 62df672 | 2011-02-28 12:24:36 -0800 | [diff] [blame] | 2 | |
| 3 | This SDK component contains static libraries providing access to newer APIs |
Xavier Ducrohet | e98f22d | 2011-09-16 12:39:58 -0700 | [diff] [blame] | 4 | on older platforms and various helper classes. |
| 5 | |
| 6 | To use those libraries, simply copy them as static libraries into your project. |
Xavier Ducrohet | 62df672 | 2011-02-28 12:24:36 -0800 | [diff] [blame] | 7 | |
Xavier Ducrohet | 80f8442 | 2011-06-06 17:39:44 -0700 | [diff] [blame] | 8 | Each library is called v<api>, indicating the minimum API level that they require. |
| 9 | |
| 10 | |
| 11 | *** V4 *** |
Xavier Ducrohet | 62df672 | 2011-02-28 12:24:36 -0800 | [diff] [blame] | 12 | |
| 13 | v4/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 | |
| 19 | v4/src/ is the source code for the compatibility library |
Xavier Ducrohet | 80f8442 | 2011-06-06 17:39:44 -0700 | [diff] [blame] | 20 | v4/samples/ provides a sample app using the library. |
| 21 | |
| 22 | |
| 23 | *** V13 *** |
| 24 | |
Xavier Ducrohet | e98f22d | 2011-09-16 12:39:58 -0700 | [diff] [blame] | 25 | v13/android-support-v13.jar provides the same features as v4, plus: |
Xavier Ducrohet | 80f8442 | 2011-06-06 17:39:44 -0700 | [diff] [blame] | 26 | - FragmentPagerAdapter: Implementation of PagerAdapter that represents each page as a Fragment. |
| 27 | |
| 28 | v13/src/ is the source code for the compatibility library, not including the v4 source |
| 29 | v13/samples/ provides a sample app using the library. |