diff --git a/README.md b/README.md index 65074e6..d8e55d5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # RICOH THETA Plug-in Library -Version: 3.2.0 +Version: 3.3.0 ## Contents @@ -104,7 +104,7 @@ allprojects { ``` dependencies { - implementation 'com.theta360:pluginlibrary:3.2.0' + implementation 'com.theta360:pluginlibrary:3.3.0' } ``` diff --git a/library/build.gradle b/library/build.gradle index 1b9d091..2752643 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.android.library' apply plugin: 'maven' -def version = '3.2.0' +def version = '3.3.0' def repo = new File(rootDir, "repository") android { @@ -9,7 +9,7 @@ android { defaultConfig { minSdkVersion 25 targetSdkVersion 29 - versionCode 15 + versionCode 16 versionName "${version}" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" diff --git a/library/src/main/java/com/theta360/pluginlibrary/activity/Constants.java b/library/src/main/java/com/theta360/pluginlibrary/activity/Constants.java index 749edcd..8299a0a 100644 --- a/library/src/main/java/com/theta360/pluginlibrary/activity/Constants.java +++ b/library/src/main/java/com/theta360/pluginlibrary/activity/Constants.java @@ -59,6 +59,8 @@ final class Constants { static final String ACTION_BATTERY_CHARGING_SUSPEND = "com.theta360.plugin.ACTION_BATTERY_CHARGING_SUSPEND"; static final String ACTION_BATTERY_CHARGING_RESUME = "com.theta360.plugin.ACTION_BATTERY_CHARGING_RESUME"; + static final String ACTION_POWER_OFF = "com.theta360.plugin.ACTION_POWER_OFF"; + static final String ACTION_PLUGIN_WEBAPI_CAMERA_OPEN = "com.theta360.plugin.ACTION_PLUGIN_WEBAPI_CAMERA_OPEN"; static final String ACTION_PLUGIN_WEBAPI_CAMERA_CLOSE = "com.theta360.plugin.ACTION_PLUGIN_WEBAPI_CAMERA_CLOSE"; diff --git a/library/src/main/java/com/theta360/pluginlibrary/activity/PluginActivity.java b/library/src/main/java/com/theta360/pluginlibrary/activity/PluginActivity.java index 6d7bed2..7a65081 100644 --- a/library/src/main/java/com/theta360/pluginlibrary/activity/PluginActivity.java +++ b/library/src/main/java/com/theta360/pluginlibrary/activity/PluginActivity.java @@ -524,6 +524,13 @@ public void notificationBatteryChargingResume() { sendBroadcast(new Intent(Constants.ACTION_BATTERY_CHARGING_RESUME)); } + /** + * Power Off + */ + public void notificationPowerOff() { + sendBroadcast(new Intent(Constants.ACTION_POWER_OFF)); + } + /** * Start of camera control by WebApi */ diff --git a/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.aar b/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.aar new file mode 100644 index 0000000..a67ce24 Binary files /dev/null and b/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.aar differ diff --git a/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.aar.md5 b/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.aar.md5 new file mode 100644 index 0000000..8ecabd1 --- /dev/null +++ b/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.aar.md5 @@ -0,0 +1 @@ +6fa5f65e26b2723264cbb7ea591dc145 \ No newline at end of file diff --git a/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.aar.sha1 b/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.aar.sha1 new file mode 100644 index 0000000..be23c21 --- /dev/null +++ b/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.aar.sha1 @@ -0,0 +1 @@ +b2bb0f660ddaf39b3a1e33296bcaec6725e67101 \ No newline at end of file diff --git a/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.pom b/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.pom new file mode 100644 index 0000000..3a550e3 --- /dev/null +++ b/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.pom @@ -0,0 +1,29 @@ + + + 4.0.0 + com.theta360 + pluginlibrary + 3.3.0 + aar + + + com.android.support + appcompat-v7 + 25.4.0 + compile + + + org.apache.sanselan + sanselan + 0.97-incubator + compile + + + net.danlew + android.joda + 2.9.9.4 + compile + + + diff --git a/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.pom.md5 b/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.pom.md5 new file mode 100644 index 0000000..ed87329 --- /dev/null +++ b/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.pom.md5 @@ -0,0 +1 @@ +0a377f224cfd8b19b072aee5885bc9b0 \ No newline at end of file diff --git a/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.pom.sha1 b/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.pom.sha1 new file mode 100644 index 0000000..bbe0bdf --- /dev/null +++ b/repository/com/theta360/pluginlibrary/3.3.0/pluginlibrary-3.3.0.pom.sha1 @@ -0,0 +1 @@ +e4d1a9694497158cc6478c83c97232da4dc47e12 \ No newline at end of file diff --git a/repository/com/theta360/pluginlibrary/maven-metadata.xml b/repository/com/theta360/pluginlibrary/maven-metadata.xml index 272a3cb..a867150 100644 --- a/repository/com/theta360/pluginlibrary/maven-metadata.xml +++ b/repository/com/theta360/pluginlibrary/maven-metadata.xml @@ -3,7 +3,7 @@ com.theta360 pluginlibrary - 3.2.0 + 3.3.0 2.0.0 2.1.0 @@ -15,7 +15,8 @@ 3.0.5 3.1.0 3.2.0 + 3.3.0 - 20230704134220 + 20230915022031 diff --git a/repository/com/theta360/pluginlibrary/maven-metadata.xml.md5 b/repository/com/theta360/pluginlibrary/maven-metadata.xml.md5 index a3ce32e..f56d347 100644 --- a/repository/com/theta360/pluginlibrary/maven-metadata.xml.md5 +++ b/repository/com/theta360/pluginlibrary/maven-metadata.xml.md5 @@ -1 +1 @@ -07332d7a0103b481190984ea1a71bd97 \ No newline at end of file +025784f79758d91e85d8577e1b7ac630 \ No newline at end of file diff --git a/repository/com/theta360/pluginlibrary/maven-metadata.xml.sha1 b/repository/com/theta360/pluginlibrary/maven-metadata.xml.sha1 index 9bce4ef..85ab67c 100644 --- a/repository/com/theta360/pluginlibrary/maven-metadata.xml.sha1 +++ b/repository/com/theta360/pluginlibrary/maven-metadata.xml.sha1 @@ -1 +1 @@ -4844b35bc12976239c146321177d997e84779623 \ No newline at end of file +b7ebf858771a77bf785f138d2ba17fd089647236 \ No newline at end of file