Skip to content

Commit

Permalink
Merge pull request #13 from ricohapi/feat/v1.3.1
Browse files Browse the repository at this point in the history
Update RICOH THETA Plugin Library to v3.2.0
  • Loading branch information
KATSUYA2 authored Jul 25, 2023
2 parents 9d885c8 + ec993ca commit 77d223f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THETA X Plug-in : Camera API Sample

Version: 1.3.0
Version: 1.3.1

This sample project shows how to implement a plug-in using Camera API for RICOH THETA X.
The program language is Kotlin, please checkout [java branch](https://github.com/ricohapi/theta-plugin-camera-api-sample-x/tree/java) to see Java code.
Expand Down Expand Up @@ -42,7 +42,7 @@ The program language is Kotlin, please checkout [java branch](https://github.com

### Supported Device

* RICOH THETA X (Version 1.00.2, 1.10.1, 1.20.0, 1.30.0, 1.40.0, 1.41.0, 2.00.0)
* RICOH THETA X (Version 1.00.2, 1.10.1, 1.20.0, 1.30.0, 1.40.0, 1.41.0, 2.00.0, 2.10.1, 2.20.1)
* RICOH THETA V and Z1 are NOT supported.

### Development Environment
Expand All @@ -56,7 +56,7 @@ The program language is Kotlin, please checkout [java branch](https://github.com
* compileSdkVersion 29
* minSdkVersion 26
* targetSdkVersion 29
* [RICOH THETA Plug-in Library](https://github.com/ricohapi/theta-plugin-library) (Version 3.1.0) is being imported.
* [RICOH THETA Plug-in Library](https://github.com/ricohapi/theta-plugin-library) (Version 3.2.0) is being imported.


<a name="how_to_use"></a>
Expand All @@ -78,7 +78,7 @@ The program language is Kotlin, please checkout [java branch](https://github.com
```gradle
dependencies {
...
implementation 'com.theta360:pluginlibrary:3.1.0'
implementation 'com.theta360:pluginlibrary:3.2.0'
...
}
```
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "com.theta360.sample.camera"
minSdkVersion 26
targetSdkVersion 29
versionCode 7
versionName "1.3.0"
versionCode 8
versionName "1.3.1"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
Expand All @@ -35,7 +35,7 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:2.0.4'
implementation 'com.theta360:pluginlibrary:3.1.0'
implementation 'com.theta360:pluginlibrary:3.2.0'
//testImplementation 'junit:junit:4.+'
//androidTestImplementation 'com.android.support.test:runner:1.0.2'
//androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/com/theta360/sample/camera/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class MainActivity : PluginActivity(), MediaRecorder.OnInfoListener {
private val RIC_PROC_STITCHING = "RIC_PROC_STITCHING"
private val RIC_PROC_ZENITH_CORRECTION = "RIC_PROC_ZENITH_CORRECTION"
private val RIC_EXPOSURE_MODE = "RIC_EXPOSURE_MODE"
private val RIC_FACE_DETECTION = "RIC_FACE_DETECTION"
private val RIC_WATER_HOUSING = "RIC_WATER_HOUSING"

private val TAG = "Camera_API_Sample"
Expand Down Expand Up @@ -503,6 +504,7 @@ class MainActivity : PluginActivity(), MediaRecorder.OnInfoListener {
p.set(RIC_PROC_STITCHING, ric_proc_stitching)
p.set(RIC_PROC_ZENITH_CORRECTION, ric_proc_zenith_correction)
p.set(RIC_EXPOSURE_MODE, "RicAutoExposureP")
p.set(RIC_FACE_DETECTION, 0)
p.set(RIC_WATER_HOUSING, 0)

when (mode) {
Expand Down

0 comments on commit 77d223f

Please sign in to comment.