From d197af6b38f98d2344bc7f76326c4aa0c4f2fb90 Mon Sep 17 00:00:00 2001 From: Jeremy Van Cuylenburg Date: Fri, 24 Jun 2022 18:41:38 +0000 Subject: [PATCH] ARCore Android SDK v1.32.0 --- libraries/include/arcore_c_api.h | 9 ++++++--- samples/augmented_faces_java/app/build.gradle | 6 +++--- samples/augmented_image_c/app/build.gradle | 8 ++++---- samples/augmented_image_java/app/build.gradle | 6 +++--- samples/cloud_anchor_java/app/build.gradle | 6 +++--- samples/computervision_c/app/build.gradle | 8 ++++---- samples/computervision_java/app/build.gradle | 6 +++--- samples/geospatial_java/app/build.gradle | 6 +++--- samples/hello_ar_c/app/build.gradle | 8 ++++---- samples/hello_ar_java/app/build.gradle | 6 +++--- samples/hello_ar_kotlin/app/build.gradle | 2 +- samples/ml_kotlin/app/build.gradle | 2 +- samples/persistent_cloud_anchor_java/app/build.gradle | 6 +++--- samples/raw_depth_java/app/build.gradle | 6 +++--- samples/recording_playback_java/app/build.gradle | 6 +++--- samples/shared_camera_java/app/build.gradle | 6 +++--- 16 files changed, 50 insertions(+), 47 deletions(-) diff --git a/libraries/include/arcore_c_api.h b/libraries/include/arcore_c_api.h index 5a077d04b..59d5413fa 100644 --- a/libraries/include/arcore_c_api.h +++ b/libraries/include/arcore_c_api.h @@ -3072,6 +3072,10 @@ void ArSession_getPlaybackStatus(ArSession *session, /// /// Recording introduces additional overhead and may affect app performance. /// +/// Session recordings may contain sensitive information. See documentation +/// on Recording and Playback to learn which data is saved in a recording. +/// /// @param[in] session The ARCore session /// @param[in] recording_config The configuration defined for recording. /// @@ -5565,9 +5569,8 @@ void ArEarth_getCameraGeospatialPose( /// due to @c #AR_GEOSPATIAL_MODE_DISABLED configured on the @c ::ArSession. /// Reacquire @c ::ArEarth if earth mode was reenabled. /// - @c #AR_ERROR_INVALID_ARGUMENT if @p latitude is outside the allowable -/// range, or if either @p session, @p earth, @p eus_quaternion_4, or @p -/// out_anchor is @c NULL. -/// - @c #AR_ERROR_NOT_TRACKING when localisation is not available. +/// range, or if either @p session, @p earth, or @p eus_quaternion_4 is @c +/// NULL. ArStatus ArEarth_acquireNewAnchor(ArSession *session, ArEarth *earth, double latitude, diff --git a/samples/augmented_faces_java/app/build.gradle b/samples/augmented_faces_java/app/build.gradle index 88478c0e2..75c9f8a84 100644 --- a/samples/augmented_faces_java/app/build.gradle +++ b/samples/augmented_faces_java/app/build.gradle @@ -1,14 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId "com.google.ar.core.examples.java.augmentedfaces" // AR Optional apps must declare minSdkVersion >= 14. // AR Required apps must declare minSdkVersion >= 24. minSdkVersion 24 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName '1.0' } @@ -26,7 +26,7 @@ android { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' // Obj - a simple Wavefront OBJ file loader // https://github.com/javagl/Obj diff --git a/samples/augmented_image_c/app/build.gradle b/samples/augmented_image_c/app/build.gradle index 62d821a12..5f9b42029 100644 --- a/samples/augmented_image_c/app/build.gradle +++ b/samples/augmented_image_c/app/build.gradle @@ -10,14 +10,14 @@ def arcore_libpath = "${buildDir}/arcore-native" configurations { natives } android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId "com.google.ar.core.examples.c.augmentedimage" // "AR Optional" apps must declare minSdkVersion >= 14. // "AR Required" apps must declare minSdkVersion >= 24. minSdkVersion 24 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName '1.0' @@ -53,8 +53,8 @@ android { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' - natives 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' + natives 'com.google.ar:core:1.32.0' implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'com.google.android.material:material:1.1.0' diff --git a/samples/augmented_image_java/app/build.gradle b/samples/augmented_image_java/app/build.gradle index d88457384..8d5bf446e 100644 --- a/samples/augmented_image_java/app/build.gradle +++ b/samples/augmented_image_java/app/build.gradle @@ -1,14 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId "com.google.ar.core.examples.java.augmentedimage" // "AR Optional" apps must declare minSdkVersion >= 14. // "AR Required" apps must declare minSdkVersion >= 24. minSdkVersion 24 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName '1.0' } @@ -26,7 +26,7 @@ android { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' // Obj - a simple Wavefront OBJ file loader // https://github.com/javagl/Obj diff --git a/samples/cloud_anchor_java/app/build.gradle b/samples/cloud_anchor_java/app/build.gradle index c214f930f..d9a96280f 100644 --- a/samples/cloud_anchor_java/app/build.gradle +++ b/samples/cloud_anchor_java/app/build.gradle @@ -1,14 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId "com.google.ar.core.examples.java.cloudanchor" // "AR Optional" apps must declare minSdkVersion >= 14. // "AR Required" apps must declare minSdkVersion >= 24. minSdkVersion 24 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName '1.0' } @@ -26,7 +26,7 @@ android { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' // Obj - a simple Wavefront OBJ file loader // https://github.com/javagl/Obj diff --git a/samples/computervision_c/app/build.gradle b/samples/computervision_c/app/build.gradle index 8ff2c3ace..bd940f574 100644 --- a/samples/computervision_c/app/build.gradle +++ b/samples/computervision_c/app/build.gradle @@ -10,14 +10,14 @@ def arcore_libpath = "${buildDir}/arcore-native" configurations { natives } android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId "com.google.ar.core.examples.c.computervision" // "AR Optional" apps must declare minSdkVersion >= 14. // "AR Required" apps must declare minSdkVersion >= 24. minSdkVersion 24 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName '1.0' @@ -53,8 +53,8 @@ android { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' - natives 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' + natives 'com.google.ar:core:1.32.0' implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'com.google.android.material:material:1.1.0' diff --git a/samples/computervision_java/app/build.gradle b/samples/computervision_java/app/build.gradle index 8d24bbc39..4cdd2c821 100644 --- a/samples/computervision_java/app/build.gradle +++ b/samples/computervision_java/app/build.gradle @@ -1,14 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId "com.google.ar.core.examples.java.computervision" // "AR Optional" apps must declare minSdkVersion >= 14. // "AR Required" apps must declare minSdkVersion >= 24. minSdkVersion 24 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName '1.0' } @@ -26,7 +26,7 @@ android { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' // Obj - a simple Wavefront OBJ file loader // https://github.com/javagl/Obj diff --git a/samples/geospatial_java/app/build.gradle b/samples/geospatial_java/app/build.gradle index 565f882c5..5669ae941 100644 --- a/samples/geospatial_java/app/build.gradle +++ b/samples/geospatial_java/app/build.gradle @@ -1,14 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId "com.google.ar.core.examples.java.geospatial" // AR Optional apps must declare minSdkVersion >= 14. // AR Required apps must declare minSdkVersion >= 24. minSdkVersion 24 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName '1.0' } @@ -26,7 +26,7 @@ android { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' implementation 'com.google.android.gms:play-services-location:19.0.1' // Obj - a simple Wavefront OBJ file loader diff --git a/samples/hello_ar_c/app/build.gradle b/samples/hello_ar_c/app/build.gradle index 5ab0989fb..3ff89bba1 100644 --- a/samples/hello_ar_c/app/build.gradle +++ b/samples/hello_ar_c/app/build.gradle @@ -10,14 +10,14 @@ def arcore_libpath = "${buildDir}/arcore-native" configurations { natives } android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId "com.google.ar.core.examples.c.helloar" // "AR Optional" apps must declare minSdkVersion >= 14. // "AR Required" apps must declare minSdkVersion >= 24. minSdkVersion 24 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName '1.0' @@ -53,8 +53,8 @@ android { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' - natives 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' + natives 'com.google.ar:core:1.32.0' implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'com.google.android.material:material:1.1.0' diff --git a/samples/hello_ar_java/app/build.gradle b/samples/hello_ar_java/app/build.gradle index 4d25c7705..2012f2a49 100644 --- a/samples/hello_ar_java/app/build.gradle +++ b/samples/hello_ar_java/app/build.gradle @@ -1,14 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId "com.google.ar.core.examples.java.helloar" // AR Optional apps must declare minSdkVersion >= 14. // AR Required apps must declare minSdkVersion >= 24. minSdkVersion 24 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName '1.0' } @@ -26,7 +26,7 @@ android { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' // Obj - a simple Wavefront OBJ file loader // https://github.com/javagl/Obj diff --git a/samples/hello_ar_kotlin/app/build.gradle b/samples/hello_ar_kotlin/app/build.gradle index bccb61bd8..3990fb12a 100644 --- a/samples/hello_ar_kotlin/app/build.gradle +++ b/samples/hello_ar_kotlin/app/build.gradle @@ -30,7 +30,7 @@ android { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' // Obj - a simple Wavefront OBJ file loader // https://github.com/javagl/Obj diff --git a/samples/ml_kotlin/app/build.gradle b/samples/ml_kotlin/app/build.gradle index 08becc40b..15c73efd4 100644 --- a/samples/ml_kotlin/app/build.gradle +++ b/samples/ml_kotlin/app/build.gradle @@ -54,7 +54,7 @@ dependencies { implementation 'com.google.mlkit:object-detection-custom:16.3.1' // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' // Obj - a simple Wavefront OBJ file loader // https://github.com/javagl/Obj diff --git a/samples/persistent_cloud_anchor_java/app/build.gradle b/samples/persistent_cloud_anchor_java/app/build.gradle index ce154b072..c4ad15657 100644 --- a/samples/persistent_cloud_anchor_java/app/build.gradle +++ b/samples/persistent_cloud_anchor_java/app/build.gradle @@ -1,14 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId "com.google.ar.core.examples.java.persistentcloudanchor" // "AR Optional" apps must declare minSdkVersion >= 14. // "AR Required" apps must declare minSdkVersion >= 24. minSdkVersion 24 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName '1.0' } @@ -30,7 +30,7 @@ repositories { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' // Obj - a simple Wavefront OBJ file loader // https://github.com/javagl/Obj diff --git a/samples/raw_depth_java/app/build.gradle b/samples/raw_depth_java/app/build.gradle index 76368fb85..cf0744566 100644 --- a/samples/raw_depth_java/app/build.gradle +++ b/samples/raw_depth_java/app/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId "com.google.ar.core.examples.java.rawdepth" @@ -9,7 +9,7 @@ android { // "AR Optional" apps must declare minSdkVersion >= 14. // "AR Required" apps must declare minSdkVersion >= 24. minSdkVersion 21 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName '1.0' } @@ -27,7 +27,7 @@ android { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' // Obj - a simple Wavefront OBJ file loader // https://github.com/javagl/Obj diff --git a/samples/recording_playback_java/app/build.gradle b/samples/recording_playback_java/app/build.gradle index fa672a89e..1af9f97de 100644 --- a/samples/recording_playback_java/app/build.gradle +++ b/samples/recording_playback_java/app/build.gradle @@ -1,14 +1,14 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId "com.google.ar.core.examples.java.hellorecordingplayback" // AR Optional apps must declare minSdkVersion >= 14. // AR Required apps must declare minSdkVersion >= 24. minSdkVersion 24 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName '1.0' } @@ -26,7 +26,7 @@ android { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' // Obj - a simple Wavefront OBJ file loader // https://github.com/javagl/Obj diff --git a/samples/shared_camera_java/app/build.gradle b/samples/shared_camera_java/app/build.gradle index 9c3d30857..de35a4a36 100644 --- a/samples/shared_camera_java/app/build.gradle +++ b/samples/shared_camera_java/app/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 31 + compileSdkVersion 32 defaultConfig { applicationId "com.google.ar.core.examples.java.sharedcamera" @@ -9,7 +9,7 @@ android { // "AR Optional" apps must declare minSdkVersion >= 14. // "AR Required" apps must declare minSdkVersion >= 24. minSdkVersion 21 - targetSdkVersion 31 + targetSdkVersion 32 versionCode 1 versionName '1.0' } @@ -27,7 +27,7 @@ android { dependencies { // ARCore (Google Play Services for AR) library. - implementation 'com.google.ar:core:1.31.0' + implementation 'com.google.ar:core:1.32.0' // Obj - a simple Wavefront OBJ file loader // https://github.com/javagl/Obj