Skip to content

Commit cac15eb

Browse files
joefernandezAndroid (Google) Code Review
authored andcommitted
Merge "docs: add developer guide cross-references, Project ACRE"
2 parents 30433b8 + b54e7a3 commit cac15eb

File tree

14 files changed

+107
-48
lines changed

14 files changed

+107
-48
lines changed

core/java/android/app/ActionBar.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,18 @@
4343
* modify various characteristics of the action bar or remove it completely.</p>
4444
* <p>From your activity, you can retrieve an instance of {@link ActionBar} by calling {@link
4545
* android.app.Activity#getActionBar getActionBar()}.</p>
46-
* <p>For information about how to use the action bar, including how to add action items, navigation
47-
* modes and more, read the <a href="{@docRoot}guide/topics/ui/actionbar.html">Action
48-
* Bar</a> developer guide.</p>
4946
* <p>In some cases, the action bar may be overlayed by another bar that enables contextual actions,
5047
* using an {@link android.view.ActionMode}. For example, when the user selects one or more items in
5148
* your activity, you can enable an action mode that offers actions specific to the selected
5249
* items, with a UI that temporarily replaces the action bar. Although the UI may occupy the
5350
* same space, the {@link android.view.ActionMode} APIs are distinct and independent from those for
5451
* {@link ActionBar}.
52+
* <div class="special reference">
53+
* <h3>Developer Guides</h3>
54+
* <p>For information about how to use the action bar, including how to add action items, navigation
55+
* modes and more, read the <a href="{@docRoot}guide/topics/ui/actionbar.html">Action
56+
* Bar</a> developer guide.</p>
57+
* </div>
5558
*/
5659
public abstract class ActionBar {
5760
/**

core/java/android/app/Activity.java

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,6 @@
111111
* {@link android.R.styleable#AndroidManifestActivity &lt;activity&gt;}
112112
* declaration in their package's <code>AndroidManifest.xml</code>.</p>
113113
*
114-
* <p>The Activity class is an important part of an application's overall lifecycle,
115-
* and the way activities are launched and put together is a fundamental
116-
* part of the platform's application model. For a detailed perspective on the structure of an
117-
* Android application and how activities behave, please read the
118-
* <a href="{@docRoot}guide/topics/fundamentals.html">Application Fundamentals</a> and
119-
* <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back Stack</a>
120-
* documents.</p>
121-
*
122-
* <p>You can also find a detailed discussion about how to create activities in the
123-
* <a href="{@docRoot}guide/topics/fundamentals/activities.html">Activities</a>
124-
* document.</p>
125-
*
126114
* <p>Topics covered here:
127115
* <ol>
128116
* <li><a href="#Fragments">Fragments</a>
@@ -133,7 +121,22 @@
133121
* <li><a href="#Permissions">Permissions</a>
134122
* <li><a href="#ProcessLifecycle">Process Lifecycle</a>
135123
* </ol>
136-
*
124+
*
125+
* <div class="special reference">
126+
* <h3>Developer Guides</h3>
127+
* <p>The Activity class is an important part of an application's overall lifecycle,
128+
* and the way activities are launched and put together is a fundamental
129+
* part of the platform's application model. For a detailed perspective on the structure of an
130+
* Android application and how activities behave, please read the
131+
* <a href="{@docRoot}guide/topics/fundamentals.html">Application Fundamentals</a> and
132+
* <a href="{@docRoot}guide/topics/fundamentals/tasks-and-back-stack.html">Tasks and Back Stack</a>
133+
* developer guides.</p>
134+
*
135+
* <p>You can also find a detailed discussion about how to create activities in the
136+
* <a href="{@docRoot}guide/topics/fundamentals/activities.html">Activities</a>
137+
* developer guide.</p>
138+
* </div>
139+
*
137140
* <a name="Fragments"></a>
138141
* <h3>Fragments</h3>
139142
*

core/java/android/app/Fragment.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,6 @@ public FragmentState[] newArray(int size) {
162162
* constructor to instantiate it. If the empty constructor is not available,
163163
* a runtime exception will occur in some cases during state restore.
164164
*
165-
* <p>For more documentation, also see the <a
166-
* href="{@docRoot}guide/topics/fundamentals/fragments.html">Fragments</a> developer guide.</p>
167-
*
168165
* <p>Topics covered here:
169166
* <ol>
170167
* <li><a href="#OlderPlatforms">Older Platforms</a>
@@ -173,6 +170,12 @@ public FragmentState[] newArray(int size) {
173170
* <li><a href="#BackStack">Back Stack</a>
174171
* </ol>
175172
*
173+
* <div class="special reference">
174+
* <h3>Developer Guides</h3>
175+
* <p>For more information about using fragments, read the
176+
* <a href="{@docRoot}guide/topics/fundamentals/fragments.html">Fragments</a> developer guide.</p>
177+
* </div>
178+
*
176179
* <a name="OlderPlatforms"></a>
177180
* <h3>Older Platforms</h3>
178181
*

core/java/android/app/FragmentManager.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@
4545
/**
4646
* Interface for interacting with {@link Fragment} objects inside of an
4747
* {@link Activity}
48+
*
49+
* <div class="special reference">
50+
* <h3>Developer Guides</h3>
51+
* <p>For more information about using fragments, read the
52+
* <a href="{@docRoot}guide/topics/fundamentals/fragments.html">Fragments</a> developer guide.</p>
53+
* </div>
4854
*/
4955
public abstract class FragmentManager {
5056
/**

core/java/android/app/FragmentTransaction.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
/**
44
* API for performing a set of Fragment operations.
5+
*
6+
* <div class="special reference">
7+
* <h3>Developer Guides</h3>
8+
* <p>For more information about using fragments, read the
9+
* <a href="{@docRoot}guide/topics/fundamentals/fragments.html">Fragments</a> developer guide.</p>
10+
* </div>
511
*/
612
public abstract class FragmentTransaction {
713
/**

core/java/android/app/IntentService.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@
4141
* long as necessary (and will not block the application's main loop), but
4242
* only one request will be processed at a time.
4343
*
44+
* <div class="special reference">
45+
* <h3>Developer Guides</h3>
46+
* <p>For a detailed discussion about how to create services, read the
47+
* <a href="{@docRoot}guide/topics/fundamentals/services.html">Services</a> developer guide.</p>
48+
* </div>
49+
*
4450
* @see android.os.AsyncTask
4551
*/
4652
public abstract class IntentService extends Service {

core/java/android/app/LoaderManager.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@
4747
*
4848
* {@sample development/samples/ApiDemos/src/com/example/android/apis/app/LoaderCursor.java
4949
* fragment_cursor}
50+
*
51+
* <div class="special reference">
52+
* <h3>Developer Guides</h3>
53+
* <p>For more information about using loaders, read the
54+
* <a href="{@docRoot}guide/topics/fundamentals/loaders.html">Loaders</a> developer guide.</p>
55+
* </div>
5056
*/
5157
public abstract class LoaderManager {
5258
/**

core/java/android/app/Service.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@
5050
* Threads</a>. The {@link IntentService} class is available
5151
* as a standard implementation of Service that has its own thread where it
5252
* schedules its work to be done.</p>
53-
*
54-
* <p>You can find a detailed discussion about how to create services in the
55-
* <a href="{@docRoot}guide/topics/fundamentals/services.html">Services</a>
56-
* document.</p>
5753
*
5854
* <p>Topics covered here:
5955
* <ol>
@@ -64,7 +60,13 @@
6460
* <li><a href="#LocalServiceSample">Local Service Sample</a>
6561
* <li><a href="#RemoteMessengerServiceSample">Remote Messenger Service Sample</a>
6662
* </ol>
67-
*
63+
*
64+
* <div class="special reference">
65+
* <h3>Developer Guides</h3>
66+
* <p>For a detailed discussion about how to create services, read the
67+
* <a href="{@docRoot}guide/topics/fundamentals/services.html">Services</a> developer guide.</p>
68+
* </div>
69+
*
6870
* <a name="WhatIsAService"></a>
6971
* <h3>What is a Service?</h3>
7072
*

core/java/android/content/BroadcastReceiver.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,14 @@
9090
* <li><a href="#Permissions">Permissions</a>
9191
* <li><a href="#ProcessLifecycle">Process Lifecycle</a>
9292
* </ol>
93-
*
93+
*
94+
* <div class="special reference">
95+
* <h3>Developer Guides</h3>
96+
* <p>For information about how to use this class to receive and resolve intents, read the
97+
* <a href="{@docRoot}guide/topics/intents/intents-filters.html">Intents and Intent Filters</a>
98+
* developer guide.</p>
99+
* </div>
100+
*
94101
* <a name="ReceiverLifecycle"></a>
95102
* <h3>Receiver Lifecycle</h3>
96103
*

core/java/android/content/Intent.java

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,21 @@
5555
* {@link android.content.Context#bindService} to communicate with a
5656
* background {@link android.app.Service}.
5757
*
58-
* <p>An Intent provides a facility for performing late runtime binding between
59-
* the code in different applications. Its most significant use is in the
60-
* launching of activities, where it can be thought of as the glue between
61-
* activities. It is
62-
* basically a passive data structure holding an abstract description of an
63-
* action to be performed. The primary pieces of information in an intent
64-
* are:</p>
58+
* <p>An Intent provides a facility for performing late runtime binding between the code in
59+
* different applications. Its most significant use is in the launching of activities, where it
60+
* can be thought of as the glue between activities. It is basically a passive data structure
61+
* holding an abstract description of an action to be performed.</p>
62+
*
63+
* <div class="special reference">
64+
* <h3>Developer Guides</h3>
65+
* <p>For information about how to create and resolve intents, read the
66+
* <a href="{@docRoot}guide/topics/intents/intents-filters.html">Intents and Intent Filters</a>
67+
* developer guide.</p>
68+
* </div>
69+
*
70+
* <a name="IntentStructure"></a>
71+
* <h3>Intent Structure</h3>
72+
* <p>The primary pieces of information in an intent are:</p>
6573
*
6674
* <ul>
6775
* <li> <p><b>action</b> -- The general action to be performed, such as

0 commit comments

Comments
 (0)