Java APIs

VIVE Wave™ SDK provides additional Java APIs to enable specific functions for native content developers to develop native VIVE Wave content.

Contents

Activity Fade Out

Use doVRStartActivity() to fade out the current foreground Activity and launch a new application.

  • For details regarding doVRStartActivity(), go to com/htc/vr/sdk/VRActivity.
  • To see a sample on how to launch a new application through doVRStartActivity(), go to Fade current Activity.

External SurfaceView

If the rendering context via WVR_RenderInit is provided, the optional approach hookNativeSurface in com/htc/vr/sdk/VRActivity can use external SurfaceView from the native application. To learn how to use this API, check the description for hookNativeSurface in Render Runtime Tutorials.