Skip to content

Commit cdb3f9c

Browse files
scottamainAndroid (Google) Code Review
authored andcommitted
Merge "docs: add api overview for jb" into jb-dev
2 parents aa16a2e + 60dd520 commit cdb3f9c

File tree

7 files changed

+894
-10
lines changed

7 files changed

+894
-10
lines changed

core/java/android/content/Context.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ public abstract SQLiteDatabase openOrCreateDatabase(String name,
872872
*
873873
* @throws ActivityNotFoundException
874874
*
875-
* @see {@link #startActivity(Intent)}
875+
* @see #startActivity(Intent)
876876
* @see PackageManager#resolveActivity
877877
*/
878878
public abstract void startActivity(Intent intent, Bundle options);

docs/html/about/about_toc.cs

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@
22

33
<li class="nav-section">
44
<div class="nav-section-header"><a href="<?cs var:toroot?>about/index.html">Welcome</a></div>
5-
<ul>
6-
<!-- <li><a href="<?cs var:toroot ?>about/marketplace.html">Open Marketplace</a></li>
7-
8-
<li><a href="<?cs var:toroot ?>about/flexible.html">Flexible Framework</a></li>
9-
-->
5+
<ul>
106
<li><a href="<?cs var:toroot?>about/start.html">Get Started</a></li>
117
</ul>
128
</li>
139

10+
<li class="nav-section">
11+
<div class="nav-section-header"><a href="<?cs var:toroot ?>about/versions/jelly-bean.html">
12+
<span class="en">Jelly Bean</span></a></div>
13+
<ul>
14+
<li><a href="<?cs var:toroot ?>about/versions/android-4.1.html">Android 4.1 APIs</a></li>
15+
</ul>
16+
</li>
17+
1418
<li class="nav-section">
1519
<div class="nav-section-header"><a href="<?cs var:toroot ?>about/versions/android-4.0-highlights.html">
1620
<span class="en">Ice Cream Sandwich</span></a></div>

docs/html/about/versions/android-4.0.jd

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
page.title=Android 4.0 Platform
2-
sdk.platform.version=4.0
3-
sdk.platform.apiLevel=14
1+
page.title=Android 4.1 API Overview
42
@jd:body
53

64
<div id="qv-wrapper">
@@ -1402,7 +1400,7 @@ href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code targe
14021400

14031401

14041402

1405-
<h4>Controls for system UI visibility</h4>
1403+
<h4 id="SystemUI">Controls for system UI visibility</h4>
14061404

14071405
<p>Since the early days of Android, the system has managed a UI component known as the <em>status
14081406
bar</em>, which resides at the top of handset devices to deliver information such as the carrier

docs/html/about/versions/android-4.1.jd

Lines changed: 846 additions & 0 deletions
Large diffs are not rendered by default.

docs/html/guide/topics/manifest/activity-element.jd

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ parent.link=manifest-intro.html
2424
android:<a href="#multi">multiprocess</a>=["true" | "false"]
2525
android:<a href="#nm">name</a>="<i>string</i>"
2626
android:<a href="#nohist">noHistory</a>=["true" | "false"] <!-- ##api level 3## -->
27+
android:<a href="#parent">parentActivityName</a>="<i>string</i>" <!-- api level 16 -->
2728
android:<a href="#prmsn">permission</a>="<i>string</i>"
2829
android:<a href="#proc">process</a>="<i>string</i>"
2930
android:<a href="#screen">screenOrientation</a>=["unspecified" | "user" | "behind" |
@@ -562,6 +563,24 @@ so the user will not be able to return to it.
562563
<p>
563564
This attribute was introduced in API Level 3.
564565
</p>
566+
</dd>
567+
568+
<!-- api level 16 -->
569+
<dt><a name="parent"></a>{@code android:parentActivityName}</dt>
570+
<dd>The class name of the logical parent of the activity. The name here must be formatted
571+
the same as the corresponding activity is declared in its own
572+
<a href="#nm">android:name</a>.
573+
574+
<p>The system reads this attribute to determine which activity should be started when
575+
the use presses the Up button in the action bar. The system can also use this information to
576+
synthesize a back stack of activities with {@link android.app.TaskStackBuilder}.</p>
577+
578+
<p>
579+
This attribute was introduced in API Level 16.
580+
</p>
581+
</dd>
582+
583+
565584

566585
<dt><a name="prmsn"></a>{@code android:permission}</dt>
567586
<dd>The name of a permission that clients must have to launch the activity

docs/html/guide/topics/manifest/service-element.jd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ parent.link=manifest-intro.html
88
<dd><pre class="stx">&lt;service android:<a href="#enabled">enabled</a>=["true" | "false"]
99
android:<a href="#exported">exported</a>=["true" | "false"]
1010
android:<a href="#icon">icon</a>="<i>drawable resource</i>"
11+
android:<a href="#isolated">isolatedProcess</a>=["true" | "false"]
1112
android:<a href="#label">label</a>="<i>string resource</i>"
1213
android:<a href="#nm">name</a>="<i>string</i>"
1314
android:<a href="#prmsn">permission</a>="<i>string</i>"
@@ -92,6 +93,12 @@ default icon for all the service's intent filters (see the
9293
<code><a href="{@docRoot}guide/topics/manifest/intent-filter-element.html#icon">icon</a></code> attribute).
9394
</p></dd>
9495

96+
<dt><a name="isolated"></a>{@code android:isolatedProcess}</dt>
97+
<dd>If set to true, this service will run under a special process that is isolated from the
98+
rest of the system and has no permissions of its own.
99+
The only communication with it is through the Service API
100+
(binding and starting).</dd>
101+
95102
<dt><a name="label"></a>{@code android:label}</dt>
96103
<dd>A name for the service that can be displayed to users.
97104
If this attribute is not set, the label set for the application as a whole is

docs/html/guide/topics/manifest/uses-feature-element.jd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,16 @@ device. </td>
705705
device.</td>
706706
</tr>
707707

708+
<tr>
709+
<td>Television</td>
710+
<td><code>android.hardware.type.television</code></td>
711+
<td>The application is designed for a television user experience.</td>
712+
<td>>This feature defines "television" to be a typical living room television experience:
713+
displayed on a big screen, where the user is sitting far away and the dominant form of
714+
input is be something like a d-pad, and generally not through touch or a
715+
mouse/pointer-device.</td>
716+
</tr>
717+
708718
<tr>
709719
<td rowspan="7">Touchscreen</td>
710720
<td><code>android.hardware.faketouch</code></td>

0 commit comments

Comments
 (0)