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.
分享到:
相关推荐
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 ...
(http://developer.android.com/sdk/ndk/1.6_r1/index.html) for developing applications in Java and C/C++ as well as code samples. WARNING: Please refer to the Known Issues section at the end of this ...
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
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 最新支持库
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: ...
The First Practical, Hands-On Guide to Embedded System Programming for Android Today, embedded systems programming is a more valuable discipline than ever, driven by fast-growing, new fields such ...
Adding Logging Support to Your Android Application 83 Adding Some Media Support to Your Application 84 Adding Location-Based Services to Your Application 88 Debugging Your Application on Hardware 90 ...
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 ...
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 ...
5Go to your ADT Bundle folder, go to sdk/extras/android/support/v7/appcompat/libs.到你刚才放support的目录找到support/v7/appcompat/libs 6Select the file android-support-v7-appcompat.jar选择v7jar包 7Go ...
Animation examples for support.v4.Fragment transition. These animations do not depends on any external libraries. Usage Example In your Fragment, just code like this. @Override public Animation ...
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 ...
The book starts by introducing the Android development environment and exploring the support libraries. You will gradually explore the different design and layout patterns and get to know the best ...
Why Develop for Android? 9 What Will Drive Android Adoption? 10 What Does It Have That Others Don’t? 10 Changing the Mobile Development Landscape 11 Introducing the Development Framework 11 ...
sharedLibrary - Used to help support Android 5 shared library feature by automatically detecting shared libraries and using --shared-lib on [b]uild Examples of new usage in 2.0 vs 1.5.x Old (Apktool...
1.ViewPager说白了就是个控件,在使用时包名要带全是Android.support.v4.view.ViewPager。由于我的ADT-Bundle版本比较高,这个包默认自带了,且默认是随apk打包导出的。如下图: 如果在Android Private Libraries里...
frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/...