summaryrefslogtreecommitdiffstats
path: root/docs/html/guide/topics/manifest/uses-sdk-element.jd
diff options
context:
space:
mode:
Diffstat (limited to 'docs/html/guide/topics/manifest/uses-sdk-element.jd')
-rw-r--r--docs/html/guide/topics/manifest/uses-sdk-element.jd34
1 files changed, 23 insertions, 11 deletions
diff --git a/docs/html/guide/topics/manifest/uses-sdk-element.jd b/docs/html/guide/topics/manifest/uses-sdk-element.jd
index a88635a..e62af68 100644
--- a/docs/html/guide/topics/manifest/uses-sdk-element.jd
+++ b/docs/html/guide/topics/manifest/uses-sdk-element.jd
@@ -9,10 +9,10 @@ page.title=<uses-sdk>
<dd><code><a href="{@docRoot}guide/topics/manifest/manifest-element.html">&lt;manifest&gt;</a></code></dd>
<dt>description:</dt>
-<dd>Declares which levels of the Android API the application can run against.
-The level is incremented when there are additions to the API and resource tree,
-so an application developed using level 3 of the API may not run against level
-1 or 2, but should run against level 3, 4, 5, and above.
+<dd>Lets you express an application's compatibility with one or more versions of the Android platform,
+by means of an API Level integer. The API Level expressed by an application will be compared to the
+API Level of a given Android system, which may vary among different Android devices. To declare your
+application's minimum API Level compatibility, use the <a href="#min">minSdkVersion</a> attribute.
</p>
<p>
@@ -35,15 +35,27 @@ Applications</a>.
for the application to run.
<p>
-Despite its name, this attribute is set to the API level, <em>not</em> to the
-version number of the SDK (software development kit). The API level is always
+Despite its name, this attribute specifies the API Level, <em>not</em> the
+version number of the SDK (software development kit). The API Level is always
a single integer; the SDK version may be split into major and minor components
-(such as 1.2). You cannot derive the API level from the SDK version number
+(such as 1.5). You cannot derive the API Level from the SDK version number
(for example, it is not the same as the major version or the sum of the major
-and minor versions). To learn what the API level is, check the notes that
-came with the SDK you're using.
-</p></dd>
+and minor versions). To learn what the API Level is, check the notes that
+came with the SDK you're using.</p>
+
+<p>Prior to installing an application, the Android system checks the value of this
+attribute and allows the installation only if the
+API Level is less than or equal to the API Level used by the system itself.</p>
+
+<p>If you do not declare this attribute, then a value of "1" is assumed, which
+indicates that your application is compatible with all versions of Android. If your
+application is <em>not</em> universally compatible (for instance if it uses APIs
+introduced in Android 1.5) and you have not declared the proper <code>minSdkVersion</code>,
+then when installed on a system with a lower API Level, the application
+will crash during runtime. For this reason, be certain to declare the appropriate API Level
+in the <code>minSdkVersion</code> attribute.</p>
+</dd>
</dl></dd>
-</dl>
+</dl> \ No newline at end of file