Skip to content

Commit 71427ba

Browse files
committed
docs: fix broken link
Change-Id: I24c44689713f7b27acde1d0b023598a5f7e6bb3b
1 parent ffad98c commit 71427ba

File tree

7 files changed

+19
-10
lines changed

7 files changed

+19
-10
lines changed

docs/html/training/basics/firstapp/building-ui.jd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ but it's especially important on Android because it allows you to define alterna
5656
different screen sizes. For example, you can create two versions of a layout and tell
5757
the system to use one on "small" screens and the other on "large" screens. For more information,
5858
see the class about <a
59-
href="{@docRoot}training/supporting-hardware/index.html">Supporting Various Hardware</a>.</p>
59+
href="{@docRoot}training/basics/supporting-devices/index.html">Supporting Different
60+
Hardware</a>.</p>
6061
</div>
6162
</div>
6263

docs/html/training/basics/firstapp/running-app.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ next.link=building-ui.html
3535
</div>
3636

3737

38-
<p>If you followed the <a href="{@docRoot}creating-project.html">previous lesson</a> to create an
38+
<p>If you followed the <a href="creating-project.html">previous lesson</a> to create an
3939
Android project, it includes a default set of "Hello World" source files that allow you to
4040
run the app right away.</p>
4141

docs/html/training/basics/firstapp/starting-activity.jd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ can also be <em>implicit</em>, in which case the {@link android.content.Intent}
128128
the desired component, but allows any app installed on the device to respond to the intent
129129
as long as it satisfies the meta-data specifications for the action that's specified in various
130130
{@link android.content.Intent} parameters. For more informations, see the class about <a
131-
href="{@docRoot}training/intents/index.html">Interacting with Other Apps</a>.</p>
131+
href="{@docRoot}training/basics/intents/index.html">Interacting with Other Apps</a>.</p>
132132
</div>
133133
</div>
134134

@@ -301,7 +301,8 @@ on Android 4.0.
301301

302302
<p>To learn more about building Android apps, continue to follow the
303303
basic training classes. The next class is <a
304-
href="{@docRoot}training/activity-lifecycle/index.html">Managing the Activity Lifecycle</a>.</p>
304+
href="{@docRoot}training/basics/activity-lifecycle/index.html">Managing the Activity
305+
Lifecycle</a>.</p>
305306

306307

307308

docs/html/training/basics/fragments/communicating.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ parent.link=index.html
44

55
trainingnavtop=true
66
previous.title=Building a Flexible UI
7-
previous.link=fragment-ui.html
7+
previous.link=fragment-ui.html
88

99
@jd:body
1010

docs/html/training/basics/fragments/creating.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ trainingnavtop=true
66
previous.title=Using the Android Support Library
77
previous.link=support-lib.html
88
next.title=Building a Flexible UI
9-
next.link=fragment-ui.html
9+
next.link=fragment-ui.html
1010

1111
@jd:body
1212

docs/html/training/basics/fragments/support-lib.jd

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ API level to the latest release:
6363
Android or don't exist in the platform at all and merely provide additional support to you when
6464
developing specific application features.</p>
6565

66-
<p>You can find all the API reference documentation for the Support Library included in the
67-
platform docs in the {@link android.support.v4} package. For which API references are available
68-
at {@link android.support.v4}.</p>
66+
<p>You can find all the API reference documentation for the Support Library in the
67+
platform docs at {@link android.support.v4.app android.support.v4.*}.</p>
6968

7069
<div class="warning"><p><strong>Warning:</strong> To be sure that you don't accidentally use new
7170
APIs on an older system version, be certain that you import the {@link

docs/html/training/basics/location/currentlocation.jd

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,15 @@ private boolean isSameProvider(String provider1, String provider2) {
143143

144144
<h2 id="TaskTerminateUpdates">Terminate Location Updates</h2>
145145

146-
<p>When you are done with using location data, you should terminate location update to reduce unnecessary consumption of power and network bandwidth. For example, if the user navigates away from an activity where location updates are displayed, you should stop location update by calling {@link android.location.LocationManager#removeUpdates(android.location.LocationListener) removeUpdates()} in {@link android.app.Activity#onStop()}. ({@link android.app.Activity#onStop()} is called when the activity is no longer visible. If you want to learn more about activity lifecycle, read up on the <a href="/training/basic-activity-lifecycle/stopping.html">Starting and Stopping an Activity</a> lesson.</p>
146+
<p>When you are done with using location data, you should terminate location update to reduce
147+
unnecessary consumption of power and network bandwidth. For example, if the user navigates away
148+
from an activity where location updates are displayed, you should stop location update by calling
149+
{@link android.location.LocationManager#removeUpdates(android.location.LocationListener)
150+
removeUpdates()} in {@link android.app.Activity#onStop()}. ({@link android.app.Activity#onStop()}
151+
is called when the activity is no longer visible. If you want to learn more about activity
152+
lifecycle, read up on the <a
153+
href="{@docRoot}training/basics/activity-lifecycle/stopping.html">Stopping and Restarting an
154+
Activity</a> lesson.</p>
147155

148156
<pre>
149157
protected void onStop() {

0 commit comments

Comments
 (0)