required 속성: 앱 스토어에 특정 기능이 없어도 앱 작동이 가능한지 여부를 알립니다.
결과
앱에서 지원하는 카메라 기능을 명시적으로 설정하고 앱에 필요한 기능을 명시하여 최대한 많은 기기에 앱을 제공했습니다. Chromebook 사용자가 Google Play 및 다른 앱 스토어에서 앱을 다운로드하고 설치할 수 있습니다. 휴대전화와 같이 모든 기능을 제공하는 카메라를 지원하는 기기의 사용자도 앱을 다운로드할 수 있습니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Support Chromebooks in your camera app\n\nGet noticed on Google Play by Chromebook users.\n\nChromebooks have a built-in front (user-facing) camera. But not all Chromebooks\nhave a back (world-facing) camera. And most user-facing cameras on Chromebooks\ndon't support autofocus or flash.\n\nVersatile camera apps support all devices regardless of camera\nconfiguration---devices with front cameras, back cameras, and external\ncameras connected by USB.\n\nDon't let app stores prevent Chromebook users from installing your app just\nbecause you specified advanced camera features found on high-end phones.\n\nConfigure the app manifest\n--------------------------\n\nTo ensure apps stores make your app available to the greatest number of devices,\ndeclare all camera features used by your app and explicitly indicate whether or\nnot the features are required:\n\n- Declare the `CAMERA` permission\n- Declare camera features\n- Specify whether or not each feature is required\n\n### 1. Declare the `CAMERA` permission\n\nAdd the following permission to the app manifest: \n\n \u003cuses-permission android:name=\"android.permission.CAMERA\" /\u003e\n\n### 2. Declare camera features\n\nAdd the following features to the app manifest: \n\n \u003cuses-feature android:name=\"android.hardware.camera.any\" android:required=\"false\" /\u003e\n \u003cuses-feature android:name=\"android.hardware.camera\" android:required=\"false\" /\u003e\n \u003cuses-feature android:name=\"android.hardware.camera.autofocus\" android:required=\"false\" /\u003e\n \u003cuses-feature android:name=\"android.hardware.camera.flash\" android:required=\"false\" /\u003e\n\n| **Caution:** The `android.hardware.camera` feature applies only to back (world-facing) cameras.\n\n### 3. Specify whether each feature is required\n\nSet `android:required=\"false\"` for the `android.hardware.camera.any` feature to\nenable access to your app by devices that have any kind of built-in or external\ncamera---or no camera at all.\n| **Note:** If your app requires a camera, specify `required=\"true\"` for `android.hardware.camera.any`. That way, devices that don't have a camera won't have access to your app.\n\nFor the other features, set `android:required=\"false\"` to ensure devices such as\nChromebooks that don't have back cameras, autofocus, or flash can access your\napp on app stores.\n\nKey points\n----------\n\n- [`CAMERA`](/reference/android/Manifest.permission#CAMERA) permission: Gives your app access to a device's cameras\n- [`\u003cuses-feature\u003e`](/guide/topics/manifest/uses-feature-element) manifest element: Informs app stores of the features used by your app\n- [`required`](/guide/topics/manifest/uses-feature-element#required) attribute: Indicates to app stores whether your app can function without a specified feature\n\nResults\n-------\n\nYou've made your app available to as many devices as possible by explicitly\nsetting the camera features supported by your app and specifying the features\nyour app requires. Chromebook users can download and install your app from\nGoogle Play and other app stores. Users of devices with full‑featured\ncamera support, like phones, can also download the app."]]