Skip to content

Minimal example of using Broadcast Intent with the RICOH THETA

Notifications You must be signed in to change notification settings

codetricity/theta-intent-minimal-example

Repository files navigation

Broadcast Intent Minimal Example for RICOH THETA

https://community.theta360.guide/t/simple-explanation-of-broadcast-intent-for-ricoh-theta-development/4201

Close Camera

To use the CameraAPI, you’ll need to close the main RICOH camera app.

    Intent closeCameraIntent = new Intent("com.theta360.ACTION_MAIN_CAMERA_CLOSE");
    sendBroadcast(closeCameraIntent);

Open Camera

@Override
protected void onPause() {
    super.onPause();

    Intent openCameraIntent = new Intent("com.theta360.plugin.ACTION_CAMERA_OPEN");
    sendBroadcast(openCameraIntent);
}

About

Minimal example of using Broadcast Intent with the RICOH THETA

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages