RICOH THETA X plugin camera api sample full build tutorial

RICOH THETA X plugin introduction showing the theta-plugin-camera-api-sample-x open source sample code. I used version 1.5.0 of the sample.

The new sample added RicStillCaptureYuvHhHdr. Version 1.4 added an example for ImageFormat.NV21. version 1.2 added Bluetooth remote shutter trigger.

Code used in this tutorial:

The THETA X must be in developer mode and adb must be able to detect the camera. Go to the community forum and search for basic plugin steps if you are just getting help. The community forum is at

Configuration on my system


org.gradle.jvmargs=-Xmx1536M \
--add-exports=java.base/ \
--add-opens=java.base/java.lang=ALL-UNNAMED \
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED \
--add-opens=java.base/ \

In, I set the version of gradle to 7.2


  • theta-plugin-camera-api-sample version 1.5
  • Android Studio Hedgehog 2023.1.1 Patch 2
  • gradle 7.2