mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-20 09:01:39 -08:00
106 lines
5.4 KiB
XML
106 lines
5.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:installLocation="auto">
|
|
|
|
<!-- Tell the system this app works in either 3dof or 6dof mode -->
|
|
<uses-feature android:name="android.hardware.vr.headtracking" android:required="true" android:version="1" />
|
|
|
|
<!-- If building externally with the OpenXR AAR, this would be merged in automatically. -->
|
|
<uses-permission android:name="org.khronos.openxr.permission.OPENXR" />
|
|
<uses-permission android:name="org.khronos.openxr.permission.OPENXR_SYSTEM" />
|
|
|
|
<queries tools:ignore="ExportedContentProvider">
|
|
<intent>
|
|
<action android:name="org.khronos.openxr.OpenXRRuntimeService"/>
|
|
</intent>
|
|
<provider android:authorities="org.khronos.openxr.runtime_broker;org.khronos.openxr.system_runtime_broker" />
|
|
<package android:name="com.ultraleap.tracking.service"/>
|
|
<package android:name="com.ultraleap.openxr.api_layer"/>
|
|
</queries>
|
|
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
|
|
<!-- Allow network access -->
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
|
|
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
|
|
<!-- Allow starting the application even without controllers -->
|
|
<uses-feature android:name="oculus.software.handtracking" android:required="false" />
|
|
<uses-permission android:name="com.magicleap.permission.HAND_TRACKING" />
|
|
<uses-permission android:name="com.oculus.permission.HAND_TRACKING" />
|
|
|
|
<!-- Required for XR_FB_render_model -->
|
|
<uses-feature android:name="com.oculus.feature.RENDER_MODEL" android:required="false" />
|
|
<uses-permission android:name="com.oculus.permission.RENDER_MODEL" />
|
|
|
|
<!-- Required for passthrough on Quest -->
|
|
<!-- https://developer.oculus.com/documentation/native/android/mobile-passthrough/ -->
|
|
<uses-feature android:name="com.oculus.feature.PASSTHROUGH" android:required="false" />
|
|
|
|
<!-- See https://hub.vive.com/storage/docs/en-us/ConfigureAppCapabilities.html -->
|
|
<uses-feature android:name="wave.feature.handtracking" android:required="false" />
|
|
|
|
<application
|
|
android:allowBackup="false"
|
|
android:hasCode="false"
|
|
android:icon="@mipmap/ic_wivrn_launcher"
|
|
android:label="@string/app_name"
|
|
android:roundIcon="@mipmap/ic_wivrn_launcher">
|
|
|
|
<profileable android:shell="true" />
|
|
|
|
<meta-data android:name="pvr.app.type" android:value="vr" />
|
|
<meta-data android:name="com.oculus.intent.category.VR" android:value="vr_only"/>
|
|
<meta-data android:name="com.oculus.supportedDevices" android:value="all"/>
|
|
<meta-data android:name="com.oculus.vr.focusaware" android:value="true"/>
|
|
|
|
<!-- See https://hub.vive.com/storage/docs/en-us/ConfigureAppCapabilities.html -->
|
|
<meta-data android:name="com.htc.vr.content.NumDoFHmd" android:value="3,6DoF"/>
|
|
<meta-data android:name="com.htc.vr.content.NumDoFController" android:value="3,6DoF"/>
|
|
<meta-data android:name="com.htc.vr.content.NumController" android:value="1,2"/>
|
|
|
|
<meta-data android:name="handtracking" android:value="1" />
|
|
|
|
<!-- The activity is the built-in NativeActivity framework class. -->
|
|
<!-- launchMode is set to singleTask because there should never be multiple copies of the app running. -->
|
|
<!-- Theme.Black.NoTitleBar.Fullscreen gives solid black instead of a (bad stereoscopic) gradient on app transition. -->
|
|
<activity
|
|
android:exported="true"
|
|
android:name="android.app.NativeActivity"
|
|
android:configChanges="screenSize|screenLayout|orientation|keyboardHidden|keyboard|navigation|uiMode|density"
|
|
android:excludeFromRecents="true"
|
|
android:launchMode="singleTask"
|
|
android:resizeableActivity="false"
|
|
android:screenOrientation="landscape"
|
|
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
|
|
tools:ignore="NonResizeableActivity">
|
|
|
|
<!-- Tell NativeActivity the name of the .so -->
|
|
<meta-data
|
|
android:name="android.app.lib_name"
|
|
android:value="wivrn" />
|
|
|
|
|
|
<!-- This filter lets the apk show up as a launchable icon. -->
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="com.oculus.intent.category.VR" />
|
|
<category android:name="com.htc.intent.category.VRAPP" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
<category android:name="org.khronos.openxr.intent.category.IMMERSIVE_HMD" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
<data android:scheme="wivrn" />
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
</manifest>
|