Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71427bae authored by Scott Main's avatar Scott Main
Browse files

docs: fix broken link

Change-Id: I24c44689713f7b27acde1d0b023598a5f7e6bb3b
parent ffad98c7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -56,7 +56,8 @@ but it's especially important on Android because it allows you to define alterna
different screen sizes. For example, you can create two versions of a layout and tell
the system to use one on "small" screens and the other on "large" screens. For more information,
see the class about <a
href="{@docRoot}training/supporting-hardware/index.html">Supporting Various Hardware</a>.</p>
href="{@docRoot}training/basics/supporting-devices/index.html">Supporting Different
Hardware</a>.</p>
</div>
</div>

+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ next.link=building-ui.html
</div> 


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

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

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

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



+2 −3
Original line number Diff line number Diff line
@@ -63,9 +63,8 @@ API level to the latest release:
Android or don't exist in the platform at all and merely provide additional support to you when
developing specific application features.</p>

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

<div class="warning"><p><strong>Warning:</strong> To be sure that you don't accidentally use new
APIs on an older system version, be certain that you import the {@link
+9 −1
Original line number Diff line number Diff line
@@ -143,7 +143,15 @@ private boolean isSameProvider(String provider1, String provider2) {

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

<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>
<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="{@docRoot}training/basics/activity-lifecycle/stopping.html">Stopping and Restarting an
Activity</a> lesson.</p>

<pre>
protected void onStop() {
+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

Loading