Summary
In this chapter, we examined the structure of a Cardboard app for Android and many of the files involved, including the Java source code, XML manifest, .aar
libraries, and final built APK, which runs on your Android device. We installed and took a brief tour of the Android Studio development environment. Then, we walked you through the steps to create a new Android project, add the Cardboard Java SDK, and define the AndroidManifest.xml
file and layout, as well as a stubbed MainActivity
Java class file. You will follow similar steps to start each Cardboard project in this book.
In the next chapter, we will build a Google Cardboard project from scratch called CardboardBox
with a scene containing some simple geometry (a triangle and a cube), 3D transformations, and shaders that render graphics to your Cardboard device.