http://developer.android.com/sdk/compatibility-library.html
SDK Manager中下载 Extras/Android Support package
下载玩后在android-sdk-windows\extras\android\support目录
使用时将android-support-v4.jar导入项目,可以在低版本SDK中支持Fragment API
介绍:
Support Libraries for Android.
This SDK component contains static libraries providing access to newer APIs
on older platforms and various helper classes.
To use those libraries, simply copy them as static libraries into your project.
Each library is called v<api>, indicating the minimum API level that they require.
*** V4 ***
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 sample app using the library.
*** V13 ***
v13/android-support-v13.jar provides the same features as v4, plus:
- FragmentPagerAdapter: Implementation of PagerAdapter that represents each page as a Fragment.
v13/src/ is the source code for the compatibility library, not including the v4 source
v13/samples/ provides a sample app using the library.
分享到:
相关推荐
此外,`android.support.v7.app`包中的`AlertDialog`、`DatePickerDialog`和`TimePickerDialog`等对话框,以及`NotificationCompat`类,提供了对早期Android版本的通知兼容性,使得开发者可以创建与最新API级别设备...
当创建新的Android工程时,如果缺少“android-support-v7-appcompat”库,可能会出现编译错误,提示找不到相关包,比如“android.support.v7.app.ActionBar”或“android.support.v7.widget.Toolbar”。这是因为这些...
3. 在项目构建路径中,右键选择“Build Path” -> "Configure Build Path" -> "Libraries",然后点击“Add Jars”,将support-v7-appcompat.jar添加进去。 4. 配置项目的AndroidManifest.xml文件,确保应用主题继承...
RecyclerView是一个用于显示列表数据的视图容器,由Google在Android Support Library v7包中提供。它引入了ItemDecoration和ItemAnimator,使得列表的动画效果和布局管理更加灵活,提升了用户体验。 2. **v7-...
17)..Added: Support for relative file paths and environment variables for events and various module paths 18)..Added: Logging in Manage tool 19)..Added: Windows 10 version detection 20)..Added: Stack ...
compile 'com.android.support:appcompat-v7:25.0.1' compile 'com.android.support:design:25.0.1' compile 'com.squareup.retrofit2:retrofit:2.0.2' compile 'com.squareup.okhttp3:okhttp:3.4.1' compile 'io....
Automatic gzip response decoding support for super-fast requests Optional built-in response parsing into JSON (JsonHttpResponseHandler) Optional persistent cookie store, saves cookies into your app's ...
Guava: Google Core Libraries for Java Guava is a set of core libraries that includes new ...If you need support for JDK 1.7 or Android, use the Android flavor. You can find the Android Guava so
你可以访问[Google Maven仓库](https://maven.google.com/web/index.html)或[Android开发者文档](https://developer.android.com/topic/libraries/support-library/revisions)查找最新的稳定版本。例如,如果当前...
Advanced Gradle for Android Tips Testing with JUnit4 Testing with UI Automator Measuring Test Coverage Unit Testing MonkeyRunner and the Test Monkey Notifications Advanced Notifications Introducing ...
最近需要用到design支持库,可是网上好难找,然后别人给了一个包,这是Android design 23.1.1 最新支持库
Originally only for Google Pixel/Nexus/AOSP standard boot.img files, built-in support has now expanded to Android Verified Boot (AVBv1)/ChromeOS/SignBlob signed boot.img files, Barnes & Noble Nook ...
3. **项目依赖的Android库没有被正确引用**:在项目中,需要引用的Android库(如android.jar)可能没有被正确地添加到项目的构建路径中。 4. **Eclipse插件或配置文件损坏**:Eclipse的ADT(Android Development ...
RxJava binding APIs for Android UI widgets from the platform and support libraries. Download Platform bindings: compile 'com.jakewharton.rxbinding2:rxbinding:2.0.0' 'support-v4' library bindings: ...
Easily integrate services and data from Office 365 into native Android apps using these Android/Java libraries. :exclamation:NOTE: You are free to use this code and library according to the terms ...
**Android Support Library v4详解** Android Support Library v4是一个重要的组件,它为Android应用程序提供了向后兼容的功能。这个库使得开发者能够使用最新的API特性,即使目标设备运行的是较旧的操作系统版本。...
mobile, and desktop) who are interested in building new wearable apps, and mobile developers who already have apps on iTunes or Google Play Store and are looking to provide Android Wear support for ...
In conclusion, **OpenGL ES 2 for Android: A Quick-Start Guide** by Kevin Brothaler is an invaluable resource for developers looking to explore the world of graphics programming on Android. Its ...