Skip to content

Running demo-android

Native Android Kotlin build.

tutorial resources

build theta-client

  1. clone theta-client repo from https://github.com/ricohapi/theta-client.git
  2. cd into theta-client
  3. build theta-client aar
git clone https://github.com/ricohapi/theta-client.git
cd theta-client
./gradlew publishToMavenLocal

Starting a Gradle Daemon (subsequent builds will be faster)
<--
...
...

BUILD SUCCESSFUL in 31s
59 actionable tasks: 59 executed

build demo-android

Open demos/demo-android in Android Studio.

I'm using Electric Eel for this test.

android studio

demo-android in Android Studio Electric Eel

Press run in Android Studio.

run

Press run to build and install

When the build is successful, it will appear in the Android Virtual Devices (AVD).

android studio

Running in Pixel 4 AVD

Take Pictures

Connect your workstation to the RICOH THETA camera. The password is the numerical digits of the serial number.

wifi connection

Connect workstation to RICOH THETA as hotspot

Press Take a photo button to see a live preview. Press the teal shutter button to take the picture.

live preview

live preview shown prior to taking picture