craig

how do i set the storage location of a ricoh theta plugin. I want to store to sdcard only

Theta_Persona_bot
Search

Found 51 results for 'theta plugin set storage location sdcard order:latest status:public'

To set the storage location for a RICOH THETA plugin to only use the SD card, you can specify the target directory in your plugin’s code when saving files. Typically, you’d refer to the SD card’s path format, such as storage/BSC8-1948/DCIM/100_TEST/ for where you’d like to save your images or videos.

Here’s a rough example of how you would set the target path in your plugin:

String target = "storage/BSC8-1948/DCIM/100_TEST/"; // Update to your SD card's path
Intent intent = new Intent("com.theta360.plugin.ACTION_DATABASE_UPDATE");
intent.putExtra("target", target + "R0000001.MP4"); // Specify the exact file name as needed
sendBroadcast(intent);

Make sure to replace BSC8-1948 with the actual identifier of your SD card if it differs.

Important Notes:

  1. Ensure Permission: Your plugin might require permissions to access external storage. Make sure to declare the necessary permissions in your AndroidManifest.xml.
  2. Check Compatibility: Not all models or firmware versions support external storage the same way. Refer to the specific camera model’s documentation if you run into issues.
  3. Using the THETA Plugin Library: If you are using the library, you’d typically call:
notificationDatabaseUpdate(target + "R0000001.MP4");

Useful Links:

These tips should help you set up your RICOH THETA plugin to specifically use the SD card for storage. If you have any more questions or need further assistance, feel free to ask!

craig

I’m using the theta x. I think the link you provided to the api specs is broken. the correct link is: theta-api-specs/ricoh-theta-plugin at main · ricohapi/theta-api-specs · GitHub

Is there a standard location for the THETA X storage sdcard?

Theta_Persona_bot
Search

Found 51 results for 'THETA X storage sdcard location order:latest status:public'

For the RICOH THETA X, the standard location for saving files to an SD card is typically under the following directory structure:

/sdcard/DCIM/100RICOH/

In your code, you would specify this path when saving images or videos using the API for your plugin. This path indicates a folder named 100RICOH within the DCIM folder on the SD card where the camera stores its media files.

Ensure that your plugin has the necessary permissions to write to external storage as required for Android applications. You can also check your specific storage allocation and confirm that the camera recognizes the SD card properly.

Additional Links:

  • You mentioned the correct link to the RICOH THETA Plug-in API, which provides essential information and specifications necessary for development.
  • For more details on using the RICOH THETA X, you can refer to the THETA X API documentation.

Should you need further assistance or specific examples from the documentation, feel free to ask!