Adding the Cardboard Java SDK
Now's a good time to add the Cardboard SDK library .aar
files to your project. For the basic projects in this book the libraries you need (at the time of writing v0.7) are:
common.aar
core.aar
Note
Note the SDK includes additional libraries that we do not use in the projects in this book but could be useful for your projects. The audio.aar
file is for spatialized audio support. The panowidget
and videowidget
libraries are meant for 2D apps that want to drop-into VR for things such as viewing a 360-degree image or video.
At the time of writing, to obtain the Cardboard Android SDK client libraries, you can clone the cardboard-java
GitHub repository, as explained on the Google Developers Cardboard Getting Started page,
Get Cardboard VR Projects for Android now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.