Skip to content

Commit

Permalink
ARCore Android SDK v1.32.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyvc committed Jun 24, 2022
1 parent e28822d commit d197af6
Show file tree
Hide file tree
Showing 16 changed files with 50 additions and 47 deletions.
9 changes: 6 additions & 3 deletions libraries/include/arcore_c_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a
/// href="https://developers.google.com/ar/develop/recording-and-playback#what%E2%80%99s_in_a_recording">documentation
/// on Recording and Playback</a> to learn which data is saved in a recording.
///
/// @param[in] session The ARCore session
/// @param[in] recording_config The configuration defined for recording.
///
Expand Down Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions samples/augmented_faces_java/app/build.gradle
Original file line number Diff line number Diff line change
@@ -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'
}
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions samples/augmented_image_c/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions samples/augmented_image_java/app/build.gradle
Original file line number Diff line number Diff line change
@@ -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'
}
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions samples/cloud_anchor_java/app/build.gradle
Original file line number Diff line number Diff line change
@@ -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'
}
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions samples/computervision_c/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions samples/computervision_java/app/build.gradle
Original file line number Diff line number Diff line change
@@ -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'
}
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions samples/geospatial_java/app/build.gradle
Original file line number Diff line number Diff line change
@@ -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'
}
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions samples/hello_ar_c/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions samples/hello_ar_java/app/build.gradle
Original file line number Diff line number Diff line change
@@ -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'
}
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion samples/hello_ar_kotlin/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion samples/ml_kotlin/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions samples/persistent_cloud_anchor_java/app/build.gradle
Original file line number Diff line number Diff line change
@@ -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'
}
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions samples/raw_depth_java/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 31
compileSdkVersion 32
defaultConfig {
applicationId "com.google.ar.core.examples.java.rawdepth"

// Camera2 API requires minSdkVersion >= 21.
// "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'
}
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions samples/recording_playback_java/app/build.gradle
Original file line number Diff line number Diff line change
@@ -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'
}
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions samples/shared_camera_java/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 31
compileSdkVersion 32
defaultConfig {
applicationId "com.google.ar.core.examples.java.sharedcamera"

// Camera2 API requires minSdkVersion >= 21.
// "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'
}
Expand All @@ -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
Expand Down

0 comments on commit d197af6

Please sign in to comment.