|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- |
| 3 | + Copyright 2017 Google Inc. |
| 4 | +
|
| 5 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | + you may not use this file except in compliance with the License. |
| 7 | + You may obtain a copy of the License at |
| 8 | +
|
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | + Unless required by applicable law or agreed to in writing, software |
| 12 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | + See the License for the specific language governing permissions and |
| 15 | + limitations under the License. |
| 16 | +--> |
| 17 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | + package="com.google.ar.core.examples.c.helloar"> |
| 19 | + |
| 20 | + <uses-permission android:name="android.permission.CAMERA"/> |
| 21 | + <!-- This tag indicates that this application requires ARCore. This results in the application |
| 22 | + only being visible in the Google Play Store on devices that support ARCore. --> |
| 23 | + <uses-feature android:name="android.hardware.camera.ar" android:required="true"/> |
| 24 | + <uses-feature android:glEsVersion="0x00030000" android:required="true" /> |
| 25 | + |
| 26 | + <application |
| 27 | + android:allowBackup="true" |
| 28 | + android:icon="@drawable/ic_launcher" |
| 29 | + android:label="@string/app_name" |
| 30 | + android:theme="@style/AppTheme" |
| 31 | + android:usesCleartextTraffic="false"> |
| 32 | + <!-- This tag indicates that this application requires ARCore. This results in the Google Play |
| 33 | + Store downloading and installing ARCore along with the application. --> |
| 34 | + <meta-data android:name="com.google.ar.core" android:value="required" /> |
| 35 | + |
| 36 | + <activity |
| 37 | + android:name=".HelloArActivity" |
| 38 | + android:label="@string/app_name" |
| 39 | + android:configChanges="orientation|screenSize" |
| 40 | + android:exported="true" |
| 41 | + android:theme="@style/Theme.AppCompat.NoActionBar" |
| 42 | + android:screenOrientation="locked"> |
| 43 | + <intent-filter> |
| 44 | + <action android:name="android.intent.action.MAIN"/> |
| 45 | + <category android:name="android.intent.category.LAUNCHER"/> |
| 46 | + </intent-filter> |
| 47 | + </activity> |
| 48 | + </application> |
| 49 | +</manifest> |
0 commit comments