diff options
Diffstat (limited to 'platform_tools/android/apps/arcore/src/main/AndroidManifest.xml')
-rw-r--r-- | platform_tools/android/apps/arcore/src/main/AndroidManifest.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/platform_tools/android/apps/arcore/src/main/AndroidManifest.xml b/platform_tools/android/apps/arcore/src/main/AndroidManifest.xml new file mode 100644 index 0000000000..975dc2592d --- /dev/null +++ b/platform_tools/android/apps/arcore/src/main/AndroidManifest.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="org.skia.arcore"> + + <uses-permission android:name="android.permission.CAMERA"/> + <!-- This tag indicates that this application requires ARCore. This results in the application + only being visible in the Google Play Store on devices that support ARCore. --> + <uses-feature android:name="android.hardware.camera.ar" android:required="true"/> + <uses-feature android:glEsVersion="0x00020000" android:required="true" /> + + <application + android:allowBackup="true" + android:icon="@drawable/ic_launcher" + android:label="@string/app_name" + android:theme="@style/Theme.AppCompat.Light.NoActionBar" + android:usesCleartextTraffic="false"> + <!-- This tag indicates that this application requires ARCore. This results in the Google Play + Store downloading and installing ARCore along with the application. --> + <meta-data android:name="com.google.ar.core" android:value="required" /> + + <activity + android:name=".HelloArActivity" + android:label="@string/app_name" + android:configChanges="orientation|screenSize" + android:exported="true" + android:theme="@style/Theme.AppCompat.DayNight.NoActionBar" + + android:screenOrientation="locked"> + <intent-filter> + <action android:name="android.intent.action.MAIN"/> + <category android:name="android.intent.category.LAUNCHER"/> + </intent-filter> + </activity> + </application> +</manifest> |