Jump to content
 
Corvus

Wave Android Manifest Guide

Recommended Posts

Android requires every app to use a manifest file to define the app requirements and other useful information. The Wave SDK uses the Android manifest to define HMD degrees of freedom (3DoF/6DoF), controller DoF (3DoF/6DoF), number of controllers supported (0,1,2), and the minimum Wave SDK required.

https://developer.android.com/guide/topics/manifest/manifest-intro

 

WaveVR Attributes

Please ensure that these metadata in your manifest matches the capabilities of your title. This metadata will affect how VIVEPORT store distributes and displays your title.
(NOTE: Required for store submissions and betas but not necessary for testing)

https://hub.vive.com/storage/app/doc/en-us/ConfigureAppCapabilities.html

https://developer.viveport.com/documents/sdk-wave/en/VRActivity.html

 

 

Unity

https://docs.unity3d.com/Manual/android-manifest.html

- Download example manifest (attached below)
- Copy example manifest into 'Customize' folder
Assets\WaveVR\Platform\Android\Customize
- Rename 'AndroidManifest_EXAMPLE.xml' to 'AndroidManifest.xml'
- Edit the manifest, set values for NumDoFHmd, NumDoFController, NumController, and minWaveSDKVersion

 

 

Unreal (UE4)

https://docs.unrealengine.com/en-US/Platforms/Mobile/Android/AndroidManifestControl/index.html

https://docs.unrealengine.com/en-US/Platforms/Mobile/Android/AndroidManifestControl/index.html#extrasettingsforapplication

- Advanced APK Packaging
- Extra Settings for <application> section (\n to separate lines)

        <meta-data android:name="com.htc.vr.content.NumDoFHmd" android:value="6DoF"/>
        \n
        <meta-data android:name="com.htc.vr.content.NumDoFController" android:value="6DoF"/>
        \n
        <meta-data android:name="com.htc.vr.content.NumController" android:value="2"/>
        \n
        <meta-data android:name="minWaveSDKVersion" android:value="1" />


Example to copy:
<meta-data android:name="com.htc.vr.content.NumDoFHmd" android:value="6DoF"/> \n <meta-data android:name="com.htc.vr.content.NumDoFController" android:value="6DoF"/> \n <meta-data android:name="com.htc.vr.content.NumController" android:value="2"/> \n <meta-data android:name="minWaveSDKVersion" android:value="1" />

1950719387_ue4wavemanifest.png.4fc69010e7c2f160d2ca7e2524904e61.png

 

Skip Controller Pairing (Vive Focus & Focus Plus only):

To skip the controller pairing dialog when you're app starts you can use add the following line to the manifest <application> section.

        <!-- Disable Controller Pairing (set to 'true' to skip controller pairing dialog) -->
        <meta-data android:name="no_controller_pairing" android:value="true" />

 

AndroidManifest_EXAMPLE.xml

  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...