docs: Migrating icu4j-framework to permanent home

Bug: 30224272
Change-Id: I2d52a686f813d7299918abeb66be0a479ed49b70
This commit is contained in:
Eric Schmidt
2016-07-20 11:47:33 -07:00
parent bcce78731d
commit 10da34380a
3 changed files with 14 additions and 9 deletions

View File

@@ -1202,8 +1202,8 @@ redirects:
- from: /r/studio-ui/menu-start.html - from: /r/studio-ui/menu-start.html
to: /training/index.html?utm_medium=android-studio to: /training/index.html?utm_medium=android-studio
# N Preview redirects - from: /preview/features/icu4j-framework.html
to: /guide/topics/resources/icu4j-framework.html
- from: /preview/features/key-attestation.html - from: /preview/features/key-attestation.html
to: /training/articles/security-key-attestation.html to: /training/articles/security-key-attestation.html
- from: /preview/features/security-config.html - from: /preview/features/security-config.html

View File

@@ -69,6 +69,9 @@ toc:
path: /guide/topics/resources/runtime-changes.html path: /guide/topics/resources/runtime-changes.html
- title: Localization - title: Localization
path: /guide/topics/resources/localization.html path: /guide/topics/resources/localization.html
section:
- title: ICU4J Android Framework APIs
path: /guide/topics/resources/icu4j-framework.html
- title: Resource Types - title: Resource Types
path: /guide/topics/resources/available-resources.html path: /guide/topics/resources/available-resources.html
section: section:

View File

@@ -30,14 +30,16 @@ page.image=images/cards/card-nyc_2x.jpg
<p> <p>
ICU4J is an open-source, widely used set of Java libraries providing Unicode ICU4J is an open-source, widely used set of Java libraries providing Unicode
and globalization support for software applications. Android N and globalization support for software applications. Starting in Android 7.0
exposes a subset of the ICU4J APIs in the Android framework for app developers (API level 24), Android
exposes a subset of the ICU4J APIs for app developers
to use under the {@code android.icu} package. These APIs use to use under the {@code android.icu} package. These APIs use
localization data present on the device. As a result, you can reduce your APK localization data present on the device. As a result, you can reduce your APK
footprint by not compiling the ICU4J libraries into your APK; instead, you can footprint by not compiling the ICU4J libraries into your APK; instead, you can
simply call out to them in the framework. (In this case, you may want to provide simply call out to them in the framework. (In this case, you may want to provide
<a href="{@docRoot}google/play/publishing/multiple-apks.html">multiple versions <a href="{@docRoot}google/play/publishing/multiple-apks.html">multiple versions
of your APK</a>, so users running versions of Android lower than Android N of your APK</a>, so users running versions of Android lower than
Android 7.0 (API level 24)
can download a version of the app that contains the ICU4J libraries.) can download a version of the app that contains the ICU4J libraries.)
</p> </p>
@@ -51,17 +53,17 @@ page.image=images/cards/card-nyc_2x.jpg
<h2 id="relation">Relationship to ICU4J</h2> <h2 id="relation">Relationship to ICU4J</h2>
<p> <p>
Android N exposes a subset of the ICU4J APIs via the Android exposes a subset of the ICU4J APIs via the
<code>android.icu</code> package, rather than <code>com.ibm.icu</code>. The <code>android.icu</code> package, rather than <code>com.ibm.icu</code>. The
Android framework may choose not to Android framework may choose not to
expose ICU4J APIs for various reasons; for example, Android N does not expose expose ICU4J APIs for various reasons; for example, Android does not expose
some deprecated APIs or those that the ICU team have not yet declared as some deprecated APIs or those that the ICU team have not yet declared as
stable. As the ICU team deprecates APIs in the future, Android will also mark stable. As the ICU team deprecates APIs in the future, Android will also mark
them as deprecated but will continue to include them. them as deprecated but will continue to include them.
</p> </p>
<p class="table-caption"><strong>Table 1.</strong> ICU and CLDR versions used <p class="table-caption"><strong>Table 1.</strong> ICU and CLDR versions used
in Android N.</p> in Android].</p>
<table> <table>
<tr> <tr>
<th>Android API level</th> <th>Android API level</th>
@@ -69,7 +71,7 @@ page.image=images/cards/card-nyc_2x.jpg
<th>CLDR version</th> <th>CLDR version</th>
</tr> </tr>
<tr> <tr>
<td>Android N</td> <td>Android 7.0 (API level 24)</td>
<td>56</td> <td>56</td>
<td>28</td> <td>28</td>
</tr> </tr>