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>
-<uses-feature android:glEsVersion=["true" | "false"] /> +<uses-feature android:glEsVersion="integer" + android:name="string" />
<manifest><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.
| Value | +Description | +
|---|---|
| "{@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. | +