am 9b447d12: docs: catchup gingerbread to gingerbread-docs with misc changes

* commit '9b447d122a2f0a4798f03749e9d93b9a58834fe3':
  docs: catchup gingerbread to gingerbread-docs with misc changes
This commit is contained in:
Scott Main
2011-01-07 15:32:04 -08:00
committed by Android Git Automerger
12 changed files with 78 additions and 48 deletions

View File

@ -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.</p> Android-powered devices are available.</p>
<p>If you want a SIM-unlocked phone, then you might consider either an Android Dev Phone or the <p>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 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 images (great for developing and installing custom versions of the Android platform). To find a
Nexus One, visit <a href="http://www.google.com/phone">google.com/phone</a>. To purchase an Android a place you can purchase the Nexus S, visit <a
href="http://www.google.com/phone/detail/nexus-s">google.com/phone</a>. To purchase an Android
Dev Phone, see the <a href="http://market.android.com/publish">Android Market</a> site Dev Phone, see the <a href="http://market.android.com/publish">Android Market</a> site
(requires a developer account).</p> (requires a developer account).</p>

View File

@ -256,7 +256,7 @@
</li> </li>
<li><a href="<?cs var:toroot?>guide/topics/admin/device-admin.html"> <li><a href="<?cs var:toroot?>guide/topics/admin/device-admin.html">
<span class="en">Device Administration</span> <span class="en">Device Administration</span>
</a> <span class="new">new!</span> </a>
</li> </li>
<li class="toggle-list"> <li class="toggle-list">
<div> <div>
@ -403,7 +403,7 @@
</li> </li>
</ul> </ul>
</li> </li>
<li><a href="<?cs var:toroot ?>guide/developing/tools/proguard.html">Proguard</a></li> <li><a href="<?cs var:toroot ?>guide/developing/tools/proguard.html">ProGuard</a> <span class="new">new!</span></li>
<li><a href="<?cs var:toroot ?>guide/developing/tools/adb.html#sqlite">sqlite3</a></li> <li><a href="<?cs var:toroot ?>guide/developing/tools/adb.html#sqlite">sqlite3</a></li>
<li><a href="<?cs var:toroot ?>guide/developing/tools/traceview.html" >Traceview</a></li> <li><a href="<?cs var:toroot ?>guide/developing/tools/traceview.html" >Traceview</a></li>
<li><a href="<?cs var:toroot ?>guide/developing/tools/zipalign.html" >zipalign</a></li> <li><a href="<?cs var:toroot ?>guide/developing/tools/zipalign.html" >zipalign</a></li>
@ -445,7 +445,7 @@
</a></li> </a></li>
<li><a href="<?cs var:toroot ?>guide/publishing/licensing.html"> <li><a href="<?cs var:toroot ?>guide/publishing/licensing.html">
<span class="en">Licensing Your Applications</span> <span class="en">Licensing Your Applications</span>
</a> <span class="new">new!</span></li> </a></li>
<li><a href="<?cs var:toroot ?>guide/publishing/preparing.html"> <li><a href="<?cs var:toroot ?>guide/publishing/preparing.html">
<span class="en">Preparing to Publish</span> <span class="en">Preparing to Publish</span>
<span class="de" style="display:none">Vorbereitung auf die Veröffentlichung</span> <span class="de" style="display:none">Vorbereitung auf die Veröffentlichung</span>

View File

@ -197,6 +197,12 @@
<span class="en">List of Samples</span> <span class="en">List of Samples</span>
</a></div> </a></div>
<ul> <ul>
<li><a href="<?cs var:toroot ?>resources/samples/AccelerometerPlay/index.html">
<span class="en">Accelerometer Play</span>
</a> <span class="new">new!</span></li>
<li><a href="<?cs var:toroot ?>resources/samples/AccessibilityService/index.html">
<span class="en">Accessibility Service</span>
</a> <span class="new">new!</span></li>
<li><a href="<?cs var:toroot ?>resources/samples/ApiDemos/index.html"> <li><a href="<?cs var:toroot ?>resources/samples/ApiDemos/index.html">
<span class="en">API Demos</span> <span class="en">API Demos</span>
</a></li> </a></li>

View File

@ -18,6 +18,13 @@ href="{@docRoot}resources/samples/get.html">Getting the Samples</a>.</p>
--> -->
<dl> <dl>
<dt><a href="AccelerometerPlay/index.html">Accelerometer Play</a></dt>
<dd>An example that demonstrates how to use accelerometer readings
in an application.</dd>
<dt><a href="AccessibilityService/index.html">Accessibility Service</a></dt>
<dd>An example that demonstrates the use of accessibility APIs.</dd>
<dt><a href="ApiDemos/index.html">API Demos</a></dt> <dt><a href="ApiDemos/index.html">API Demos</a></dt>
<dd>A variety of small applications that demonstrate an extensive collection of <dd>A variety of small applications that demonstrate an extensive collection of
framework topics.</dd> framework topics.</dd>

View File

@ -223,7 +223,7 @@ protected boolean onTap(int index) {
OverlayItem item = mOverlays.get(index); OverlayItem item = mOverlays.get(index);
AlertDialog.Builder dialog = new AlertDialog.Builder(mContext); AlertDialog.Builder dialog = new AlertDialog.Builder(mContext);
dialog.setTitle(item.getTitle()); dialog.setTitle(item.getTitle());
dialog.setMessage(item.getSnippet()) dialog.setMessage(item.getSnippet());
dialog.show(); dialog.show();
return true; return true;
} }

View File

@ -40,18 +40,18 @@ page.title=Android 2.3 Platform Highlights
<div class="video"> <div class="video">
<object width="278" height="180"> <object width="278" height="180">
<param name="movie" value="http://www.youtube.com/v/yAZYSVr2Bhc&hl=en&fs=1&"></param> <param name="movie" value="http://www.youtube.com/v/Jx3pdWBlZ34?hl=en&fs=1"></param>
<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" <param name="allowFullScreen" value="true"></param><param name="allowscriptaccess"
value="always"></param> value="always"></param>
<embed src="http://www.youtube.com/v/yAZYSVr2Bhc&hl=en&fs=1&" type="application/x-shockwave-flash" <embed src="http://www.youtube.com/v/Jx3pdWBlZ34?hl=en&fs=1" type="application/x-shockwave-flash"
allowscriptaccess="always" allowfullscreen="true" width="278" height="180"></embed> allowscriptaccess="always" allowfullscreen="true" width="278" height="180"></embed>
</object> </object>
</div> </div>
<p>The Android 2.3 platform introduces many new and exciting features for <p>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 <a and technologies in Android 2.3. For detailed information about the new developer APIs, see the <a
href="android-2.3.html#api">Android 2.3 version notes</a>.</p> href="android-2.3.html">Android 2.3 version notes</a>.</p>
<ul> <ul>
<li><a href="#UserFeatures">New User Features</a></li> <li><a href="#UserFeatures">New User Features</a></li>
@ -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 to recognize complex user gestures and motions, such as tilt, spin, thrust, and
slice. </p> slice. </p>
<p style="margin-top:1.25em;margin-bottom:.75em;"><strong>Low-latency native
<p style="margin-top:1.25em;margin-bottom:.75em;"><strong>Open API for native
audio</strong></p> audio</strong></p>
<p>The platform provides a software implementation of <a <p>The platform provides a software implementation of <a
@ -405,7 +406,7 @@ open container format</li>
<ul> <ul>
<li>Dalvik VM: <li>Dalvik VM:
<ul> <ul>
<li>Concurrent Garbage Collector (target sub-3ms pauses)</li> <li>Concurrent garbage collector (target sub-3ms pauses)</li>
<li>Adds further JIT (code-generation) optimizations</li> <li>Adds further JIT (code-generation) optimizations</li>
<li>Improved code verification</li> <li>Improved code verification</li>
<li>StrictMode debugging, for identifying performance and memory issues</li> <li>StrictMode debugging, for identifying performance and memory issues</li>
@ -438,5 +439,5 @@ open container format</li>
</ul> </ul>
<p>For more information about the new developer APIs, see the <a <p>For more information about the new developer APIs, see the <a
href="android-2.3.html#api">Android 2.3 version notes</a> and the <a href="android-2.3.html">Android 2.3 version notes</a> and the <a
href="{@docRoot}sdk/api_diff/9/changes.html">API Differences Report</a>.</p> href="{@docRoot}sdk/api_diff/9/changes.html">API Differences Report</a>.</p>

View File

@ -225,7 +225,7 @@ gyroscope sensor. To do so, add <code>&lt;uses-feature
android:name="android.hardware.sensor.gyroscope" android:name="android.hardware.sensor.gyroscope"
android:required="true"&gt;</code> to the application manifest.</p> android:required="true"&gt;</code> to the application manifest.</p>
<p>For API details, see {@link android.hardware.Sensor}</p> <p>For API details, see {@link android.hardware.Sensor}.</p>
<h3 id="cameras">Multiple cameras support</h3> <h3 id="cameras">Multiple cameras support</h3>
@ -242,9 +242,9 @@ positional characteristics (orientation, front-facing or back-facing).</li>
android.hardware.Camera#getCameraInfo(int,CameraInfo) getCameraInfo()} methods in the {@link android.hardware.Camera#getCameraInfo(int,CameraInfo) getCameraInfo()} methods in the {@link
android.hardware.Camera} class let applications query for the cameras available android.hardware.Camera} class let applications query for the cameras available
and open the camera that they need.</li> and open the camera that they need.</li>
<li>New {@link android.media.CamcorderProfile get(int,int) method lets <li>New {@link android.media.CamcorderProfile#get get()} method lets
applications retrieve a CamcorderProfile for a specific camera. </li> applications retrieve a {@link android.media.CamcorderProfile} for a specific camera. </li>
<li>New {@link android media.CameraProfile#getJpegEncodingQualityParameter(int, int) <li>New {@link android.media.CameraProfile#getJpegEncodingQualityParameter(int, int)
getJpegEncodingQualityParameter()} lets applications obtain the still-image getJpegEncodingQualityParameter()} lets applications obtain the still-image
capture quality level for a specific camera.</li> capture quality level for a specific camera.</li>
</ul> </ul>
@ -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 touch filtering is appropriate to ensure the security of user actions such as
granting a permission request, making a purchase, or clicking on an granting a permission request, making a purchase, or clicking on an
advertisement. For details, see the <a advertisement. For details, see the <a
href="{@docRoot}reference/android/view/View.html#security">View class href="{@docRoot}reference/android/view/View.html#Security">View class
documentation</a>.</li> documentation</a>.</li>
<li>New <code>filterTouchesWhenObscured</code> attribute for view elements, <li>New <code>filterTouchesWhenObscured</code> attribute for view elements,
which declares whether to filter touches when the view's window is obscured by which declares whether to filter touches when the view's window is obscured by
another visible window. When set to <code>"true"</code>, the view will not another visible window. When set to <code>"true"</code>, the view will not
receive touches whenever a toast, dialog or other window appears above the receive touches whenever a toast, dialog or other window appears above the
view's window. Refer to <a view's window. Refer to <a
href="{@docRoot}reference/android/view/View.html#security">View security href="{@docRoot}reference/android/view/View.html#Security">View security
documentation</a> for details.</li> documentation</a> for details.</li>
</ul> </ul>
<p class="note">To look at sample code for touch filtering, see <p class="note">To look at sample code for touch filtering, see
<a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/view/SecureView.html">SurfaceView.java</a> <a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/view/SecureView.html">SecureView.java</a>
in the ApiDemos sample application.</p> in the ApiDemos sample application.</p>
</li> </li>

View File

@ -152,9 +152,9 @@ example, ADT 8.x is for SDK Tools r8.</li>
"export signed/unsigned application package", ADT does <em>not</em> insert it. "export signed/unsigned application package", ADT does <em>not</em> insert it.
If you manually set <code>debuggable="true"</code> in the manifest file, then release builds will If you manually set <code>debuggable="true"</code> in the manifest file, then release builds will
actually create a debug build (it does not remove it if you placed it there).</p></li> actually create a debug build (it does not remove it if you placed it there).</p></li>
<li>Automatic <a href="{@docRoot}guide/developing/tools/proguard.html">Proguard</a> support in <li>Automatic <a href="{@docRoot}guide/developing/tools/proguard.html">ProGuard</a> support in
release builds. For it to work, you need to have a <code>proguard.config</code> release builds. For it to work, you need to have a <code>proguard.config</code>
property in the <code>default.properties</code> file that points to a proguard config file.</li> property in the <code>default.properties</code> file that points to a ProGuard config file.</li>
<li>Completely rewritten Visual Layout Editor. (This is still a work in progress.) Now includes: <li>Completely rewritten Visual Layout Editor. (This is still a work in progress.) Now includes:
<ul> <ul>
<li>Full drag and drop from palette to layout for all Layout classes.</li> <li>Full drag and drop from palette to layout for all Layout classes.</li>

View File

@ -2,20 +2,20 @@ page.title=Android SDK
sdk.redirect=0 sdk.redirect=0
sdk.win_installer=installer_r08-windows.exe sdk.win_installer=installer_r08-windows.exe
sdk.win_installer_bytes=TODO sdk.win_installer_bytes=32746192
sdk.win_installer_checksum=TODO sdk.win_installer_checksum=04ce87b10a8361a1f63cf2238bbc1ee3
sdk.win_download=android-sdk_r08-windows.zip sdk.win_download=android-sdk_r08-windows.zip
sdk.win_bytes=TODO sdk.win_bytes=32696391
sdk.win_checksum=TODO sdk.win_checksum=3e0b08ade5bfa9624bce9ddc164a48cb
sdk.mac_download=android-sdk_r08-mac_x86.zip sdk.mac_download=android-sdk_r08-mac_86.zip
sdk.mac_bytes=TODO sdk.mac_bytes=28797617
sdk.mac_checksum=TODO sdk.mac_checksum=d2e392c4e4680cbf2dfd6dbf82b662c7
sdk.linux_download=android-sdk_r08-linux_x86.tgz sdk.linux_download=android-sdk_r08-linux_86.tgz
sdk.linux_bytes=TODO sdk.linux_bytes=26817291
sdk.linux_checksum=TODO sdk.linux_checksum=3b626645b223d137d27beefbda0c94bc
@jd:body @jd:body

View File

@ -1,16 +1,16 @@
ndk=true ndk=true
ndk.win_download=android-ndk-r4b-windows.zip ndk.win_download=android-ndk-r5-windows.zip
ndk.win_bytes=45792835 ndk.win_bytes=62217450
ndk.win_checksum=e397145e155a639be53ee4b6db8ad511 ndk.win_checksum=59cbb02d91d74e9c5c7278d94c989e80
ndk.mac_download=android-ndk-r4b-darwin-x86.zip ndk.mac_download=android-ndk-r5-darwin-x86.tar.bz2
ndk.mac_bytes=50586041 ndk.mac_bytes=50210863
ndk.mac_checksum=41dbd54335fb828ee408eab17103a1b0 ndk.mac_checksum=9dee8e4cb529a5619e9b8d1707478c32
ndk.linux_download=android-ndk-r4b-linux-x86.zip ndk.linux_download=android-ndk-r5-linux-x86.tar.bz2
ndk.linux_bytes=49464776 ndk.linux_bytes=44362746
ndk.linux_checksum=2deabcb125c219b34140975b710f00ec ndk.linux_checksum=49d5c35ec02bafc074842542c58b7eb3
page.title=Android NDK page.title=Android NDK
@jd:body @jd:body
@ -64,7 +64,7 @@ padding: .25em 1em;
onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-opened.png" onclick="return toggleDiv(this)"><img src="{@docRoot}assets/images/triangle-opened.png"
class="toggle-img" class="toggle-img"
height="9px" height="9px"
width="9px" /> Android NDK, Revision 5</a> <em>(November 2010)</em> width="9px" /> Android NDK, Revision 5</a> <em>(December 2010)</em>
<div class="toggleme"> <div class="toggleme">
<p>This release of the NDK includes many new APIs, most of which are introduced to <p>This release of the NDK includes many new APIs, most of which are introduced to

View File

@ -85,7 +85,7 @@
<ul> <ul>
<li><a href="<?cs var:toroot ?>sdk/tools-notes.html">SDK Tools, r8</a> <span class="new">new!</span></li> <li><a href="<?cs var:toroot ?>sdk/tools-notes.html">SDK Tools, r8</a> <span class="new">new!</span></li>
<li><a href="<?cs var:toroot ?>sdk/win-usb.html">USB Driver for <li><a href="<?cs var:toroot ?>sdk/win-usb.html">USB Driver for
Windows, r3</a> Windows, r4</a> <span class="new">new!</span>
</li> </li>
</ul> </ul>
</li> </li>

View File

@ -82,7 +82,21 @@ padding: .25em 1em;
<div class="toggleable opened"> <div class="toggleable opened">
<a href="#" onclick="return toggleDiv(this)"> <a href="#" onclick="return toggleDiv(this)">
<img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px" width="9px" /> <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-img" height="9px"
width="9px" />
USB Driver for Windows, Revision 4</a> <em>(December 2010)</em>
<div class="toggleme">
<dl>
<dt><p>Adds support for the Nexus S.</p></dt>
</dl>
</div>
</div>
<div class="toggleable closed">
<a href="#" onclick="return toggleDiv(this)">
<img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-img" height="9px"
width="9px" />
USB Driver for Windows, Revision 3</a> <em>(January 2010)</em> USB Driver for Windows, Revision 3</a> <em>(January 2010)</em>
<div class="toggleme"> <div class="toggleme">
@ -126,10 +140,11 @@ for the T-Mobile G1 and myTouch 3G (and similar devices).</p></dt>
Android-powered Android-powered
devices:</p> devices:</p>
<ul> <ul>
<li>T-Mobile G1* / ADP1</li> <li>ADP1 / T-Mobile G1*</li>
<li>T-Mobile myTouch 3G* / Google Ion</li> <li>ADP2 / Google Ion / T-Mobile myTouch 3G*</li>
<li>Verizon Droid*</li> <li>Verizon Droid*</li>
<li>Nexus One</li> <li>Nexus One</li>
<li>Nexus S</li>
</ul> </ul>
<p>* <em>Or similar hardware on other carriers</em></p> <p>* <em>Or similar hardware on other carriers</em></p>
<p>Any additional devices will require Windows drivers provided by <p>Any additional devices will require Windows drivers provided by