Demonstrate how to program with NVIDIA CloudXR SDK for VIVE Focus 3 headset. You can start to develop your own CloudXR application for VIVE Focus 3 based on this sample client.
Below are the instructions to build from source. Alternatively you can find a pre-built APK in the Releases section.
- HTC VIVE Focus 3
- Wave Native SDK 4.3.0 or later
- CloudXR SDK 3.2
- Google OBOE SDK 1.5.0
- Android development environment
- Android Studio 4.0 or later
- Android SDK 7.1.1 ‘Nougat’ (API level 25) or higher
- Android build tools 28.0.3
- Android NDK 21.4.7075529
- OpenJDK 1.8n
- Download CloudXR SDK and Google OBOE SDK 1.5.0.
- Put CloudXR.aar and oboe-1.5.0.aar in [ProjectRoot]/app/libs
- Download Wave SDK, extract the zip file and copy the repo folder to [ProjectRoot], alongside with app and gradle folders (paths can be modified in build_sdk.gradle)
- You are ready to build.
- Install CloudXR server on your PC.
- Build Wave CloudXR Sample Client and install the apk to your VIVE Focus 3
- Modify the IP address in CloudXRLaunchOptions.txt and push it into /sdcard of your VIVE Focus 3.
- Please read CloudXR Command-Line Options for the format of CloudXRLaunchOptions.txt)
- Launch the apk to start streaming
- The application requires WRITE_EXTERNAL_STORAGE permission to proceed, for loading a config file from sdcard and writing CloudXR logs.
- If RECORD_AUDIO permission is denied, microphone feature will be disabled.
The above permission requests will be prompted in-headset on first launch. To install it with permissions granted, use the -g flag with adb install.
adb install -g client.apk