Skip to content

Commit 1c8b6ca

Browse files
committed
docs: fix misc broken links
Change-Id: I7294276aff0c80498215870d5d72f7a3a9b2c99a
1 parent 7df7447 commit 1c8b6ca

File tree

6 files changed

+36
-120
lines changed

6 files changed

+36
-120
lines changed

docs/html/guide/developing/eclipse-adt.jd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ Marking a project as an Android library project. </p>
527527
<p>A library project's manifest file must declare all of the shared components
528528
that it includes, just as would a standard Android application. For more
529529
information, see the documentation for <a
530-
href="{@docRoot}guide/manifest/manifest-intro.html">AndroidManifest.xml</a>.</p>
530+
href="{@docRoot}guide/topics/manifest/manifest-intro.html">AndroidManifest.xml</a>.</p>
531531

532532
<p>For example, the <a
533533
href="{@docRoot}resources/samples/TicTacToeLib/AndroidManifest.html">TicTacToeLib</a>
@@ -613,7 +613,8 @@ like this: </p>
613613
...
614614
&lt;/manifest&gt;</pre>
615615

616-
<p>For more information about the manifest file, see the documentation for <a href="{@docRoot}guide/manifest/manifest-intro.html">AndroidManifest.xml</a>.</p>
616+
<p>For more information about the manifest file, see the documentation for <a
617+
href="{@docRoot}guide/topics/manifest/manifest-intro.html">AndroidManifest.xml</a>.</p>
617618

618619

619620
<h3 id="considerations">Development considerations</h3>

docs/html/guide/developing/other-ide.jd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ so that other applications can use it, you can do so by adding a the
687687
<p>A library project's manifest file must declare all of the shared components
688688
that it includes, just as would a standard Android application. For more
689689
information, see the documentation for <a
690-
href="{@docRoot}guide/manifest/manifest-intro.html">AndroidManifest.xml</a>.</p>
690+
href="{@docRoot}guide/topics/manifest/manifest-intro.html">AndroidManifest.xml</a>.</p>
691691

692692
<p>For example, the <a
693693
href="{@docRoot}resources/samples/TicTacToeLib/AndroidManifest.html">TicTacToeLib</a>
@@ -799,7 +799,8 @@ like this: </p>
799799
...
800800
&lt;/manifest&gt;</pre>
801801

802-
<p>For more information about the manifest file, see the documentation for <a href="{@docRoot}guide/manifest/manifest-intro.html">AndroidManifest.xml</a>.</p>
802+
<p>For more information about the manifest file, see the documentation for <a
803+
href="{@docRoot}guide/topics/manifest/manifest-intro.html">AndroidManifest.xml</a>.</p>
803804

804805
<h3 id="depAppBuild">Building a dependent application</h3>
805806

docs/html/guide/samples/index.jd

Lines changed: 6 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -3,99 +3,13 @@ page.title=Sample Code
33
@jd:body
44

55

6-
<p>Sometimes, the best way to learn how things are done is to look at some code.
7-
Here, you can browse the source of some sample Android applications that are included
8-
in the Android SDK.</p>
6+
<script type="text/javascript">
7+
window.location = toRoot + "resources/samples/index.html";
8+
</script>
99

10-
<p>Each version of the Android platform available for the SDK includes a full set of sample
11-
applications (which may vary between different versions of the platform).
12-
You can find the samples in your SDK at:</p>
10+
<p><strong>This document has moved. Please go to <a
11+
href="http://developer.android.com/resources/samples/index.html">List of Sample
12+
Apps</a>.</strong></p>
1313

14-
<p style="margin-left:2em">
15-
<code><em>&lt;sdk&gt;</em>/platforms/android-<em>&lt;version&gt;</em>/samples/</code>
16-
</p>
17-
18-
<p>You can easily create new Android projects with these samples, modify them
19-
if you'd like, then run them on an emulator or device. For example, to create
20-
a project for the API Demos app from Eclipse,
21-
start a new Android Project, select "Create project from existing source", then select
22-
{@code ApiDemos} in the {@code samples/} directory. To create the API Demos project
23-
using the {@code android} tool, execute:</p>
24-
<pre>
25-
android update project -s -n API Demos -t <em>&lt;target_ID></em> -p <em>&lt;path-to-platform></em>/samples/ApiDemos/
26-
</pre>
27-
28-
<p>The pages below provide an overview of each sample application (available with most
29-
platforms) and allow you to view the source files in your browser. </p>
30-
31-
<div class="special">
32-
<p>Some of the samples in this listing are not yet available in the
33-
SDK. While we work to update the SDK, you can
34-
<a href="{@docRoot}shareables/latest_samples.zip">download the latest samples</a> as a ZIP
35-
archive.</p>
36-
</div>
37-
38-
<dl>
39-
40-
<dt><a href="{@docRoot}resources/samples/ApiDemos/index.html">API Demos</a></dt>
41-
<dd>A variety of small applications that demonstrate an extensive collection of
42-
framework topics.</dd>
43-
44-
<dt><a href="{@docRoot}resources/samples/BackupRestore/index.html">Backup and Restore</a></dt>
45-
<dd>An simple example that illustrates a few different ways for an application to
46-
implement support for the Android data backup and restore mechanism.</dd>
47-
48-
<dt><a href="{@docRoot}resources/samples/BluetoothChat/index.html">Bluetooth Chat</a></dt>
49-
<dd>An application for two-way text messaging over Bluetooth.</dd>
50-
51-
<dt><a href="{@docRoot}resources/samples/ContactManager/index.html">Contact Manager</a></dt>
52-
<dd>An application that demonstrates how to query the system contacts provider
53-
using the <code>ContactsContract</code> API, as
54-
well as insert contacts into a specific account.</dd>
55-
56-
<dt><a href="{@docRoot}resources/samples/Home/index.html">Home</a></dt>
57-
<dd>A home screen replacement application.</dd>
58-
59-
<dt><a href="{@docRoot}resources/samples/JetBoy/index.html">JetBoy</a></dt>
60-
<dd>JetBoy is a game that demonstrates the SONiVOX JET interactive music technology,
61-
with {@link android.media.JetPlayer}.</dd>
62-
63-
<dt><a href="{@docRoot}resources/samples/LunarLander/index.html">Lunar Lander</a></dt>
64-
<dd>A classic Lunar Lander game.</dd>
65-
66-
<dt><a href="{@docRoot}resources/samples/MultiResolution/index.html">Multiple Resolutions</a></dt>
67-
<dd>A sample application that shows how to use resource directory qualifiers to
68-
provide different resources for different screen configurations.</dd>
69-
70-
<dt><a href="{@docRoot}resources/samples/NotePad/index.html">Note Pad</a></dt>
71-
<dd>An application for saving notes. Similar (but not identical) to the
72-
<a href="{@docRoot}resources/tutorials/notepad/index.html">Notepad tutorial</a>.</dd>
73-
74-
<dt><a href="{@docRoot}resources/samples/SearchableDictionary/index.html">Searchable Dictionary</a></dt>
75-
<dd>A sample application that demonstrates Android's search framework,
76-
including how to provide search suggestions for Quick Search Box.</dd>
77-
78-
<dt><a href="{@docRoot}resources/samples/Snake/index.html">Snake</a></dt>
79-
<dd>An implementation of the classic game "Snake."</dd>
80-
81-
<dt><a href="{@docRoot}resources/samples/SoftKeyboard/index.html">Soft Keyboard</a></dt>
82-
<dd>An example of writing an input method for a software keyboard.</dd>
83-
84-
<dt><a href=""{@docRoot}resources/samples/Wiktionary/index.html">Wiktionary</a></dt>
85-
<dd>An example of creating interactive widgets for display on the Android
86-
home screen.</dd>
87-
88-
<dt><a href="{@docRoot}resources/samples/WiktionarySimple/index.html">Wiktionary (Simplified)</a></dt>
89-
<dd>A simple Android home screen widgets example.</dd>
90-
91-
</dl>
92-
93-
94-
<div class="special">
95-
<p>For more sample applications, check out
96-
<a href="http://code.google.com/p/apps-for-android/">apps-for-android</a>, a
97-
collection of open source applications that demonstrate various Android APIs.
98-
</p>
99-
</div>
10014

10115

docs/html/guide/topics/data/backup.jd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ Backup Service Key is ignored.</p>
240240
<h2 id="BackupAgent">Extending BackupAgent</h2>
241241

242242
<p>Most applications shouldn't need to extend the {@link android.app.backup.BackupAgent} class
243-
directly, but should instead <a href="BackupAgentHelper">extend BackupAgentHelper</a> to take
243+
directly, but should instead <a href="#BackupAgentHelper">extend BackupAgentHelper</a> to take
244244
advantage of the built-in helper classes that automatically backup and restore your files. However,
245245
you might want to extend {@link android.app.backup.BackupAgent} directly if you need to:</p>
246246
<ul>
@@ -262,7 +262,7 @@ create your table and insert the data during a restore operation.</li>
262262
<p>If you don't need to perform any of the tasks above and want to back up complete files from
263263
{@link android.content.SharedPreferences} or <a
264264
href="{@docRoot}guide/topics/data/data-storage.html#filesInternal">internal storage</a>, you
265-
should skip to <a href="BackupAgentHelper">Extending BackupAgentHelper</a>.</p>
265+
should skip to <a href="#BackupAgentHelper">Extending BackupAgentHelper</a>.</p>
266266

267267

268268

docs/html/guide/topics/resources/providing-resources.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ Android runs your application, it will crash if you do not provide default resou
761761
cannot use the resources named with the new qualifier. For example, if your <a
762762
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
763763
minSdkVersion}</a> is set to 4, and you qualify all of your drawable resources using <a
764-
href="NightQualifier">night mode</a> ({@code night} or {@code notnight}, which were added in API
764+
href="#NightQualifier">night mode</a> ({@code night} or {@code notnight}, which were added in API
765765
Level 8), then an API Level 4 device cannot access your drawable resources and will crash. In this
766766
case, you probably want {@code notnight} to be your default resources, so you should exclude that
767767
qualifier so your drawable resources are in either {@code drawable/} or {@code drawable-night/}.</p>

docs/html/sdk/older_releases.jd

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Notes</a></em></p>
4747
<td>Windows</td>
4848
<td>
4949
<a
50-
href="/sdk/download.html?v=archives/android-sdk-windows-1.6_r1.zip">android-sdk-
50+
href="http://dl.google.com/android/archives/android-sdk-windows-1.6_r1.zip">android-sdk-
5151
windows-1 .6_r1.zip</a>
5252
</td>
5353
<td>260529085 bytes</td>
@@ -57,7 +57,7 @@ windows-1 .6_r1.zip</a>
5757
<td>Mac OS X (intel)</td>
5858
<td>
5959
<a
60-
href="/sdk/download.html?v=archives/android-sdk-mac_x86-1.6_r1.zip">android-sdk-
60+
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.6_r1.zip">android-sdk-
6161
mac_x86-1 .6_r1.zip</a>
6262
</td>
6363
<td>247412515 bytes</td>
@@ -67,7 +67,7 @@ mac_x86-1 .6_r1.zip</a>
6767
<td>Linux (i386)</td>
6868
<td>
6969
<a
70-
href="/sdk/download.html?v=archives/android-sdk-linux_x86-1.6_r1.tgz">android-
70+
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.6_r1.tgz">android-
7171
sdk- linux_x86-1.6_r1.tgz</a>
7272
</td>
7373
<td>238224860 bytes</td>
@@ -92,7 +92,7 @@ Notes</a></em></p>
9292
<td>Windows</td>
9393
<td>
9494
<a
95-
href="/sdk/download.html?v=archives/android-sdk-windows-1.5_r3.zip">android-sdk-
95+
href="http://dl.google.com/android/archives/android-sdk-windows-1.5_r3.zip">android-sdk-
9696
windows-1 .5_r3.zip</a>
9797
</td>
9898
<td>191477853 bytes</td>
@@ -102,7 +102,7 @@ windows-1 .5_r3.zip</a>
102102
<td>Mac OS X (intel)</td>
103103
<td>
104104
<a
105-
href="/sdk/download.html?v=archives/android-sdk-mac_x86-1.5_r3.zip">android-sdk-
105+
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.5_r3.zip">android-sdk-
106106
mac_x86-1 .5_r3.zip</a>
107107
</td>
108108
<td>183024673 bytes</td>
@@ -112,7 +112,7 @@ mac_x86-1 .5_r3.zip</a>
112112
<td>Linux (i386)</td>
113113
<td>
114114
<a
115-
href="/sdk/download.html?v=archives/android-sdk-linux_x86-1.5_r3.zip">android-
115+
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.5_r3.zip">android-
116116
sdk- linux_x86-1.5_r3.zip</a>
117117
</td>
118118
<td>178117561 bytes</td>
@@ -137,7 +137,7 @@ Notes</a></em></p>
137137
<td>Windows</td>
138138
<td>
139139
<a
140-
href="/sdk/download.html?v=archives/android-sdk-windows-1.1_r1.zip">android-sdk-
140+
href="http://dl.google.com/android/archives/android-sdk-windows-1.1_r1.zip">android-sdk-
141141
windows-1
142142
.1_r1.zip</a>
143143
</td>
@@ -148,7 +148,7 @@ windows-1
148148
<td>Mac OS X (intel)</td>
149149
<td>
150150
<a
151-
href="/sdk/download.html?v=archives/android-sdk-mac_x86-1.1_r1.zip">android-sdk-
151+
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.1_r1.zip">android-sdk-
152152
mac_x86-1
153153
.1_r1.zip</a>
154154
</td>
@@ -159,7 +159,7 @@ mac_x86-1
159159
<td>Linux (i386)</td>
160160
<td>
161161
<a
162-
href="/sdk/download.html?v=archives/android-sdk-linux_x86-1.1_r1.zip">android-
162+
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.1_r1.zip">android-
163163
sdk-
164164
linux_x86-1.1_r1.zip</a>
165165
</td>
@@ -185,7 +185,7 @@ Notes</a></em></p>
185185
<td>Windows</td>
186186
<td>
187187
<a
188-
href="/sdk/download.html?v=archives/android-sdk-windows-1.0_r2.zip">android-sdk-
188+
href="http://dl.google.com/android/archives/android-sdk-windows-1.0_r2.zip">android-sdk-
189189
windows-1
190190
.0_r2.zip</a>
191191
</td>
@@ -196,7 +196,7 @@ windows-1
196196
<td>Mac OS X (intel)</td>
197197
<td>
198198
<a
199-
href="/sdk/download.html?v=archives/android-sdk-mac_x86-1.0_r2.zip">android-sdk-
199+
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.0_r2.zip">android-sdk-
200200
mac_x86-1
201201
.0_r2.zip</a>
202202
</td>
@@ -207,7 +207,7 @@ mac_x86-1
207207
<td>Linux (i386)</td>
208208
<td>
209209
<a
210-
href="/sdk/download.html?v=archives/android-sdk-linux_x86-1.0_r2.zip">android-
210+
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.0_r2.zip">android-
211211
sdk-
212212
linux_x86-1.0_r2.zip</a>
213213
</td>
@@ -241,7 +241,7 @@ Notes</a></em></p>
241241
<td>Windows</td>
242242
<td>
243243
<a
244-
href="/sdk/download.html?v=archives/android-sdk-windows-1.5_r2.zip">android-sdk-
244+
href="http://dl.google.com/android/archives/android-sdk-windows-1.5_r2.zip">android-sdk-
245245
windows-1 .5_r2.zip</a>
246246
</td>
247247
<td>178346828 bytes</td>
@@ -251,7 +251,7 @@ windows-1 .5_r2.zip</a>
251251
<td>Mac OS X (intel)</td>
252252
<td>
253253
<a
254-
href="/sdk/download.html?v=archives/android-sdk-mac_x86-1.5_r2.zip">android-sdk-
254+
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.5_r2.zip">android-sdk-
255255
mac_x86-1 .5_r2.zip</a>
256256
</td>
257257
<td>169945128 bytes</td>
@@ -261,7 +261,7 @@ mac_x86-1 .5_r2.zip</a>
261261
<td>Linux (i386)</td>
262262
<td>
263263
<a
264-
href="/sdk/download.html?v=archives/android-sdk-linux_x86-1.5_r2.zip">android-
264+
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.5_r2.zip">android-
265265
sdk- linux_x86-1.5_r2.zip</a>
266266
</td>
267267
<td>165035130 bytes</td>
@@ -286,7 +286,7 @@ Notes</a></em></p>
286286
<td>Windows</td>
287287
<td>
288288
<a
289-
href="/sdk/download.html?v=archives/android-sdk-windows-1.5_r1.zip">android-sdk-
289+
href="http://dl.google.com/android/archives/android-sdk-windows-1.5_r1.zip">android-sdk-
290290
windows-1 .5_r1.zip</a>
291291
</td>
292292
<td>176263368 bytes</td>
@@ -296,7 +296,7 @@ windows-1 .5_r1.zip</a>
296296
<td>Mac OS X (intel)</td>
297297
<td>
298298
<a
299-
href="/sdk/download.html?v=archives/android-sdk-mac_x86-1.5_r1.zip">android-sdk-
299+
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.5_r1.zip">android-sdk-
300300
mac_x86-1 .5_r1.zip</a>
301301
</td>
302302
<td>167848675 bytes</td>
@@ -306,7 +306,7 @@ mac_x86-1 .5_r1.zip</a>
306306
<td>Linux (i386)</td>
307307
<td>
308308
<a
309-
href="/sdk/download.html?v=archives/android-sdk-linux_x86-1.5_r1.zip">android-
309+
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.5_r1.zip">android-
310310
sdk- linux_x86-1.5_r1.zip</a>
311311
</td>
312312
<td>162938845 bytes</td>
@@ -331,7 +331,7 @@ Notes</a></em></p>
331331
<td>Windows</td>
332332
<td>
333333
<a
334-
href="/sdk/download.html?v=archives/android-sdk-windows-1.0_r1.zip">android-sdk-
334+
href="http://dl.google.com/android/archives/android-sdk-windows-1.0_r1.zip">android-sdk-
335335
windows-1 .0_r1.zip</a>
336336
</td>
337337
<td>89.7 MB bytes</td>
@@ -341,7 +341,7 @@ windows-1 .0_r1.zip</a>
341341
<td>Mac OS X (intel)</td>
342342
<td>
343343
<a
344-
href="/sdk/download.html?v=archives/android-sdk-mac_x86-1.0_r1.zip">android-sdk-
344+
href="http://dl.google.com/android/archives/android-sdk-mac_x86-1.0_r1.zip">android-sdk-
345345
mac_x86-1 .0_r1.zip</a>
346346
</td>
347347
<td>87.5 MB bytes</td>
@@ -351,7 +351,7 @@ mac_x86-1 .0_r1.zip</a>
351351
<td>Linux (i386)</td>
352352
<td>
353353
<a
354-
href="/sdk/download.html?v=archives/android-sdk-linux_x86-1.0_r1.zip">android-
354+
href="http://dl.google.com/android/archives/android-sdk-linux_x86-1.0_r1.zip">android-
355355
sdk- linux_x86-1.0_r1.zip</a>
356356
</td>
357357
<td>87.8 MB bytes</td>

0 commit comments

Comments
 (0)