• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

development


Commit MetaInfo

修订版80f844229137cb0d78689ea61aea37da4c770c8c (tree)
时间2011-06-07 11:21:45
作者Xavier Ducrohet <xav@andr...>
CommiterXavier Ducrohet

Log Message

Add v13 to the compatibility package.

Also remove ApiDemos from the package and instead
add each library-specific sample app to each v##
folder.

Change-Id: I2932bbb91c7122c122973902d1fcd159ca899381

更改概述

差异

--- a/build/Android.mk
+++ b/build/Android.mk
@@ -75,3 +75,13 @@ $(android-support-v4_full_target): $(android-support-v4_build_module)
7575 $(hide)$(ACP) $< $@
7676
7777 ALL_SDK_FILES += $(android-support-v4_full_target)
78+
79+android-support-v13_build_module := $(TARGET_OUT_COMMON_INTERMEDIATES)/JAVA_LIBRARIES/android-support-v13_intermediates/javalib.jar
80+android-support-v13_intermediates := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/android-support-v13_intermediates
81+android-support-v13_full_target := $(android-support-v13_intermediates)/android-support-v13.jar
82+$(android-support-v13_full_target): $(android-support-v13_build_module)
83+ @echo Package android-support-v13.jar: $@
84+ $(hide)mkdir -p $(dir $@)
85+ $(hide)$(ACP) $< $@
86+
87+ALL_SDK_FILES += $(android-support-v13_full_target)
--- a/build/sdk.atree
+++ b/build/sdk.atree
@@ -154,7 +154,6 @@ development/samples/source.properties samples/${PLATFORM_NAME}/source.pro
154154 development/samples/AccessibilityService samples/${PLATFORM_NAME}/AccessibilityService
155155 development/samples/AccelerometerPlay samples/${PLATFORM_NAME}/AccelerometerPlay
156156 development/samples/ApiDemos samples/${PLATFORM_NAME}/ApiDemos
157-${OUT_DIR}/target/common/obj/PACKAGING/android-support-v4_intermediates/android-support-v4.jar samples/${PLATFORM_NAME}/ApiDemos/libs/android-support-v4.jar
158157 development/samples/BackupRestore samples/${PLATFORM_NAME}/BackupRestore
159158 development/samples/BasicGLSurfaceView samples/${PLATFORM_NAME}/BasicGLSurfaceView
160159 development/samples/BluetoothChat samples/${PLATFORM_NAME}/BluetoothChat
@@ -210,4 +209,7 @@ development/sdk/compatibility_README.txt
210209 sdk/files/sdk_files_NOTICE.txt extras/android/compatibility/NOTICE.txt
211210 ${OUT_DIR}/target/common/obj/PACKAGING/android-support-v4_intermediates/android-support-v4.jar extras/android/compatibility/v4/android-support-v4.jar
212211 frameworks/support/v4 extras/android/compatibility/v4/src
213-development/samples/ApiDemos extras/android/compatibility/v4/samples/ApiDemos
212+development/samples/Support4Demos extras/android/compatibility/v4/samples/Support4Demos
213+${OUT_DIR}/target/common/obj/PACKAGING/android-support-v13_intermediates/android-support-v13.jar extras/android/compatibility/v13/android-support-v13.jar
214+frameworks/support/v13 extras/android/compatibility/v13/src
215+development/samples/Support13Demos extras/android/compatibility/v13/samples/Support13Demos
--- a/sdk/compatibility_README.txt
+++ b/sdk/compatibility_README.txt
@@ -4,7 +4,10 @@ This SDK component contains static libraries providing access to newer APIs
44 on older platforms. To use those libraries, simply copy them as static libraries
55 into your project.
66
7-"v4" provides support for using new APIs on Android API 4 (1.6 - Donut) and above.
7+Each library is called v<api>, indicating the minimum API level that they require.
8+
9+
10+*** V4 ***
811
912 v4/android-support-v4.jar contains:
1013 - Fragment API. New in API 11 (3.0 - Honeycomb). http://developer.android.com/reference/android/app/Fragment.html
@@ -13,4 +16,13 @@ v4/android-support-v4.jar contains:
1316 - MenuCompat allows calling MenuItem.setShowAsAction which only exists on API 11.
1417
1518 v4/src/ is the source code for the compatibility library
16-v4/samples/ provides a version of ApiDemos using the library.
\ No newline at end of file
19+v4/samples/ provides a sample app using the library.
20+
21+
22+*** V13 ***
23+
24+Provides the same features as v4, plus:
25+- FragmentPagerAdapter: Implementation of PagerAdapter that represents each page as a Fragment.
26+
27+v13/src/ is the source code for the compatibility library, not including the v4 source
28+v13/samples/ provides a sample app using the library.