am 93d204ed: cherrypick Change-Id: Icf74572932165270a93243f4a109979807b495df docs: fix misc broken links; update some screenshots using windows bug: 3258882

* commit '93d204ed98019322e434b714c7c0a619d69f24f5':
  cherrypick Change-Id: Icf74572932165270a93243f4a109979807b495df docs: fix misc broken links; update some screenshots using windows bug: 3258882
This commit is contained in:
Scott Main
2010-12-14 16:43:28 -08:00
committed by Android Git Automerger
18 changed files with 29 additions and 22 deletions

View File

@ -296,7 +296,7 @@ $ android create test-project -m ../HelloAndroid -n HelloAndroidTest -p HelloAnd
<h2 id="RunTestsCommand">Running Tests</h2>
<p>
You run tests from the command line, either with Ant or with an
<a href="{@docRoot}http://developer.android.com/guide/developing/tools/adb.html">
<a href="{@docRoot}guide/developing/tools/adb.html">
Android Debug Bridge (adb)</a> shell.
</p>
<h3 id="RunTestsAnt">Quick build and run with Ant</h3>
@ -318,7 +318,7 @@ $ android create test-project -m ../HelloAndroid -n HelloAndroidTest -p HelloAnd
<h3 id="RunTestsDevice">Running tests on a device or emulator</h3>
<p>
When you run tests from the command line with
<a href="{@docRoot}http://developer.android.com/guide/developing/tools/adb.html">
<a href="{@docRoot}guide/developing/tools/adb.html">
Android Debug Bridge (adb)</a>, you get more options for choosing the tests
to run than with any other method. You can select individual test methods, filter tests
according to their annotation, or specify testing options. Since the test run is controlled

View File

@ -496,8 +496,8 @@ on disk images, use <code>-help-disk-images</code>.</p>
<td>Enable the root shell (as in <code>-shell</code> and specify the QEMU character
device to use for communication with the shell.</td>
<td>&lt;device&gt; must be a QEMU device type. See the documentation for '-serial <em>dev</em>' at
<a href="http://www.nongnu.org/qemu/qemu-doc.html#SEC10">http://www.bellard.org/qemu/qemu-doc.html#SEC10</a>
for a list of device types.</p>
<a href="http://wiki.qemu.org/download/qemu-doc.html">wiki.qemu.org</a>
for more information.</p>
<p>Here are some examples: </p>
<ul>

View File

@ -156,14 +156,14 @@ Administration API lets you do the following:</p> <ul>
<h2 id="sample">Sample Application</h2>
<p>The examples used in this document are based on the <a
href="{@docRoot}resources/samples/ApiDemos/src/com/example/
android/apis/app/DeviceAdminSample.html">Device Administration API
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.html">
Device Administration API
sample</a>, which is included in the SDK samples. For information on downloading and
installing the SDK samples, see <a
href="{@docRoot}resources/samples/get.html">
Getting the Samples</a>. Here is the <a
href="{@docRoot}resources/samples/ApiDemos/src/com/example/
android/apis/app/DeviceAdminSample.html">complete code</a> for
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.html">
complete code</a> for
the sample. </p>
<p>The
sample application offers a demo of device admin features. It presents users

View File

@ -339,7 +339,7 @@ the feature as shown below.</p>
<p class="caution">It's important to understand that the permissions that you
request in <code>&lt;uses-permission&gt;</code> elements can directly affect how
Android Market filters your application. The reference section <a
href="permissions-features">Permissions that Imply Feature Requirements</a>,
href="#permissions-features">Permissions that Imply Feature Requirements</a>,
below, lists the full set of permissions that imply feature requirements and
therefore trigger filtering.</p>

View File

@ -181,7 +181,7 @@ that already contains the appropriate parent View to contain the children of the
in another layout file using <a href="#include-element"><code>&lt;include&gt;</code></a> and
this layout doesn't require a different {@link android.view.ViewGroup} container. For more
information about merging layouts, read <a
href="{@docRoot}resources/articles/layout-tricks-merging.html">Layout
href="{@docRoot}resources/articles/layout-tricks-merge.html">Layout
Tricks: Merging</a>.</dd>
</dl>

View File

@ -37,7 +37,7 @@ page.title=Content Provider Testing
<ol>
<li>
<a
href="{@docRoot}guide/topics/testing/topics/testing_android.html">
href="{@docRoot}guide/topics/testing/testing_android.html">
Testing Fundamentals</a>
</li>
<li>
@ -123,7 +123,8 @@ page.title=Content Provider Testing
The constructor then creates a {@link android.test.mock.MockContentResolver} to use as the
resolver for the test. The {@link android.test.mock.MockContentResolver} class is described in
detail in the section
<a href="{@docRoot}guide/topics/testing/test_android#MockObjectClasses">Mock object classes</a>.
<a href="{@docRoot}guide/topics/testing/testing_android.html#MockObjectClasses">Mock object
classes</a>.
</p>
<p>
Lastly, the constructor creates an instance of the provider under test. This is a normal
@ -137,7 +138,7 @@ page.title=Content Provider Testing
{@link android.test.ProviderTestCase2} uses {@link android.test.IsolatedContext} and
{@link android.test.mock.MockContentResolver}, which are standard mock object classes. To
learn more about them, please read
<a href="{@docRoot}guide/topics/testing/test_android#MockObjectClasses">
<a href="{@docRoot}guide/topics/testing/testing_android.html#MockObjectClasses">
Testing Fundamentals</a>.
</p>
<h2 id="WhatToTest">What To Test</h2>

View File

@ -73,6 +73,7 @@ page.title=Testing
to test applications and devices.
</li>
</ul>
<!--
<h4>Samples</h4>
<ul>
<li>
@ -82,3 +83,4 @@ page.title=Testing
testing a {@link android.app.Service}.
</li>
</ul>
-->

View File

@ -79,6 +79,6 @@ page.title=What To Test
<a href="{@docRoot}guide/developing/tools/emulator.html#netspeed">Network Speed Emulation</a>.
To test GPS, you can use the emulator console and {@link android.location.LocationManager}. To
learn more about the emulator console, please see
<a href="{@docRoot}/guide/developing/tools/emulator.html#console">
<a href="{@docRoot}guide/developing/tools/emulator.html#console">
Using the Emulator Console</a>.
</p>

BIN
docs/html/images/developing/avd-dialog.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 46 KiB

BIN
docs/html/images/sdk_manager_packages.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 112 KiB

View File

@ -1,7 +1,9 @@
page.title=Layout Tricks: Merging Layouts
@jd:body
<p>The <a href=""></a> articles showed you how to use the <code>&lt;include /&gt;</code> tag in XML layouts, to reuse and share your layout code. This article explains the <code>&lt;merge /&gt;</code> tag and how it complements the <code>&lt;include /&gt;</code> tag.</p>
<p>The articles showed you how to use the <code>&lt;include /&gt;</code> tag in XML layouts, to
reuse and share your layout code. This article explains the <code>&lt;merge /&gt;</code> tag and how
it complements the <code>&lt;include /&gt;</code> tag.</p>
<p>The <code>&lt;merge /&gt;</code> tag was created for the purpose of
optimizing Android layouts by reducing the number of levels in view trees. It's

View File

@ -17,7 +17,7 @@ to keep in a view hierarchy. A <code>ViewStub</code> can be best described as a
inflated and added to the user interface only when you decide so.</p>
<p>The following screenshot comes from the <a
href="http://code.google/p/shelves">Shelves</a> application. The main purpose of
href="http://code.google.com/p/shelves">Shelves</a> application. The main purpose of
the activity shown in the screenshot is to present the user with a browsable
list of books:</p>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -132,7 +132,7 @@ panel of the Android SDK and AVD Manager. </li>
<p>When you see that a new revision is available, you can use the Android SDK
and AVD Manager to quickly download it to your environment. Follow the same
procedure as given in <a href="">Installing SDK Components</a>, above. The new
procedure as given in <a href="#InstallingComponents">Installing SDK Components</a>, above. The new
component is installed in place of the old, but without impacting your
applications. </p>

View File

@ -124,7 +124,7 @@ in {@sdkPlatformVersion}, including new features and changes in the framework
API since the previous version.</p>
<h3 id="sip">SIP-based VoIP</h3>
<h3 id="sip">SIP-based VOIP</h3>
<p>The platform now includes a SIP protocol stack and framework API that lets
developers build internet telephony applications. Using the API, applications can offer
@ -679,7 +679,8 @@ removes several classes that were previously deprecated.</li>
<ul>
<li>New <code>xlargeScreens</code> attribute for <a
href="{@docRoot}guide/topics/manifest/supports-screens.html"><code>&lt;supports-screens&gt;</code></a>
href="{@docRoot}guide/topics/manifest/supports-screens-element.html"><code>&lt;supports-screens&gt;<
/ code > < /a>
element, to indicate whether the application supports
extra large screen form-factors. For details, see <a
href="{@docRoot}guide/practices/screens_support.html">Supporting Multiple
@ -747,7 +748,7 @@ gyroscope sensor.</li>
<li>{@link android.content.pm.PackageManager#FEATURE_SIP android.software.sip}
&mdash; The application uses the SIP API on the device.</li>
<li>{@link android.content.pm.PackageManager#FEATURE_SIP_VOIP
android.software.sip.voip} &mdash; The application uses a SIP-based VoIP
android.software.sip.voip} &mdash; The application uses a SIP-based VOIP
service on the device.</li>
<li>{@link
android.content.pm.PackageManager#FEATURE_TOUCHSCREEN_MULTITOUCH_JAZZHAND

View File

@ -299,7 +299,8 @@ padding: .25em 1em;
<p>Before you get started make sure that you have downloaded the latest <a href=
"{@docRoot}sdk/index.html">Android SDK</a> and upgraded your applications and environment as
needed. The NDK is compatible with older platform versions but not older versions of the SDK tools.
Also, take a moment to review the <a href="{@docRoot}sdk/ndk/reqs.html">System and Software Requirements</a>
Also, take a moment to review the <a href="{@docRoot}sdk/ndk/overview.html#reqs">System and
Software Requirements</a>
for the NDK, if you haven't already.</p>
<p>To install the NDK, follow these steps:</p>

View File

@ -160,7 +160,7 @@ so before continuing with the driver installation. </p>
<a href="adding-components.html">Adding SDK Components</a> to launch the Android
SDK and AVD Manager. From the <strong>Available Packages</strong> panel, select
"Usb Driver Package" and download it to your computer. The driver files are
downloaded into the <code>&lt;sdk&gt;\usb_driver</code> directory.</p>
downloaded into the <code>&lt;sdk&gt;\google-usb_driver\</code> directory.</p>
<p>After the download, follow the instructions below to install or upgrade the
driver, based on your needs and Windows operating system version. If you are