template starter for lovr android game

bjorn 4f4ce6def4 Add some sort of README; 6 years ago
org c08a9b2deb Initial commit; 6 years ago
.gitignore c08a9b2deb Initial commit; 6 years ago
AndroidManifest.xml c08a9b2deb Initial commit; 6 years ago
README.md 4f4ce6def4 Add some sort of README; 6 years ago
Tupfile c08a9b2deb Initial commit; 6 years ago
main.c c08a9b2deb Initial commit; 6 years ago
tup.config c08a9b2deb Initial commit; 6 years ago

README.md

Minimal Android VR

A tiny test app for running C code on an Oculus Android VR device. Used for doing quick experiments or generating minimal test cases for bug reports.

It doesn't use gradle or Android Studio, instead it is built with command line tools and tup is used to automate some things.

Not guaranteed to be fit for any purpose at all, this is just for personal use.

Usage

Requirements

  • Oculus Mobile SDK
  • Android SDK and NDK (I don't know which versions will work)
  • tup

Setup

  • Edit tup.config to set up various paths and versions (this is the hard part)
  • Create a keystore (see tup.config)
  • Run tup init in the root

Building

Run tup

Deploying

tup outputs an app.apk file. You can use adb install app.apk to install it to the device. I usually run the following command to build, install, and tail logs in one step:

tup && adb install -r app.apk && adb logcat -s APP