blob: f17ab4dc8c6dd4c9c682e90d4b18998b1528a4ee [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.vr.sdk.samples.hellovr"
android:versionCode="190204066"
android:versionName="1.200.0">
<!-- The GVR SDK requires API 19+ and OpenGL ES 2+. -->
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<!-- Required for vibration feedback when the trigger action is performed. -->
<uses-permission android:name="android.permission.VIBRATE"/>
<!-- Required to read the paired viewer's distortion parameters. -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<!-- Make accelerometer and gyroscope hard requirements for good head tracking. -->
<uses-feature android:name="android.hardware.sensor.accelerometer" android:required="true"/>
<uses-feature android:name="android.hardware.sensor.gyroscope" android:required="true"/>
<!-- Indicates use of Android's VR-mode, available only on Android N+. -->
<uses-feature android:name="android.software.vr.mode" android:required="false"/>
<!-- Indicates use of VR features that are available only on Daydream-ready devices. -->
<uses-feature android:name="android.hardware.vr.high_performance" android:required="false"/>
<application
android:allowBackup="true"
android:supportsRtl="true"
android:label="HelloVrActivity"
android:theme="@style/VrActivityTheme"
android:icon="@drawable/ic_launcher_hello_vr_round">
<activity
android:name=".HelloVrActivity"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:configChanges="orientation|keyboardHidden|screenSize|uiMode|navigation|density"
android:enableVrMode="@string/gvr_vr_mode_component"
android:resizeableActivity="false">
<!-- The VR icon to be used in Daydream Home comes in two parts:
a foreground icon and a background icon. -->
<meta-data android:name="com.google.android.vr.icon"
android:resource="@drawable/hello_vr_icon_front" />
<meta-data android:name="com.google.android.vr.icon_background"
android:resource="@drawable/hello_vr_icon_back" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="com.google.intent.category.CARDBOARD" />
<!-- The DAYDREAM category should only be declared by Activities that are Daydream
compatible. Daydream compatible apps should typically use the Daydream
controller APIs directly, however in this sample app we instead rely on
Cardboard trigger emulation. -->
<category android:name="com.google.intent.category.DAYDREAM" />
</intent-filter>
</activity>
</application>
</manifest>