summaryrefslogtreecommitdiffstats
path: root/docs/html/about
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/about')
-rw-r--r--docs/html/about/about_toc.cs1
-rw-r--r--docs/html/about/versions/android-1.6.jd6
-rw-r--r--docs/html/about/versions/android-4.0.3.jd14
-rw-r--r--docs/html/about/versions/android-4.0.jd10
-rw-r--r--docs/html/about/versions/android-4.1.jd4
-rw-r--r--docs/html/about/versions/android-5.1.jd124
6 files changed, 17 insertions, 142 deletions
diff --git a/docs/html/about/about_toc.cs b/docs/html/about/about_toc.cs
index 45e8eb3..a4bc4a5 100644
--- a/docs/html/about/about_toc.cs
+++ b/docs/html/about/about_toc.cs
@@ -10,7 +10,6 @@
es-lang="Lollipop">
<span class="en">Lollipop</span></a></div>
<ul>
- <li><a href="<?cs var:toroot ?>about/versions/android-5.1.html">Android 5.1 APIs</a></li>
<li><a href="<?cs var:toroot ?>about/versions/android-5.0.html"
zh-tw-lang="Android 5.0 API"
zh-cn-lang="Android 5.0 API"
diff --git a/docs/html/about/versions/android-1.6.jd b/docs/html/about/versions/android-1.6.jd
index 313b77a..8e97ff6 100644
--- a/docs/html/about/versions/android-1.6.jd
+++ b/docs/html/about/versions/android-1.6.jd
@@ -375,11 +375,11 @@ determining the density of the current device screen.</li>
<li>{@link android.Manifest.permission#INSTALL_LOCATION_PROVIDER INSTALL_LOCATION_PROVIDER}:
Allows an application to install a location provider into the Location Manager.
</li>
- <li>{@link android.Manifest.permission#READ_HISTORY_BOOKMARKS READ_HISTORY_BOOKMARKS}:
- Allows an application to read (but not write) the user's browsing history
+ <li>READ_HISTORY_BOOKMARKS:
+ Allows an application to read (but not write) the user's browsing history
and bookmarks.
</li>
- <li>{@link android.Manifest.permission#WRITE_HISTORY_BOOKMARKS WRITE_HISTORY_BOOKMARKS}:
+ <li>WRITE_HISTORY_BOOKMARKS:
Allows an application to write (but not read) the user's browsing history
and bookmarks.
</li>
diff --git a/docs/html/about/versions/android-4.0.3.jd b/docs/html/about/versions/android-4.0.3.jd
index 5fa8547..4c2ccb9 100644
--- a/docs/html/about/versions/android-4.0.3.jd
+++ b/docs/html/about/versions/android-4.0.3.jd
@@ -78,19 +78,19 @@ can now sync that data with each of the user’s contacts, providing items in a
stream along with photos for each.</p>
<p>The database table that contains an individual contact’s social stream is
-defined by {@link android.provider.ContactsContract.StreamItems}, the Uri for
+defined by android.provider.ContactsContract.StreamItems, the Uri for
which is nested within the {@link android.provider.ContactsContract.RawContacts}
directory to which the stream items belong. Each social stream table includes
several columns for metadata about each stream item, such as an icon
representing the source (an avatar), a label for the item, the primary text
content, comments about the item (such as responses from other people), and
more. Photos associated with a stream are stored in another table, defined by
-{@link android.provider.ContactsContract.StreamItemPhotos}, which is available
-as a sub-directory of the {@link android.provider.ContactsContract.StreamItems}
+android.provider.ContactsContract.StreamItemPhotos, which is available
+as a sub-directory of the android.provider.ContactsContract.StreamItems
Uri.</p>
-<p>See {@link android.provider.ContactsContract.StreamItems} and
-{@link android.provider.ContactsContract.StreamItemPhotos} for more information.</p>
+<p>See android.provider.ContactsContract.StreamItems and
+android.provider.ContactsContract.StreamItemPhotos for more information.</p>
<p>To read or write social stream items for a contact, an application must
request permission from the user by declaring <code>&lt;uses-permission
@@ -272,8 +272,8 @@ let you check and manage video stabilization for a {@link android.hardware.Camer
<p>The following are new permissions:</p>
<ul>
-<li>{@link android.Manifest.permission#READ_SOCIAL_STREAM} and
-{@link android.Manifest.permission#WRITE_SOCIAL_STREAM}: Allow a sync
+<li>android.Manifest.permission#READ_SOCIAL_STREAM and
+android.Manifest.permission#WRITE_SOCIAL_STREAM: Allow a sync
adapter to read and write social stream data to a contact in the shared
Contacts Provider.</li>
</ul>
diff --git a/docs/html/about/versions/android-4.0.jd b/docs/html/about/versions/android-4.0.jd
index 6c4ccb4..cc1d1c7 100644
--- a/docs/html/about/versions/android-4.0.jd
+++ b/docs/html/about/versions/android-4.0.jd
@@ -108,9 +108,9 @@ android.provider.ContactsContract.RawContacts} Uri; instead, you must add a prof
the table at {@link android.provider.ContactsContract.Profile#CONTENT_RAW_CONTACTS_URI}. Raw
contacts in this table are then aggregated into the single user-visible profile labeled "Me".</p>
-<p>Adding a new raw contact for the profile requires the {@link
-android.Manifest.permission#WRITE_PROFILE} permission. Likewise, in order to read from the profile
-table, you must request the {@link android.Manifest.permission#READ_PROFILE} permission. However,
+<p>Adding a new raw contact for the profile requires the
+android.Manifest.permission#WRITE_PROFILE permission. Likewise, in order to read from the profile
+table, you must request the android.Manifest.permission#READ_PROFILE permission. However,
most apps should not need to read the user profile, even when contributing data to the
profile. Reading the user profile is a sensitive permission and you should expect users to be
skeptical of apps that request it.</p>
@@ -1638,9 +1638,9 @@ messages to the device.</li>
android.service.textservice.SpellCheckerService} must require this permission for itself.</li>
<li>{@link android.Manifest.permission#BIND_VPN_SERVICE}: A service that implements {@link
android.net.VpnService} must require this permission for itself.</li>
-<li>{@link android.Manifest.permission#READ_PROFILE}: Provides read access to the {@link
+<li>android.Manifest.permission#READ_PROFILE: Provides read access to the {@link
android.provider.ContactsContract.Profile} provider.</li>
-<li>{@link android.Manifest.permission#WRITE_PROFILE}: Provides write access to the {@link
+<li>android.Manifest.permission#WRITE_PROFILE: Provides write access to the {@link
android.provider.ContactsContract.Profile} provider.</li>
</ul>
diff --git a/docs/html/about/versions/android-4.1.jd b/docs/html/about/versions/android-4.1.jd
index 76b90ac..f8770fa 100644
--- a/docs/html/about/versions/android-4.1.jd
+++ b/docs/html/about/versions/android-4.1.jd
@@ -871,7 +871,7 @@ read access using this permission. If your application already requests write a
automatically get read access as well. There is a new developer option to turn on read access
restriction, for developers to test their applications against how Android will behave in the
future.</dd>
- <dt>{@link android.Manifest.permission#READ_USER_DICTIONARY}</dt>
+ <dt>android.Manifest.permission.READ_USER_DICTIONARY</dt>
<dd>Allows an application to read the user dictionary. This should only be required by an
IME, or a dictionary editor like the Settings app.</dd>
<dt>{@link android.Manifest.permission#READ_CALL_LOG}</dt>
@@ -879,7 +879,7 @@ IME, or a dictionary editor like the Settings app.</dd>
incoming and outgoing calls.</dd>
<dt>{@link android.Manifest.permission#WRITE_CALL_LOG}</dt>
<dd>Allows an application to modify the system's call log stored on your phone</dd>
- <dt>{@link android.Manifest.permission#WRITE_USER_DICTIONARY}</dt>
+ <dt>android.Manifest.permission.WRITE_USER_DICTIONARY</dt>
<dd>Allows an application to write to the user's word dictionary.</dd>
</dl>
diff --git a/docs/html/about/versions/android-5.1.jd b/docs/html/about/versions/android-5.1.jd
deleted file mode 100644
index 1238680..0000000
--- a/docs/html/about/versions/android-5.1.jd
+++ /dev/null
@@ -1,124 +0,0 @@
-page.title=Android 5.1 APIs
-excludeFromSuggestions=true
-sdk.platform.version=5.1
-sdk.platform.apiLevel=22
-@jd:body
-
-
-<div id="qv-wrapper">
-<div id="qv">
-
-<h2>In this document
- <a href="#" onclick="hideNestedItems('#toc44',this);return false;" class="header-toggle">
- <span class="more">show more</span>
- <span class="less" style="display:none">show less</span></a></h2>
-
-<ol id="toc44" class="hide-nested">
- <li><a href="#ApiLevel">Update your target API level</a></li>
-
- <li><a href="#multisim">Multiple SIM Card Support</a></li>
- <li><a href="#http">Deprecated HTTP Classes</a></li>
- <li><a href="#carrier">Carrier Services</a></li>
-</ol>
-
-<h2>API Differences</h2>
-<ol>
-<li><a href="{@docRoot}sdk/api_diff/22/changes.html">API level 21 to 22 &raquo;</a> </li>
-</ol>
-
-<h2>See Also</h2>
-<ol>
-<li><a href="{@docRoot}about/versions/lollipop.html">Android Lollipop Highlights</a> </li>
-</ol>
-
-
-</div>
-</div>
-
-<p>API Level: {@sdkPlatformApiLevel}</p>
-
-<p>
- Android 5.1
- (<a href="{@docRoot}reference/android/os/Build.VERSION_CODES.html#LOLLIPOP_MR1">LOLLIPOP_MR1</a>)
- is an update to the Lollipop release that offers new features for users and app developers.
- This document provides an introduction to the most notable new APIs.
-</p>
-
-<p>
- For a high-level look at the new platform features, see the <a href=
- "{@docRoot}about/versions/lollipop.html">Android Lollipop highlights</a>.
-</p>
-
-
-<h3 id="ApiLevel">Update your target API level</h3>
-
-<p>
- To start building apps for Android 5.1, use the
- <a href="{@docRoot}tools/help/sdk-manager.html">SDK Manager</a> to download the Android 5.1 SDK
- Platform and System Images. Then set your app development project to use a
- <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code targetSdkVersion}</a>
- of <code>"{@sdkPlatformApiLevel}"</code>. Install your app on an Android {@sdkPlatformVersion}
- system image, test it, then publish the updated app with this change.
-</p>
-
-<p>
- You can use Android {@sdkPlatformVersion} APIs while also supporting older versions by adding
- conditions to your code that check for the system API level before executing APIs not supported
- by your <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
- minSdkVersion}</a>. To learn more about maintaining backward compatibility, read <a href=
- "{@docRoot}training/basics/supporting-devices/platforms.html">Supporting Different Platform
- Versions</a>.
-</p>
-
-<p>
- For more information about how API levels work, read <a href=
- "{@docRoot}guide/topics/manifest/uses-sdk-element.html#ApiLevels">What is API Level?</a>
-</p>
-
-<h2 id="multisim">Multiple SIM Card Support</h2>
-
-<p>
- Android 5.1 adds support for using more than one cellular carrier SIM card at a time. This
- feature lets users activate and use additional SIMs on devices that have two or more SIM card
- slots.
-</p>
-
-<p>
- You can access information about the currently active SIM through the {@link
- android.telephony.SubscriptionManager} class, including whether or not the device is considered
- to be roaming on the current network. This information is useful for developers who want to
- throttle their apps' data access down or off for device users who are sensitive to data access
- charges. Your app can be alerted to changes in a device's current network connection by
- requesting the {@link android.Manifest.permission#READ_PHONE_STATE} permission and setting {@link
- android.telephony.SubscriptionManager.OnSubscriptionsChangedListener} on the {@link
- android.telephony.SubscriptionManager} object.
-</p>
-
-
-<h2 id="http">Deprecated HTTP Classes</h2>
-
-<p>
- The {@code org.apache.http} classes and the {@link android.net.http.AndroidHttpClient} class
- have been deprecated in Android 5.1. These classes are no longer being maintained and you should
- migrate any app code using these APIs to the {@link java.net.URLConnection} classes as soon as
- possible.
-</p>
-
-
-<h2 id="carrier">Carrier Services</h2>
-
-<p>
- Android 5.1 provides support for telecommunication service providers to create apps that can
- perform carrier provisioning tasks on an Android device. These APIs provide a secure and flexible
- way for carrier-developed apps to perform these tasks and be distributed through Google Play. Apps
- that use these functions must be signed by a certificate that matches the certificate in the
- device's Universal Integrated Circuit Card (UICC).
-</p>
-
-<p>
- The carrier service APIs have been added to the {@link android.telephony.TelephonyManager} class,
- the {@link android.telephony.SmsManager} class, and the new {@link
- android.service.carrier.CarrierMessagingService} class. Apps can check for access to these APIs
- by calling the {@link android.telephony.TelephonyManager#hasCarrierPrivileges} method. Apps that
- call these APIs without access receive a {@link java.lang.SecurityException}.
-</p>