Skip to content

Commit 7d48a82

Browse files
scottamainAndroid Git Automerger
authored andcommitted
am f90f4ed: docs: fix more broken links
* commit 'f90f4ed19c1bd7e0492c1aa1494a1d8ed5185275': docs: fix more broken links
2 parents eff0c08 + f90f4ed commit 7d48a82

File tree

6 files changed

+22
-16
lines changed

6 files changed

+22
-16
lines changed

docs/html/training/accessibility/accessible-app.jd

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,14 @@ cues are needed.</p>
5050

5151
<p>Fortunately, it's easy to add labels to UI elements in your application that
5252
can be read out loud to your user by a speech-based accessibility service like <a
53-
href="https://market.android.com/details?id=com.google.android.marvin.talkback">TalkBack</a>.
53+
href="https://play.google.com/store/apps/details?id=com.google.android.marvin.talkback">TalkBack</a>
54+
.
5455
If you have a label that's likely not to change during the lifecycle of the
5556
application (such as "Pause" or "Purchase"), you can add it via the XML layout,
5657
by setting a UI element's <a
57-
href="{@docRoot}reference/android/view.View#attr_android:contentDescription">android:contentDescription</a> attribute, like in this
58+
59+
href="{@docRoot}reference/android/view/View.html#attr_android:contentDescription"
60+
>{@code android:contentDescription}</a> attribute, like in this
5861
example:</p>
5962
<pre>
6063
&lt;Button
@@ -83,7 +86,7 @@ the noise a user needs to navigate in order to pull useful information from your
8386
interface.</p>
8487

8588
<p>Try it out! Download <a
86-
href="https://market.android.com/details?id=com.google.android.marvin.talkback">TalkBack</a>
89+
href="https://play.google.com/store/apps/details?id=com.google.android.marvin.talkback">TalkBack</a>
8790
(an accessibility service published by Google) and enable it in <strong>Settings
8891
&gt; Accessibility &gt; TalkBack</strong>. Then navigate around your own
8992
application and listen for the audible cues provided by TalkBack.</p>
@@ -101,21 +104,21 @@ modification can be
101104
done at runtime using the
102105
{@link android.view.View#setFocusable View.setFocusable()} method on that UI
103106
control, or by setting the <a
104-
href="{@docRoot}android.view.View#attr_android:focusable">{@code
107+
href="{@docRoot}reference/android/view/View.html#attr_android:focusable">{@code
105108
android:focusable}</a>
106109
attrubute in your XML layout files.</p>
107110

108111
<p>Also, each UI control has 4 attributes,
109-
<a href="{@docRoot}reference/android/view/View#attr_android:nextFocusUp">{@code
112+
<a href="{@docRoot}reference/android/view/View.html#attr_android:nextFocusUp">{@code
110113
android:nextFocusUp}</a>,
111114
<a
112-
href="{@docRoot}reference/android/view/View#attr_android:nextFocusDown">{@code
115+
href="{@docRoot}reference/android/view/View.html#attr_android:nextFocusDown">{@code
113116
android:nextFocusDown}</a>,
114117
<a
115-
href="{@docRoot}reference/android/view/View#attr_android:nextFocusLeft">{@code
118+
href="{@docRoot}reference/android/view/View.html#attr_android:nextFocusLeft">{@code
116119
android:nextFocusLeft}</a>,
117120
and <a
118-
href="{@docRoot}reference/android/view/View#attr_android:nextFocusRight">{@code
121+
href="{@docRoot}reference/android/view/View.html#attr_android:nextFocusRight">{@code
119122
android:nextFocusRight}</a>,
120123
which you can use to designate
121124
the next view to receive focus when the user navigates in that direction. While
@@ -178,7 +181,8 @@ public void onTextChanged(String before, String after) {
178181
<p>Be sure to test the accessibility functionality as you add it to your
179182
application. In order to test the content descriptions and Accessibility
180183
events, install and enable an accessibility service. One option is <a
181-
href="https://play.google.com/store/details?id=com.google.android.marvin.talkback">Talkback</a>,
184+
href="https://play.google.com/store/apps/details?id=com.google.android.marvin.talkback">Talkback</a>
185+
,
182186
a free, open source screen reader available on Google Play. With the service
183187
enabled, test all the navigation flows through your application and listen to
184188
the spoken feedback.</p>

docs/html/training/displaying-bitmaps/display-bitmap.jd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ additional processing needs to be done, your UI grinds to a halt.</p>
315315
<p>The same asynchronous processing and caching methods from the previous section can be implemented
316316
here. However, you also need to wary of concurrency issues as the {@link android.widget.GridView}
317317
recycles its children views. To handle this, use the techniques discussed in the <a
318-
href="process-bitmap#concurrency">Processing Bitmaps Off the UI Thread</a> lesson. Here is the updated
318+
href="process-bitmap.html#concurrency">Processing Bitmaps Off the UI Thread</a> lesson. Here is the
319+
updated
319320
solution:</p>
320321

321322
<pre>

docs/html/training/search/backward-compat.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
page.title=Remaining Backward Compatible
22
trainingnavtop=true
33
previous.title=Storing and Searching for Data
4-
previous.link=search.html
4+
previous.link=search.html
55

66
@jd:body
77

docs/html/training/sharing/receive.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Intent Filters</a></li>
3434
from applications. Think about how users interact with your application, and what data types you
3535
want to receive from other applications. For example, a social networking application would likely
3636
be interested in receiving text content, like an interesting web URL, from another app. The
37-
<a href="https://play.google.com/store/details?id=com.google.android.apps.plus">Google+ Android
37+
<a href="https://play.google.com/store/apps/details?id=com.google.android.apps.plus">Google+ Android
3838
application</a>
3939
accepts both text <em>and</em> single or multiple images. With this app, a user can easily start a
4040
new Google+ post with photos from the Android Gallery app.</p>

docs/html/training/tv/optimizing-layouts-tv.jd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ cause out-of-memory errors in your app. To avoid this, follow these tips:
186186
{@link android.graphics.Bitmap} views that are no longer needed.
187187
</li>
188188
<li>Use {@link java.lang.ref.WeakReference} for storing references
189-
to {@link android.graphics.Bitmap} objects in a in-memory
190-
<a href="{@link java.util.Collection}.</li>
189+
to {@link android.graphics.Bitmap} objects in an in-memory
190+
{@link java.util.Collection}.</li>
191191
<li>If you fetch images from the network, use {@link android.os.AsyncTask}
192192
to fetch them and store them on the SD card for faster access.
193193
Never do network transactions on the application's UI thread.

docs/html/training/tv/unsupported-features-tv.jd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,9 @@ Android doesn't support touchscreen interaction for TV devices, most TVs don't h
8282
and interacting with a TV using a touchscreen is not consistent with the 10 foot environment. For
8383
these reasons, users interact with Android-powered TVs using a remote. In consideration of this,
8484
ensure that every control in your app can be accessed with the D-pad. Refer back to the previous two lessons
85-
<a href="{@docRoot}training/tv/optimizing-layouts-tv">Optimizing Layouts for TV</a> and
86-
<a href="{@docRoot}training/tv/optimizing-navigation-tv">Optimize Navigation for TV</a> for more details
85+
<a href="{@docRoot}training/tv/optimizing-layouts-tv.html">Optimizing Layouts for TV</a> and
86+
<a href="{@docRoot}training/tv/optimizing-navigation-tv.html">Optimize Navigation for TV</a> for
87+
more details
8788
on this topic. The Android system assumes that a device has a touchscreen, so if you want your application
8889
to run on a TV, you must <strong>explicitly</strong> disable the touchscreen requirement in your manifest file:
8990
<pre>

0 commit comments

Comments
 (0)