Setup

Note

This section assumes you know the hardware requirements and features of the Vive Hand Tracking SDK. Please read Vive Hand Tracking SDK Overview section before this section.

Vive Hand Tracking SDK provides Java plugin as Android Library (.aar file), including Java bindings, native binaries and permission declaration. Sample is also provided as an Android Studio project.

Due to different API to get camera frames, different .aar files are provided for usage on WaveVR or Android phones.

WaveVR (Vive Focus)

Use aristo_gesture_wavevr.aar for WaveVR platform.

  • 32-bit library requires wvr_client.aar from WaveVR 2.1.8 or newer. It should already exist in your app if you are targeting WaveVR.
  • 64-bit library requires wvr_client.aar from WaveVR 3.1.1 or newer. It should already exist in your app if you are targeting WaveVR 64-bit.
  • Camera permission is declared in the aar file. Please make sure camera permission is granted before starting detection.
  • Both ARMv7 and ARMv8 binaries are provided in Vive Hand Tracking SDK. You should use ARMv8 version if possible, since it runs faster.

Android Phones

Use aristo_gesture.aar for Android phones.

  • The android library works for non-VR, Cardboard and Daydream.
  • The native library is tested on Pixel.
  • Camera permission is declared in the aar file. Please make sure camera permission is granted before starting detection.
  • Both ARMv7 and ARMv8 binaries are provided in Vive Hand Tracking SDK. You should use ARMv8 version if possible, since it runs faster.
  • The app must be in landscape left orientation.