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

Commit bca9f1bb authored by Dirk Dougherty's avatar Dirk Dougherty
Browse files

sdk doc change for esr: updates for android 1.6 r2, tools r4, api levels.

Bug: 2160782
Change-Id: Ia576dc9b2312d89bbe194d94640c3cc79216067b
parent 0d631b9b
Loading
Loading
Loading
Loading
+6 −5
Original line number Original line Diff line number Diff line
@@ -345,6 +345,7 @@ framework_docs_LOCAL_DROIDDOC_OPTIONS := \
    -since ./frameworks/base/api/3.xml 3 \
    -since ./frameworks/base/api/3.xml 3 \
    -since ./frameworks/base/api/4.xml 4 \
    -since ./frameworks/base/api/4.xml 4 \
    -since ./frameworks/base/api/5.xml 5 \
    -since ./frameworks/base/api/5.xml 5 \
    -since ./frameworks/base/api/6.xml 6 \
		-error 1 -error 2 -warning 3 -error 4 -error 6 -error 8 \
		-error 1 -error 2 -warning 3 -error 4 -error 6 -error 8 \
		-overview $(LOCAL_PATH)/core/java/overview.html
		-overview $(LOCAL_PATH)/core/java/overview.html


@@ -373,7 +374,7 @@ web_docs_sample_code_flags := \


## SDK version identifiers used in the published docs
## SDK version identifiers used in the published docs
  # major[.minor] version for current SDK. (full releases only)
  # major[.minor] version for current SDK. (full releases only)
framework_docs_SDK_VERSION:=2.0
framework_docs_SDK_VERSION:=2.0.1
  # release version (ie "Release x")  (full releases only)
  # release version (ie "Release x")  (full releases only)
framework_docs_SDK_REL_ID:=1
framework_docs_SDK_REL_ID:=1
  # name of current SDK directory (full releases only)
  # name of current SDK directory (full releases only)
@@ -382,10 +383,10 @@ framework_docs_SDK_CURRENT_DIR:=$(framework_docs_SDK_VERSION)_r$(framework_docs_
framework_docs_SDK_PREVIEW:=0
framework_docs_SDK_PREVIEW:=0


## Latest ADT version identifiers, for reference from published docs
## Latest ADT version identifiers, for reference from published docs
framework_docs_ADT_VERSION:=0.9.4
framework_docs_ADT_VERSION:=0.9.5
framework_docs_ADT_DOWNLOAD:=ADT-0.9.4.zip
framework_docs_ADT_DOWNLOAD:=ADT-0.9.5.zip
framework_docs_ADT_BYTES:=3367536
framework_docs_ADT_BYTES:=3372982
framework_docs_ADT_CHECKSUM:=4cdecd72b3e28022d8a55891f13e7d43
framework_docs_ADT_CHECKSUM:=227ec538359fbe417ccde7f0ad614a96


framework_docs_LOCAL_DROIDDOC_OPTIONS += \
framework_docs_LOCAL_DROIDDOC_OPTIONS += \
		-hdf sdk.version $(framework_docs_SDK_VERSION) \
		-hdf sdk.version $(framework_docs_SDK_VERSION) \
+2 −1
Original line number Original line Diff line number Diff line
@@ -83,6 +83,7 @@ Android platform.</p>


<table>
<table>
  <tr><th>Platform Version</th><th>API Level</th></tr>
  <tr><th>Platform Version</th><th>API Level</th></tr>
  <tr><td>Android 2.0.1</td><td>6</td></tr>
  <tr><td>Android 2.0</td><td>5</td></tr>
  <tr><td>Android 2.0</td><td>5</td></tr>
  <tr><td>Android 1.6</td><td>4</td></tr>
  <tr><td>Android 1.6</td><td>4</td></tr>
  <tr><td>Android 1.5</td><td>3</td></tr>
  <tr><td>Android 1.5</td><td>3</td></tr>
@@ -111,7 +112,7 @@ the Android system itself. </p>
<p>Applications can use a manifest element provided by the framework API &mdash;
<p>Applications can use a manifest element provided by the framework API &mdash;
<code>&lt;uses-sdk&gt;</code> &mdash; to describe the minimum and maximum API
<code>&lt;uses-sdk&gt;</code> &mdash; to describe the minimum and maximum API
Levels under which they are able to run, as well as the preferred API Level that
Levels under which they are able to run, as well as the preferred API Level that
they are designed to support. The element offers two key attributes:</p>
they are designed to support. The element offers three key attributes:</p>


<ul>
<ul>
<li><code>android:minSdkVersion</code> &mdash; Specifies the minimum API Level
<li><code>android:minSdkVersion</code> &mdash; Specifies the minimum API Level
+1 −1
Original line number Original line Diff line number Diff line
@@ -45,7 +45,7 @@ samples/useless.xml
   11:17 This LinearLayout layout or its FrameLayout parent is useless</pre>
   11:17 This LinearLayout layout or its FrameLayout parent is useless</pre>


<p>The <code>layoutopt</code> tool is available in SDK Tools, Revision 3 or
<p>The <code>layoutopt</code> tool is available in SDK Tools, Revision 3 or
later. If you do not have SDK Tools 3 or later installed in your SDK, you can
later. If you do not have SDK Tools r3 or later installed in your SDK, you can
download it from the Android SDK repository site using the Android SDK and AVD
download it from the Android SDK repository site using the Android SDK and AVD
Manager. For information, see <a
Manager. For information, see <a
href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p>
href="{@docRoot}sdk/adding-components.html">Adding SDK Components</a>.</p>
+1 −3
Original line number Original line Diff line number Diff line
@@ -700,9 +700,7 @@ to the baseline screen configuration.</td>
example, if your application is designed to run on both Android 1.5 (API Level
example, if your application is designed to run on both Android 1.5 (API Level
3) and Android 1.6 (API Level 4 and higher), you can use the <code>-v4</code>
3) and Android 1.6 (API Level 4 and higher), you can use the <code>-v4</code>
qualifier to tag any resources that should be excluded when your application is
qualifier to tag any resources that should be excluded when your application is
running on Android 1.5 (API Level 3). Using the version qualifier is necessary
running on Android 1.5 (API Level 3).  </td>
in some cases, if the older platform is inadvertently loading resources from a
directory containing resources for a newer platform. </td>
</tr>
</tr>
</table>
</table>


+4 −4
Original line number Original line Diff line number Diff line
@@ -28,16 +28,16 @@ keep your development environment up-to-date. </li>


<p>Note that if you are currently using the Android 1.6 SDK, you do not
<p>Note that if you are currently using the Android 1.6 SDK, you do not
necessarily need to install the new SDK, since your existing SDK already
necessarily need to install the new SDK, since your existing SDK already
includes the Android SDK and AVD Manager tool. To develop against Android 2.0,
includes the Android SDK and AVD Manager tool. To develop against Android 2.0.1,
for example, you could just download the Android 2.0 platform into your existing
for example, you could just download the Android 2.0.1 platform into your existing
SDK. </p>
SDK. </p>


<p>Release notes for Android platforms and other SDK components are
<p>Release notes for Android platforms and other SDK components are
now available from the "SDK" tab, under "Downloadable SDK Components."</p>
now available from the "SDK" tab, under "Downloadable SDK Components."</p>


<ul>
<ul>
<li>Notes for the Android 2.0 platform are in the <a
<li>Notes for the Android 2.0.1 platform are in the <a
href="{@docRoot}sdk/android-2.0.html">Android 2.0, Release 1</a> document. </li>
href="{@docRoot}sdk/android-2.0.1.html">Android 2.0.1, Release 1</a> document. </li>
<li>You can find information about tools changes in the <a
<li>You can find information about tools changes in the <a
href="{@docRoot}sdk/tools-notes.html">SDK Tools Notes</a> and <a
href="{@docRoot}sdk/tools-notes.html">SDK Tools Notes</a> and <a
href="{@docRoot}sdk/adt-notes.html">ADT Plugin Notes</a>.</li>
href="{@docRoot}sdk/adt-notes.html">ADT Plugin Notes</a>.</li>
Loading