• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!--
2  Copyright 2017 The Android Open Source Project
3
4  Licensed under the Apache License, Version 2.0 (the "License");
5  you may not use this file except in compliance with the License.
6  You may obtain a copy of the License at
7
8      http://www.apache.org/licenses/LICENSE-2.0
9
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15  -->
16
17<resources>
18    <string name="show_camera">Show camera preview</string>
19    <string name="camera_unavailable"><b>Camera could not be opened.</b>\nThis occurs when the camera is not available (for example it is already in use) or if the system has denied access (for example when camera access has been disabled).</string>
20    <string name="intro">This sample shows a basic implementation for requesting permissions at runtime.\nClick the button below to request the Camera permission and open a full-screen camera preview.</string>
21    <string name="open_camera_preview">Open Camera Preview</string>
22    <string name="app_name">RuntimePermissionsBasic</string>
23    <string name="intro_message"><![CDATA[
24This sample shows a basic implementation for requesting permissions at runtime. Click the button to
25request the Camera permission and open a full-screen camera preview.
26
27Note: The "RuntimePermissions" sample provides a more complete overview over the runtime permission
28features available.]]>
29    </string>
30    <string name="camera_access_required">Camera access is required to display the camera preview.</string>
31    <string name="ok">OK</string>
32    <string name="camera_permission_not_available">Permission is not available. Requesting camera permission.</string>
33    <string name="camera_permission_available">Camera permission is available. Starting preview.</string>
34    <string name="camera_permission_granted">Camera permission was granted. Starting preview.</string>
35    <string name="camera_permission_denied">Camera permission request was denied.</string>
36</resources>
37