how to get the android extra support jar

 有一些复杂的UI  如果自己实现的话很困难 后来谷歌自己封装好了. 加了进去可以直接调用 比如说viewpager 等等...

直接取JAR路徑:

D:\android-sdk-r10-wondows\extras\android\compatibility

目前有android-support-v4.jar 和 android-support-v13.jar兩個

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值