From f86f0e68c63c10daf5e4cac0337553541be3c2c7 Mon Sep 17 00:00:00 2001 From: Joe Fernandez Date: Tue, 19 Jun 2012 09:54:07 -0700 Subject: [PATCH] docs: Android SDK r20 Release Notes - cherypick from dac-dev - Change-Id: I696dd125e04c8edb23ed88f8639af3b556c0b0e1 Change-Id: I37ac2387b1fcc6a321f5c8edc44abe834a01762d --- docs/html/sdk/index.jd | 24 ++-- docs/html/sdk/installing/installing-adt.jd | 8 +- docs/html/tools/extras/support-library.jd | 218 ++++++++++++++++++++--------- docs/html/tools/sdk/eclipse-adt.jd | 125 ++++++++++++++++- docs/html/tools/sdk/tools-notes.jd | 75 ++++++++++ 5 files changed, 366 insertions(+), 84 deletions(-) diff --git a/docs/html/sdk/index.jd b/docs/html/sdk/index.jd index e788ffeb9673..a20d0b145d0f 100644 --- a/docs/html/sdk/index.jd +++ b/docs/html/sdk/index.jd @@ -2,21 +2,21 @@ page.title=Android SDK header.hide=1 page.metaDescription=Download the official Android SDK to develop apps for Android-powered devices. -sdk.win_installer=installer_r18-windows.exe -sdk.win_installer_bytes=37456234 -sdk.win_installer_checksum=48b1fe7b431afe6b9c8a992bf75dd898 +sdk.win_installer=installer_r20-windows.exe +sdk.win_installer_bytes=70497095 +sdk.win_installer_checksum=0f25321554e2f88b247320d6a3bc1a7a -sdk.win_download=android-sdk_r18-windows.zip -sdk.win_bytes=37448775 -sdk.win_checksum=bfbfdf8b2d0fdecc2a621544d706fa98 +sdk.win_download=android-sdk_r20-windows.zip +sdk.win_bytes=90353014 +sdk.win_checksum=b62b0f80f559c0ac670e9f058a21f0df -sdk.mac_download=android-sdk_r18-macosx.zip -sdk.mac_bytes=33903758 -sdk.mac_checksum=8328e8a5531c9d6f6f1a0261cb97af36 +sdk.mac_download=android-sdk_r20-macosx.zip +sdk.mac_bytes=58203018 +sdk.mac_checksum=b6b6035ccec55ec2aa057438eb1db1f4 -sdk.linux_download=android-sdk_r18-linux.tgz -sdk.linux_bytes=29731463 -sdk.linux_checksum=6cd716d0e04624b865ffed3c25b3485c +sdk.linux_download=android-sdk_r20-linux.tgz +sdk.linux_bytes=82589455 +sdk.linux_checksum=22a81cf1d4a951c62f71a8758290e9bb @jd:body diff --git a/docs/html/sdk/installing/installing-adt.jd b/docs/html/sdk/installing/installing-adt.jd index 29252728d72d..0e53e7557d9b 100644 --- a/docs/html/sdk/installing/installing-adt.jd +++ b/docs/html/sdk/installing/installing-adt.jd @@ -1,9 +1,9 @@ page.title=Installing the Eclipse Plugin walkthru=1 -adt.zip.version=18.0.0 -adt.zip.download=ADT-18.0.0.zip -adt.zip.bytes=12834793 -adt.zip.checksum=b446fa157ed97af79d1e21629201efbb +adt.zip.version=20.0.0 +adt.zip.download=ADT-20.0.0.zip +adt.zip.bytes=12387628 +adt.zip.checksum=ea0fc934af3b6b89097f0146c7822ed0 @jd:body diff --git a/docs/html/tools/extras/support-library.jd b/docs/html/tools/extras/support-library.jd index 7258c773cfe9..869a15b5a270 100644 --- a/docs/html/tools/extras/support-library.jd +++ b/docs/html/tools/extras/support-library.jd @@ -46,14 +46,120 @@ by the directory name, such as {@code v4/} and {@code v13/}.

The sections below provide notes about successive releases of the Support Package, as denoted by revision number.

-
+ + + + +
+ + Support Package, revision 9 (June 2012) +
+
+
Changes for v4 support library:
+
+
    -

    - - Support Package, revision 8 (April 2012) -

    +
  • User Interface Support +
      +
    • Added {@link android.support.v4.view.PagerTabStrip} support, providing enhanced +functionality beyond {@link android.support.v4.view.PagerTitleStrip}.
    • +
    • Fixed various bugs for {@link android.support.v4.view.PagerTitleStrip} and +{@link android.support.v4.view.PagerTabStrip}, including {@link +android.widget.TextView#setAllCaps setAllCaps} option, title alignment, +appearance improvements, minimum width constraints and touch navigation issues.
    • +
    • Added support for {@link android.support.v4.view.ViewPager} page gutters, which +helps the {@link android.support.v4.view.ViewPager} class provide paging support for content with +a large horizontal scroll range, such as a map.
    • +
    • Fixed numerous bugs for {@link android.support.v4.view.ViewPager}, including size +and data set change problems, page positioning, user interaction, scroll tracking and keyboard +navigation problems.
    • +
    • Fixed many bugs for {@link android.support.v4.app.Fragment}, including proper +handling of {@link android.support.v4.app.Fragment#onActivityResult onActivityResult()} when +the target fragment no longer exists, dispatching selection events to invisible fragments, improved +{@link android.support.v4.app.FragmentTransaction#replace FragmentTransaction.replace()} behavior +and added better state handling for fragments being moved out of view.
    • +
    • Added support for the {@link +android.support.v4.view.ViewCompat postOnAnimation()} method in {@link +android.support.v4.view.ViewCompat}.
    • +
    • Updated {@link android.support.v4.app.NavUtils} to use Android 4.1 (API level 16) +Up navigation functionality when available.
    • +
    +
  • + +
  • Accessibility +
      +
    • Updated accessibility support classes, including {@link +android.support.v4.view.accessibility.AccessibilityNodeInfoCompat}, to follow fixes made in Android +4.1 (API level 16).
    • +
    • Added support for accessibility scroll actions in {@link +android.support.v4.view.ViewPager}.
    • +
    +
  • + +
  • General improvements +
      +
    • Updated {@link android.support.v4.app.TaskStackBuilder} to reflect API changes in +Android 4.1 (API level 16).
    • +
    • Enhanced {@link android.support.v4.app.TaskStackBuilder} to allow it to be used +from a Service.
    • +
    • Added support for {@link android.support.v4.content.IntentCompat EXTRA_HTML_TEXT} +to {@link android.support.v4.app.ShareCompat}.
    • +
    • Updated {@link android.support.v4.app.NotificationCompat.Builder} to support the +{@link android.support.v4.app.NotificationCompat.Builder#setNumber setNumber()} method.
    • +
    • Added support in {@link android.support.v4.net.ConnectivityManagerCompat} for the +{@link android.support.v4.net.ConnectivityManagerCompat#isActiveNetworkMetered +isActiveNetworkMetered()} method.
    • +
    +
  • +
+
+
+
+
-
+
+ + Support Package, revision 8 (April 2012) +
Changes for v4 support library:
@@ -67,16 +173,14 @@ the Support Package, as denoted by revision number.

+
-
- -

- - Support Package, revision 7 (March 2012) -

- -
+
+ + Support Package, revision 7 (March 2012) +
Changes for v4 support library:
@@ -98,15 +202,14 @@ for creating standardized system notifications.
+
-
- -

- - Support Package, revision 6 (December 2011) -

+
+ + Support Package, revision 6 (December 2011) +
-

Note: Reference for support library APIs are now available with the framework references, for example: {@link android.support.v4.app}.

@@ -151,15 +254,13 @@ for creating standardized system notifications.
+
-
- -

- - Support Package, revision 5 (December 2011) -

- -
+
+ + Support Package, revision 5 (December 2011) +
Changes for v4 support library:
@@ -211,15 +312,13 @@ for creating standardized system notifications.
+
-
- -

- - Support Package, revision 4 (October 2011) -

- -
+
+ + Support Package, revision 4 (October 2011) +
Changes for v4 support library:
@@ -253,20 +352,14 @@ for creating standardized system notifications.
- - -
-
- -

- - Compatibility Package, revision 3 (July 2011) -

- -
+
+ + Compatibility Package, revision 3 (July 2011) +
Changes for v4 support library:
@@ -309,18 +402,14 @@ Android 3.2 and higher (all other APIs in the v4 library are already available w
-
-
- -

- - Compatibility Package, revision 2 (May 2011) -

- -
+
+ + Compatibility Package, revision 2 (May 2011) +
Changes for v4 library:
@@ -332,21 +421,16 @@ Android 3.2 and higher (all other APIs in the v4 library are already available w
-
-
- -

- - Compatibility Package, revision 1 (March 2011) -

- -
+
+ + Compatibility Package, revision 1 (March 2011) +

Initial release with the v4 library.

-
diff --git a/docs/html/tools/sdk/eclipse-adt.jd b/docs/html/tools/sdk/eclipse-adt.jd index ac200b69789f..ae3eb05253d3 100644 --- a/docs/html/tools/sdk/eclipse-adt.jd +++ b/docs/html/tools/sdk/eclipse-adt.jd @@ -32,7 +32,8 @@ incredible boost in developing Android applications.

plugin and install it into your Eclipse development environment. Note that before you can install or use ADT, you must have compatible versions of both the Eclipse IDE and the Android SDK installed. For details, make sure to read Installing the ADT Plugin, below.

+href="{@docRoot}sdk/installing/installing-adt.html">Installing the Eclipse +Plugin.

If you are already using ADT, this document also provides instructions on how to update ADT to the latest version or how to uninstall it, if necessary. @@ -96,6 +97,128 @@ padding: 5px 0 0; +ADT 20.0.0 (June 2012) +

+
+
Dependencies:
+ +
+
    +
  • Java 1.6 or higher is required for ADT 20.0.0.
  • +
  • Eclipse Helios (Version 3.6.2) or higher is required for ADT 20.0.0.
  • +
  • ADT 20.0.0 is designed for use with SDK Tools + r20. If you haven't already installed SDK Tools r20 into your SDK, use the Android SDK + Manager to do so.
  • +
+
+ +
General improvements:
+
+
    +
  • Application Templates +
      +
    • Added Android application templates to allow developers to create specific types of +applications faster, using Android-recommended best practices.
    • +
    +
  • +
  • Performance +
      +
    • Improved overall ADT performance and fixed memory issues. Loading SDK data +should be up to 30% faster.
    • +
    +
  • +
  • Tracer for GLES +
      +
    • Added new perspective view and tools for tracing OpenGL calls for an application and +track the visual results of each call. (more info)
    • +
    +
  • +
  • Lint +
      +
    • Added new Lint rules for manifest registrations, duplicate activity +registrations, security checking, correct use of Toast, missing SharedPreferences commit() +calls, Fragment class instantiation, and handler leaks.
    • +
    • Created tighter integration of lint with the layout editor. (more info)
    • +
    • Added execution of Lint tool on save option for Java files. (more info)
    • +
    +
  • +
  • Layout Editor (more +info) +
      +
    • Added highlighting (in bold) for important attributes, inline preview of colors and +images, including the corresponding resource name.
    • +
    • Added display of default values, when available.
    • +
    • Added completion of resource values and enum and flag constants.
    • +
    • Added support for displaying advanced properties, and nested properties for better +categorization, for example, layout params are listed first as a single nested property.
    • +
    • Display Tooltips over the attribute names, not values, so they never obscure the value +column.
    • +
    • Provided checkbox support for boolean values.
    • +
    • Added support for switching between alphabetical and natural sort orders.
    • +
    • Improved layout editor tool's window management for more usable editing views.
    • +
    • Improved the layout editor's configuration chooser header user interface.
    • +
    +
  • +
  • XML Editing +
      +
    • Added go to declaration support for theme references (?android:attr, ?attr:).
    • +
    • Improved code completion in style definitions.
    • +
    • Improved code completion for the {@code minSdkVersion} and {@code targetSdkVersion} +attributes in manifest files so that version descriptions are displayed for each of the API +levels
    • +
    • Provided support for code completion of custom attributes for custom views, +including current edits to the style files.
    • +
    • Improved synchronization of text and graphic editors with the XML outline view, +including outline changes and display of current selection.
    • +
    +
  • +
  • Build System +
      +
    • Added automatic merging of library project manifest files into the including +project's manifest. Enable this feature with the {@code manifestmerger.enabled} property.
    • +
    • Added automatic ProGuard support for the {@code aapt -G} flag. This change causes +the build system to generate a temporary ProGuard keep-rules file containing classes that +are referenced from XML files (such as custom views) and pass this to ProGuard at shrink-time. This +can make the resulting APK much smaller when using just a small portion of a large library project +(such as the Android Support library), since the catch-all rules to keep all custom views from the +default ProGuard configuration file have also been removed.
    • +
    +
  • +
  • Added support building and debugging NDK-based Android projects.
  • + +
  • Added support to the Asset Studio Wizard for padding and turning off background +shapes.
  • +
  • Improved LogCat to allow developers to set colors for different priorities.
  • +
  • Improved app Run functionality to allow running on multiple devices with a single launch. +The target tab in the launch configuration dialog includes an option to allow launching on all +connected devices, with the option to further narrow the list to just physical devices or just +emulators. (This feature is available only for Run configurations, and not for Debug or JUnit +tests.)
  • +
      +
+ +
Bug fixes:
+
+
    +
  • Fixed a number of issues where Lint incorrectly reported code errors or failed to +flag code issues.
  • +
  • Fixed several bugs in the layout editor.
  • +
  • Fixed compatibility issues with Eclipse 4.x (Juno), including cut/copy/paste +functions.
  • +
+
+ +
+ +
+
+ +
+ + ADT 18.0.0 (April 2012)
diff --git a/docs/html/tools/sdk/tools-notes.jd b/docs/html/tools/sdk/tools-notes.jd index f08209b31f1c..5d9bb49af858 100644 --- a/docs/html/tools/sdk/tools-notes.jd +++ b/docs/html/tools/sdk/tools-notes.jd @@ -66,6 +66,81 @@ padding: 5px 0 0; + SDK Tools, Revision 20 (June 2012) + +
+
+
Dependencies:
+
+
    +
  • Android SDK Platform-tools revision 12 or later.
  • +
  • If you are developing in Eclipse with ADT, note that the SDK Tools r20 is designed for + use with ADT 20.0.0 and later. If you haven't already, we highly recommend updating your + ADT Plugin to 20.0.0.
  • +
  • If you are developing outside Eclipse, you must have + Apache Ant 1.8 or later.
  • +
+
+
General notes:
+
+
    +
  • Added new Device Monitor application, grouping Android debugging tools into a +single application, including ddms, traceview, hierarchyviewer and Tracer for GLES. (more info)
  • +
  • Added new System Trace new tool for tracing Android system activity. This tool allow you +to capture a slice of system activity, plus additional information tagged from the Settings +> Developer Options > Monitoring: Enable traces or with specific calls added to your +application code. (more info)
  • + +
  • Build System +
      +
    • Added automatic merging of library project manifest files into the including +project's manifest. Enable this feature with the {@code manifestmerger.enabled} property.
    • +
    • Added automatic ProGuard support for the {@code aapt -G} flag. This change causes +the build system to generate a temporary ProGuard keep-rules file containing classes that +are referenced from XML files (such as custom views) and pass this to ProGuard at shrink-time. This +can make the resulting APK much smaller when using just a small portion of a large library project +(such as the Android Support library), since the catch-all rules to keep all custom views from the +default ProGuard configuration file have also been removed.
    • +
    • Added two ProGuard configuration files for use in projects: {@code +proguard-android-optimize.txt} which enables optimizations and {@code proguard-android.txt} which +disables them.
    • +
    +
  • +
  • SDK Manager +
      +
    • Improved caching to reduce downloading of repository definitions.
    • +
    • Added Tools > Manage Add-on Sites option to allow deactivation of + third-party sites for improved performance (e.g., if one or more sites are temporarily slow to + load.)
    • +
    • Added settings for the SDK Manager download cache (SDK Manager > Tools > +Options).
    • +
    +
  • +
+
+
Bug fixes:
+
+
    +
  • Build +
      +
    • Fixed problem where test projects did not have access to the full classpath of tested +projects, including Library Projects and third-party jars.
    • +
    • Fixed deployment logic so that applications with embedded tests can now be deployed +and tested like test applications, including code coverage information.
    • +
    • Fixed Ant support for testing projects with libraries.
    • +
    +
  • +
+
+
+
+
+ +
+ + SDK Tools, Revision 19 (April 2012)
-- 2.11.0