Skip to content

Commit 93d204e

Browse files
committed
cherrypick Change-Id: Icf74572932165270a93243f4a109979807b495df
docs: fix misc broken links; update some screenshots using windows bug: 3258882 Change-Id: I3d4a2c66be4e563f4c45d72fec30c9a1b5d8fc23
1 parent 071360d commit 93d204e

File tree

18 files changed

+29
-22
lines changed

18 files changed

+29
-22
lines changed

docs/html/guide/developing/testing/testing_otheride.jd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ $ android create test-project -m ../HelloAndroid -n HelloAndroidTest -p HelloAnd
296296
<h2 id="RunTestsCommand">Running Tests</h2>
297297
<p>
298298
You run tests from the command line, either with Ant or with an
299-
<a href="{@docRoot}http://developer.android.com/guide/developing/tools/adb.html">
299+
<a href="{@docRoot}guide/developing/tools/adb.html">
300300
Android Debug Bridge (adb)</a> shell.
301301
</p>
302302
<h3 id="RunTestsAnt">Quick build and run with Ant</h3>
@@ -318,7 +318,7 @@ $ android create test-project -m ../HelloAndroid -n HelloAndroidTest -p HelloAnd
318318
<h3 id="RunTestsDevice">Running tests on a device or emulator</h3>
319319
<p>
320320
When you run tests from the command line with
321-
<a href="{@docRoot}http://developer.android.com/guide/developing/tools/adb.html">
321+
<a href="{@docRoot}guide/developing/tools/adb.html">
322322
Android Debug Bridge (adb)</a>, you get more options for choosing the tests
323323
to run than with any other method. You can select individual test methods, filter tests
324324
according to their annotation, or specify testing options. Since the test run is controlled

docs/html/guide/developing/tools/emulator.jd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,8 @@ on disk images, use <code>-help-disk-images</code>.</p>
496496
<td>Enable the root shell (as in <code>-shell</code> and specify the QEMU character
497497
device to use for communication with the shell.</td>
498498
<td>&lt;device&gt; must be a QEMU device type. See the documentation for '-serial <em>dev</em>' at
499-
<a href="http://www.nongnu.org/qemu/qemu-doc.html#SEC10">http://www.bellard.org/qemu/qemu-doc.html#SEC10</a>
500-
for a list of device types.</p>
499+
<a href="http://wiki.qemu.org/download/qemu-doc.html">wiki.qemu.org</a>
500+
for more information.</p>
501501

502502
<p>Here are some examples: </p>
503503
<ul>

docs/html/guide/topics/admin/device-admin.jd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,14 @@ Administration API lets you do the following:</p> <ul>
156156
<h2 id="sample">Sample Application</h2>
157157

158158
<p>The examples used in this document are based on the <a
159-
href="{@docRoot}resources/samples/ApiDemos/src/com/example/
160-
android/apis/app/DeviceAdminSample.html">Device Administration API
159+
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.html">
160+
Device Administration API
161161
sample</a>, which is included in the SDK samples. For information on downloading and
162162
installing the SDK samples, see <a
163163
href="{@docRoot}resources/samples/get.html">
164164
Getting the Samples</a>. Here is the <a
165-
href="{@docRoot}resources/samples/ApiDemos/src/com/example/
166-
android/apis/app/DeviceAdminSample.html">complete code</a> for
165+
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.html">
166+
complete code</a> for
167167
the sample. </p>
168168
<p>The
169169
sample application offers a demo of device admin features. It presents users

docs/html/guide/topics/manifest/uses-feature-element.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ the feature as shown below.</p>
339339
<p class="caution">It's important to understand that the permissions that you
340340
request in <code>&lt;uses-permission&gt;</code> elements can directly affect how
341341
Android Market filters your application. The reference section <a
342-
href="permissions-features">Permissions that Imply Feature Requirements</a>,
342+
href="#permissions-features">Permissions that Imply Feature Requirements</a>,
343343
below, lists the full set of permissions that imply feature requirements and
344344
therefore trigger filtering.</p>
345345

docs/html/guide/topics/resources/layout-resource.jd

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

187187
</dl>

docs/html/guide/topics/testing/contentprovider_testing.jd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ page.title=Content Provider Testing
3737
<ol>
3838
<li>
3939
<a
40-
href="{@docRoot}guide/topics/testing/topics/testing_android.html">
40+
href="{@docRoot}guide/topics/testing/testing_android.html">
4141
Testing Fundamentals</a>
4242
</li>
4343
<li>
@@ -123,7 +123,8 @@ page.title=Content Provider Testing
123123
The constructor then creates a {@link android.test.mock.MockContentResolver} to use as the
124124
resolver for the test. The {@link android.test.mock.MockContentResolver} class is described in
125125
detail in the section
126-
<a href="{@docRoot}guide/topics/testing/test_android#MockObjectClasses">Mock object classes</a>.
126+
<a href="{@docRoot}guide/topics/testing/testing_android.html#MockObjectClasses">Mock object
127+
classes</a>.
127128
</p>
128129
<p>
129130
Lastly, the constructor creates an instance of the provider under test. This is a normal
@@ -137,7 +138,7 @@ page.title=Content Provider Testing
137138
{@link android.test.ProviderTestCase2} uses {@link android.test.IsolatedContext} and
138139
{@link android.test.mock.MockContentResolver}, which are standard mock object classes. To
139140
learn more about them, please read
140-
<a href="{@docRoot}guide/topics/testing/test_android#MockObjectClasses">
141+
<a href="{@docRoot}guide/topics/testing/testing_android.html#MockObjectClasses">
141142
Testing Fundamentals</a>.
142143
</p>
143144
<h2 id="WhatToTest">What To Test</h2>

docs/html/guide/topics/testing/index.jd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ page.title=Testing
7373
to test applications and devices.
7474
</li>
7575
</ul>
76+
<!--
7677
<h4>Samples</h4>
7778
<ul>
7879
<li>
@@ -82,3 +83,4 @@ page.title=Testing
8283
testing a {@link android.app.Service}.
8384
</li>
8485
</ul>
86+
-->

docs/html/guide/topics/testing/what_to_test.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@ page.title=What To Test
7979
<a href="{@docRoot}guide/developing/tools/emulator.html#netspeed">Network Speed Emulation</a>.
8080
To test GPS, you can use the emulator console and {@link android.location.LocationManager}. To
8181
learn more about the emulator console, please see
82-
<a href="{@docRoot}/guide/developing/tools/emulator.html#console">
82+
<a href="{@docRoot}guide/developing/tools/emulator.html#console">
8383
Using the Emulator Console</a>.
8484
</p>

docs/html/images/developing/avd-dialog.png

100755100644
-38 KB
Loading

docs/html/images/sdk_manager_packages.png

100755100644
25.4 KB
Loading

0 commit comments

Comments
 (0)