Chapter 4. Launcher Lobby

This project creates a Cardboard VR app that can be used to launch the other Cardboard apps installed on your device. We'll call it LauncherLobby. When you open LauncherLobby, you will see up to 24 icons arranged horizontally. As you turn your head to the right or left, the icons scroll as if they are inside a cylinder. You can open an app by gazing at its icon and pulling the Cardboard trigger.

For this project, we take a minimal approach to creating stereoscopic views. The project simulates parallax using standard Android ViewGroup layouts and simply shifts the images to the left or right in each eye, creating the parallax visual effect. We do not use 3D graphics. We do not use OpenGL directly, though most modern versions ...

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.