From 9b447d122a2f0a4798f03749e9d93b9a58834fe3 Mon Sep 17 00:00:00 2001
From: Scott Main
Date: Fri, 7 Jan 2011 14:48:18 -0800
Subject: [PATCH] docs: catchup gingerbread to gingerbread-docs with misc
changes
Change-Id: Id5d38a6d97323e082535e433ab64e89e8bd3d021
---
docs/html/guide/developing/device.jd | 7 ++++---
docs/html/guide/guide_toc.cs | 6 +++---
docs/html/resources/resources_toc.cs | 6 ++++++
docs/html/resources/samples/index.jd | 7 +++++++
.../tutorials/views/hello-mapview.jd | 2 +-
docs/html/sdk/android-2.3-highlights.jd | 15 ++++++-------
docs/html/sdk/android-2.3.jd | 14 ++++++-------
docs/html/sdk/eclipse-adt.jd | 6 +++---
docs/html/sdk/index.jd | 20 +++++++++---------
docs/html/sdk/ndk/index.jd | 20 +++++++++---------
docs/html/sdk/sdk_toc.cs | 2 +-
docs/html/sdk/win-usb.jd | 21 ++++++++++++++++---
12 files changed, 78 insertions(+), 48 deletions(-)
diff --git a/docs/html/guide/developing/device.jd b/docs/html/guide/developing/device.jd
index a4cec6333032f..80a354f8aa749 100644
--- a/docs/html/guide/developing/device.jd
+++ b/docs/html/guide/developing/device.jd
@@ -38,10 +38,11 @@ you don't yet have a device, check with the service providers in your area to de
Android-powered devices are available.
If you want a SIM-unlocked phone, then you might consider either an Android Dev Phone or the
-Google Nexus One. Both are SIM-unlocked so that you can use them on any GSM network using a SIM
+Google Nexus S. These are SIM-unlocked so that you can use them on any GSM network using a SIM
card. The Android Dev Phones also feature an unlocked bootloader so you can install custom system
-images (great for developing and installing custom versions of the Android platform). To purchase a
-Nexus One, visit google.com/phone. To purchase an Android
+images (great for developing and installing custom versions of the Android platform). To find a
+a place you can purchase the Nexus S, visit google.com/phone. To purchase an Android
Dev Phone, see the Android Market site
(requires a developer account).
diff --git a/docs/html/guide/guide_toc.cs b/docs/html/guide/guide_toc.cs
index 52a7421507cec..416b431aef344 100644
--- a/docs/html/guide/guide_toc.cs
+++ b/docs/html/guide/guide_toc.cs
@@ -256,7 +256,7 @@
Device Administration
- new!
+
+ -
+ Accelerometer Play
+ new!
+ -
+ Accessibility Service
+ new!
-
API Demos
diff --git a/docs/html/resources/samples/index.jd b/docs/html/resources/samples/index.jd
index 57497289e9a4a..0572d00d6b36f 100644
--- a/docs/html/resources/samples/index.jd
+++ b/docs/html/resources/samples/index.jd
@@ -18,6 +18,13 @@ href="{@docRoot}resources/samples/get.html">Getting the Samples.
-->
+ - Accelerometer Play
+ - An example that demonstrates how to use accelerometer readings
+ in an application.
+
+ - Accessibility Service
+ - An example that demonstrates the use of accessibility APIs.
+
- API Demos
- A variety of small applications that demonstrate an extensive collection of
framework topics.
diff --git a/docs/html/resources/tutorials/views/hello-mapview.jd b/docs/html/resources/tutorials/views/hello-mapview.jd
index a3fa548e032b9..9ea635c017c55 100644
--- a/docs/html/resources/tutorials/views/hello-mapview.jd
+++ b/docs/html/resources/tutorials/views/hello-mapview.jd
@@ -223,7 +223,7 @@ protected boolean onTap(int index) {
OverlayItem item = mOverlays.get(index);
AlertDialog.Builder dialog = new AlertDialog.Builder(mContext);
dialog.setTitle(item.getTitle());
- dialog.setMessage(item.getSnippet())
+ dialog.setMessage(item.getSnippet());
dialog.show();
return true;
}
diff --git a/docs/html/sdk/android-2.3-highlights.jd b/docs/html/sdk/android-2.3-highlights.jd
index 1a603afb40c72..d8614d3afa52b 100644
--- a/docs/html/sdk/android-2.3-highlights.jd
+++ b/docs/html/sdk/android-2.3-highlights.jd
@@ -40,18 +40,18 @@ page.title=Android 2.3 Platform Highlights
The Android 2.3 platform introduces many new and exciting features for
-users and developers. This document provides a glimpse at some of the new user features
+users and developers. This document provides a glimpse at some of the new features
and technologies in Android 2.3. For detailed information about the new developer APIs, see the Android 2.3 version notes.
+href="android-2.3.html">Android 2.3 version notes.
- New User Features
@@ -251,7 +251,8 @@ application could use readings from a gyroscope and accelerometer on the device
to recognize complex user gestures and motions, such as tilt, spin, thrust, and
slice.
-Low-latency native
+
+Open API for native
audio
The platform provides a software implementation of
- Dalvik VM:
-- Concurrent Garbage Collector (target sub-3ms pauses)
+- Concurrent garbage collector (target sub-3ms pauses)
- Adds further JIT (code-generation) optimizations
- Improved code verification
- StrictMode debugging, for identifying performance and memory issues
@@ -438,5 +439,5 @@ open container format
For more information about the new developer APIs, see the Android 2.3 version notes and the Android 2.3 version notes and the API Differences Report.
diff --git a/docs/html/sdk/android-2.3.jd b/docs/html/sdk/android-2.3.jd
index c9d5c9b0b606c..bdf4968ec587a 100644
--- a/docs/html/sdk/android-2.3.jd
+++ b/docs/html/sdk/android-2.3.jd
@@ -225,7 +225,7 @@ gyroscope sensor. To do so, add <uses-feature
android:name="android.hardware.sensor.gyroscope"
android:required="true"> to the application manifest.
-For API details, see {@link android.hardware.Sensor}
+For API details, see {@link android.hardware.Sensor}.
Multiple cameras support
@@ -242,9 +242,9 @@ positional characteristics (orientation, front-facing or back-facing).
android.hardware.Camera#getCameraInfo(int,CameraInfo) getCameraInfo()} methods in the {@link
android.hardware.Camera} class let applications query for the cameras available
and open the camera that they need.
-New {@link android.media.CamcorderProfile get(int,int) method lets
-applications retrieve a CamcorderProfile for a specific camera.
-New {@link android media.CameraProfile#getJpegEncodingQualityParameter(int, int)
+New {@link android.media.CamcorderProfile#get get()} method lets
+applications retrieve a {@link android.media.CamcorderProfile} for a specific camera.
+New {@link android.media.CameraProfile#getJpegEncodingQualityParameter(int, int)
getJpegEncodingQualityParameter()} lets applications obtain the still-image
capture quality level for a specific camera.
@@ -389,19 +389,19 @@ security of Views that provide access to sensitive functionality. For example,
touch filtering is appropriate to ensure the security of user actions such as
granting a permission request, making a purchase, or clicking on an
advertisement. For details, see the View class
+href="{@docRoot}reference/android/view/View.html#Security">View class
documentation.
New filterTouchesWhenObscured attribute for view elements,
which declares whether to filter touches when the view's window is obscured by
another visible window. When set to "true", the view will not
receive touches whenever a toast, dialog or other window appears above the
view's window. Refer to View security
+href="{@docRoot}reference/android/view/View.html#Security">View security
documentation for details.
To look at sample code for touch filtering, see
-SurfaceView.java
+SecureView.java
in the ApiDemos sample application.
diff --git a/docs/html/sdk/eclipse-adt.jd b/docs/html/sdk/eclipse-adt.jd
index 0144eb4dd4966..0d1ea0c8c11dd 100644
--- a/docs/html/sdk/eclipse-adt.jd
+++ b/docs/html/sdk/eclipse-adt.jd
@@ -152,9 +152,9 @@ example, ADT 8.x is for SDK Tools r8.
"export signed/unsigned application package", ADT does not insert it.
If you manually set debuggable="true" in the manifest file, then release builds will
actually create a debug build (it does not remove it if you placed it there).
- Automatic Proguard support in
-release builds. For it to work, you need to have a proguard.config
- property in the default.properties file that points to a proguard config file.
+ Automatic ProGuard support in
+ release builds. For it to work, you need to have a proguard.config
+ property in the default.properties file that points to a ProGuard config file.
Completely rewritten Visual Layout Editor. (This is still a work in progress.) Now includes:
- Full drag and drop from palette to layout for all Layout classes.
diff --git a/docs/html/sdk/index.jd b/docs/html/sdk/index.jd
index 8b77303ecf4fb..40eab1c5760cc 100644
--- a/docs/html/sdk/index.jd
+++ b/docs/html/sdk/index.jd
@@ -2,20 +2,20 @@ page.title=Android SDK
sdk.redirect=0
sdk.win_installer=installer_r08-windows.exe
-sdk.win_installer_bytes=TODO
-sdk.win_installer_checksum=TODO
+sdk.win_installer_bytes=32746192
+sdk.win_installer_checksum=04ce87b10a8361a1f63cf2238bbc1ee3
sdk.win_download=android-sdk_r08-windows.zip
-sdk.win_bytes=TODO
-sdk.win_checksum=TODO
+sdk.win_bytes=32696391
+sdk.win_checksum=3e0b08ade5bfa9624bce9ddc164a48cb
-sdk.mac_download=android-sdk_r08-mac_x86.zip
-sdk.mac_bytes=TODO
-sdk.mac_checksum=TODO
+sdk.mac_download=android-sdk_r08-mac_86.zip
+sdk.mac_bytes=28797617
+sdk.mac_checksum=d2e392c4e4680cbf2dfd6dbf82b662c7
-sdk.linux_download=android-sdk_r08-linux_x86.tgz
-sdk.linux_bytes=TODO
-sdk.linux_checksum=TODO
+sdk.linux_download=android-sdk_r08-linux_86.tgz
+sdk.linux_bytes=26817291
+sdk.linux_checksum=3b626645b223d137d27beefbda0c94bc
@jd:body
diff --git a/docs/html/sdk/ndk/index.jd b/docs/html/sdk/ndk/index.jd
index 19f4d02720b7f..8b27f37dd623e 100644
--- a/docs/html/sdk/ndk/index.jd
+++ b/docs/html/sdk/ndk/index.jd
@@ -1,16 +1,16 @@
ndk=true
-ndk.win_download=android-ndk-r4b-windows.zip
-ndk.win_bytes=45792835
-ndk.win_checksum=e397145e155a639be53ee4b6db8ad511
+ndk.win_download=android-ndk-r5-windows.zip
+ndk.win_bytes=62217450
+ndk.win_checksum=59cbb02d91d74e9c5c7278d94c989e80
-ndk.mac_download=android-ndk-r4b-darwin-x86.zip
-ndk.mac_bytes=50586041
-ndk.mac_checksum=41dbd54335fb828ee408eab17103a1b0
+ndk.mac_download=android-ndk-r5-darwin-x86.tar.bz2
+ndk.mac_bytes=50210863
+ndk.mac_checksum=9dee8e4cb529a5619e9b8d1707478c32
-ndk.linux_download=android-ndk-r4b-linux-x86.zip
-ndk.linux_bytes=49464776
-ndk.linux_checksum=2deabcb125c219b34140975b710f00ec
+ndk.linux_download=android-ndk-r5-linux-x86.tar.bz2
+ndk.linux_bytes=44362746
+ndk.linux_checksum=49d5c35ec02bafc074842542c58b7eb3
page.title=Android NDK
@jd:body
@@ -64,7 +64,7 @@ padding: .25em 1em;
onclick="return toggleDiv(this)">
Android NDK, Revision 5 (November 2010)
+ width="9px" /> Android NDK, Revision 5 (December 2010)
This release of the NDK includes many new APIs, most of which are introduced to
diff --git a/docs/html/sdk/sdk_toc.cs b/docs/html/sdk/sdk_toc.cs
index 15ad005d42fb3..7e677e3c9cb1d 100644
--- a/docs/html/sdk/sdk_toc.cs
+++ b/docs/html/sdk/sdk_toc.cs
@@ -85,7 +85,7 @@
diff --git a/docs/html/sdk/win-usb.jd b/docs/html/sdk/win-usb.jd
index bb0dde64357a5..1f74ffed4861d 100644
--- a/docs/html/sdk/win-usb.jd
+++ b/docs/html/sdk/win-usb.jd
@@ -82,7 +82,21 @@ padding: .25em 1em;
+
+
+
+
USB Driver for Windows, Revision 3 (January 2010)
@@ -126,10 +140,11 @@ for the T-Mobile G1 and myTouch 3G (and similar devices).
Android-powered
devices:
- - T-Mobile G1* / ADP1
- - T-Mobile myTouch 3G* / Google Ion
+ - ADP1 / T-Mobile G1*
+ - ADP2 / Google Ion / T-Mobile myTouch 3G*
- Verizon Droid*
- Nexus One
+ - Nexus S
* Or similar hardware on other carriers
Any additional devices will require Windows drivers provided by