the official plugin store lists some plugins I’d like to use. Unfortunately it seems to require a desktop application for Windows or Mac which I do not use. I’m working solely with Linux. I also noticed that the source code of said plugin is available officially on Github but releases are only for the source code.
Consequently I opened an issue but I’m wondering if there is a more general solution.
If your camera is in developer mode (free), use can use adb from Linux on the apk for those applications with source code. The models V, X, and Z1 run Android internally.
@craig maybe my question wasn’t clear. When I browse to e.g Wireless Live Streaming | RICOH THETA Plug-in Store I get theta360://plugins/com.theta360.cloudstreaming/apk but what I would hope for is a https link with a .apk file.
Developer who doesn’t use Windows at all. I installed plugins before but had to rely on finding a Windows machine which I don’t find practical, especially knowing that adb works with developer mode enabled (just confirmed it using adb shell and scrcpy on Linux).
The simpler one, per the GitHub issue, is that you want the apk to be included in the release to make it more convenient to test for people with the RICOH THETA in developer mode. I’m assuming that this is because sometimes there are a lot of stuff that needs to be installed to build the plugin. This is easy to understand. We can pass the request on in a report to RICOH.
I do not think it will be possible to get the apk from the store. The API or process of how to install the plugins from the store haven’t been published. I don’t think it is even possible to install the plugins from the official RICOH THETA mobile app on iOS/Android, which would indicate that there is no easy way to install the plugins via WiFi.
I believe that your second request is to have a way to install the plug-ins on the store from Linux for testing or use.
If this is the case, there is a difference between:
request for an API, like a USB API, to install the plugin on the camera
request for a way to get the apk from the store to your Linux machine so that you can install it either manually with adb or with some type of custom application (like a bash script)
Can you clarify your request for the above points?
There is no solution, but I want to pass on your request in a report to RICOH to represent the voice of the community accurately.
Still, to clarify my perspective and hopefully address your points :
True I made some assumptions. I believed maybe incorrectly that Theta desktop application to install a plugin was “just” downloading it from the store via the provided URL then as a visual interface, possibly relying under the hood on adb, would only send the apk to the device. It might do more than that by e.g modifying a configuration file in order to add the installed application as a plugin. It might also do something similar for switching on developer mode.
Overall my underlying request is of course that everything available on other operating systems also work on Linux. This is important in general but I believe for Ricoh itself trying to value its developer ecosystem a way to bring a community of users often versed in development and thus with the capability of make that ecosystem grow.
Yes, providing the apk on all officials plugins would be a start but unfortunately that would mean only plugins made by Ricoh rather than others ones.
Overall I believe a mechanism that is both transparent to users and requiring little investment from Ricoh might be a good compromise to begin with. For this I would tend to think documented adb commands (assuming its sufficient) would be great.
Awesome! That is a nice find. Thank you for sharing it.
Also, thanks for the feedback.
BTW, there’s fairly good support for the USB API and live streaming on Linux.
I’ll expand the document to include other forms of development and add your tip about the apk with attribution to you.
For viewing images on the Linux desktop, I use this:
Installation information on Ubuntu 20.04 is here:
BTW, I just realized that the THETA X can download and install the plug-ins directly from the camera body without any computer or mobile phone. There may be a way to make the process easier on Linux in the future.
I put together the video below to help other people use the tip from @Utopiah
In my test, I had to use Vysor to set the permissions of the plugin before I could use it. Also, we might need to use the official mobile app or WebAPI or USB API to set the plug-in that will boot.
RICOH THETA Plugin Install from Linux: Dev Workflow Tip
Thanks for searching, the issue is you can not click install button on the page, either on desktop(tested on Mac and Ubuntu) or mobile browser. There is no way to install plugins.
Tried “adb devices” on both ubuntu 22 and Mac, none device found on both.
Theta X is on live mode connect by usb.
For ubuntu libuvc-theta and libuvc-theta-example tried. ./gst_viewer said “Theta Not Found”.
lsusb printed THeta X correctly.
Oh, I see the problem now. The link to the desktop app is not on the new software download page. There used to be a link to a desktop app to install the plugins.
@jcasman can you find the desktop app on the RICOH site? I think people need the app to install plugins.