Files
android_development/sdk/compatibility_README.txt
Xavier Ducrohet 62df672f5d Package compatibility component.
Change-Id: I4324df1814ae9450b254b22c7bd1b28e4826a29b
2011-02-28 15:57:39 -08:00

16 lines
861 B
Plaintext

Compatibility Libraries for Android.
This SDK component contains static libraries providing access to newer APIs
on older platforms. To use those libraries, simply copy them as static libraries
into your project.
"v4" provides support for using new APIs on Android API 4 (1.6 - Donut) and above.
v4/android-support-v4.jar contains:
- Fragment API. New in API 11 (3.0 - Honeycomb). http://developer.android.com/reference/android/app/Fragment.html
- Loader API. New in API 11 (3.0 - Honeycomb). http://developer.android.com/reference/android/app/LoaderManager.html
- CursorAdapter / ResourceCursorAdapter / SimpleCursorAdapter. These are the API 11 versions.
- MenuCompat allows calling MenuItem.setShowAsAction which only exists on API 11.
v4/src/ is the source code for the compatibility library
v4/samples/ provides a version of ApiDemos using the library.