The Cardboard SDK is the latest supported library by Google to support the creation of VR Apps on Android. Though, the addition of JNI complicates things for developers, creating a wrapper over the Native library can help facilitate VR development not only in the Processing Community but anyone who wants to use Cardboard SDK to create VR apps.
The aim was to create a wrapper class that could be used in Activities and Java classes to create a simple VR app without the hassle of creating a separate JNI Bridge for the native library. The CardboardWrapper helps us achieve this. To understand how it works, I recommend going the documentation and a sample app was created to better understand how this can be used to create simple VR apps.
This Wrapper can be used to create a library that can work along side Processing 4 to help create VR Apps using the Cardboard SDK.