diff --git a/docs/html/guide/topics/manifest/uses-feature-element.jd b/docs/html/guide/topics/manifest/uses-feature-element.jd index 2626735cae115..0248985eecb3a 100644 --- a/docs/html/guide/topics/manifest/uses-feature-element.jd +++ b/docs/html/guide/topics/manifest/uses-feature-element.jd @@ -6,7 +6,8 @@ page.title=<uses-feature>
syntax:
-<uses-feature android:glEsVersion=["true" | "false"] />
+<uses-feature android:glEsVersion="integer"
+              android:name="string" />
 
@@ -14,7 +15,7 @@ page.title=<uses-feature>
<manifest>
description:
-
This element specifies specific features used by the application. +
This element specifies a specific feature used by the application. Android provides some features that may not be equally supported by all Android devices. In a manner similar to the <uses-sdk> element, this element allows an application to specify which potentially variable @@ -23,6 +24,11 @@ will not be installed on devices that do not offer the required feature.

For example, an application might specify that it requires a certain version of Open GL. If a device does not support that version of Open GL, then it will not allow installation of the application.

+ +

Note: +For each feature required by your application, you must include a new {@code +<uses-feature>} element. Multiple features cannot be declared in one +instance of this element.

@@ -38,6 +44,30 @@ If a device does not support that version of Open GL, then it will not allow ins +
+
{@code android:name}
+
The name of a feature required by the application. + The value must be one of the following accepted strings: + + + + + + + + + + + + +
ValueDescription
"{@code android.hardware.camera}"The application requires a camera.
"{@code android.hardware.camera.autofocus}"The application requires a camera with auto-focus capability. + As a prerequisite, "{@code android.hardware.camera}" must also be declared + with a separate {@code <uses-feature>} element.
+ +
+
+
+
introduced in:
API Level 4