diff --git a/docs/html/sdk/compatibility-library.jd b/docs/html/sdk/compatibility-library.jd index 0ef5770828dfe..df715520daa86 100644 --- a/docs/html/sdk/compatibility-library.jd +++ b/docs/html/sdk/compatibility-library.jd @@ -4,7 +4,7 @@ page.title=Support Package
Note: The Support Package includes more than one support library. Each one has a different minimum API level. For example, one library requires API -level 4 or higher, while another requires API level 13 or higher (v13 is a superset of v4 and includes additional +level 4 or higher, while another requires API level 13 or higher (v13 is a superset of v4 and +includes additional support classes to work with v13 APIs). The minimum version is indicated by the directory name, such as {@code v4/} and {@code v13/}.
@@ -54,7 +55,9 @@ the Support Package, as denoted by revision number.Note: Reference for support library APIs are now available with + the framework references, for example: {@link android.support.v4.app}.
+AccessibilityDelegateCompat to support
- {@link android.view.View.AccessibilityDelegate}.AccessibilityEventCompat to support
- {@link android.view.accessibility.AccessibilityEvent}.AccessibilityManagerCompat to support
- {@link android.view.accessibility.AccessibilityManager}.AccessibilityNodeInfoCompat to support
- {@link android.view.accessibility.AccessibilityNodeInfo}.AccessibilityRecordCompat to support
- {@link android.view.accessibility.AccessibilityRecord}.AccessibilityServiceInfoCompat to support
- {@link android.accessibilityservice.AccessibilityServiceInfo}.ViewGroupCompat
+ ViewCompat
+ ViewPager:
+ EdgeEffectCompat to
support {@link android.widget.EdgeEffect}.LocalBroadcastManager to allow applications to easily
register for and receive intents within a single application without
broadcasting them globally.Initial release with the v4 library.
From Eclipse, you can select Window > Android SDK and AVD Manager. Or, launch {@code SDK Manager.exe} from the {@code <sdk>/} directory (on Windows only) or {@code android} from the {@code @@ -328,7 +332,7 @@ libs/} directory.
For example, the library that supports API level 4 and up is located at {@code <sdk>/extras/android/support/v4/android-support-v4.jar}.
In Eclipse, right-click the JAR file in the Package Explorer, select Build Path > Add to Build Path.
Tip: To see the library APIs in action, take a look at the sample -apps in {@code extras/android/support/<version>/samples/}.
+apps in {@code <sdk>/extras/android/support/<version>/samples/}.Warning: Be certain that you not confuse the standard {@code android} packages with those in {@code android.support} library. Some code completion tools @@ -377,17 +381,20 @@ differences, however. Most notably:
public boolean onCreateOptionsMenu(Menu menu) {
@@ -397,16 +404,19 @@ public boolean onCreateOptionsMenu(Menu menu) {
return true;
}
+Also see the Action Bar +Compatibility sample for a demonstration of how to use {@link android.app.ActionBar} on Android +3.0+ and also support action bar functionality on older versions.
Tip: To enable the Holographic theme on devices running Android 3.0 or higher, declare in your manifest file that your application targets -API level 11. For example:
+API level 11, for example:<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="11" />-
This way, your application automatically receives the Holographic theme and the Action Bar for +
This way, your application automatically receives the Holographic theme and the Action Bar for each activity when running on Android 3.0 and higher.
The libraries currently do not provide reference documentation for the included APIs. To generate -your own set using the {@code javadoc} tool, perform the following from a command (as appropriate -for the library version you're using). In this example, documentation is generated for the v4 -library:
+The reference documentation for the Support Packages is included as part of the Android +online developer documentation:
--cd <sdk>/extras/android/support/v4/ -mkdir docs -javadoc -sourcepath src/java/ -subpackages android.support.v4 -d docs --
Open the {@code docs/index.html} file to begin browsing the generated documentation.
+If you want to see some code that uses the support libraries, samples are included with the -Support Package, inside each support library directory. For example, at {@code -extras/android/support/v4/samples/}.
+Support Package, inside each support library directory, for example; {@code +<sdk>/extras/android/support/v4/samples/}. You can also view these samples as part of the +Android online developer documentation: + +Additionally, the Google I/O App is a complete application that uses the v4 support library to provide a single APK for both handsets and tablets and also demonstrates some of Android's best practices in Android UI design.
- - - - diff --git a/docs/html/sdk/tools-notes.jd b/docs/html/sdk/tools-notes.jd index b1f4d0739841d..91bcb7d2c33e7 100644 --- a/docs/html/sdk/tools-notes.jd +++ b/docs/html/sdk/tools-notes.jd @@ -94,7 +94,7 @@ padding: .25em 1em;id) and no longer
run once for each library project.