Skip to content

Commit 125d803

Browse files
Merge pull request #294 from heremaps/esd/41700
Update example apps for release 4.17.0.0
2 parents fbacb15 + 60d6155 commit 125d803

File tree

321 files changed

+946
-516
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

321 files changed

+946
-516
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ For an overview of the existing features, please check the _Developer Guide_ for
2626

2727
> For now, the _Navigate Edition_ is only available upon request. Please contact your HERE representative to receive access including a set of evaluation credentials.
2828
29-
## List of Available Example Apps (Version 4.16.4.0)
29+
## List of Available Example Apps (Version 4.17.0.0)
3030

3131
- **HelloMap**: Shows the classic 'Hello World'.
3232
- **HelloMapKotlin**: Shows the classic 'Hello World' using Kotlin language (Android only).

examples/latest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This folder contains the HERE SDK examples apps for version: 4.16.4.0
1+
This folder contains the HERE SDK examples apps for version: 4.17.0.0
22

33
- HERE SDK for Android ([Lite Edition](lite/android/), [Explore Edition](explore/android/), [Navigate Edition](navigate/android/))
44
- HERE SDK for iOS ([Lite Edition](lite/ios/), [Explore Edition](explore/ios/), [Navigate Edition](navigate/ios/))

examples/latest/explore/android/Camera/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 33
4+
compileSdk 34
55
defaultConfig {
66
applicationId "com.here.sdk.camera"
77
minSdkVersion 23
8-
targetSdkVersion 33
8+
targetSdkVersion 34
99
versionCode 1
1010
versionName "1.0"
1111
}

examples/latest/explore/android/Camera/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77

88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:7.4.2'
10+
classpath 'com.android.tools.build:gradle:8.1.4'
1111

1212
// NOTE: Do not place your application dependencies here; they belong
1313
// in the individual module build.gradle files

examples/latest/explore/android/Camera/gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
# http://www.gradle.org/docs/current/userguide/build_environment.html
77
# Specifies the JVM arguments used for the daemon process.
88
# The setting is particularly useful for tweaking memory settings.
9+
android.defaults.buildfeatures.buildconfig=true
910
android.enableJetifier=true
11+
android.nonFinalResIds=false
12+
android.nonTransitiveRClass=false
1013
android.useAndroidX=true
1114
org.gradle.jvmargs=-Xmx1536m
1215
# When configured, Gradle will run in incubating parallel mode.

examples/latest/explore/android/Camera/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-all.zip

examples/latest/explore/android/CameraKeyframeTracks/app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 33
4+
compileSdk 34
55
defaultConfig {
66
applicationId "com.here.camerakeyframetracks"
77
minSdkVersion 23
8-
targetSdkVersion 33
8+
targetSdkVersion 34
99
versionCode 1
1010
versionName "1.0"
1111
}
@@ -27,4 +27,4 @@ dependencies {
2727
implementation fileTree(dir: 'libs', include: ['*.aar', '*.jar'], exclude : ['*mock*.jar'])
2828
implementation 'androidx.appcompat:appcompat:1.3.1'
2929
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
30-
}
30+
}

examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/CameraKeyframeTracksExample.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
import com.here.sdk.animation.AnimationListener;
2828
import com.here.sdk.animation.AnimationState;
29+
import com.here.sdk.animation.Easing;
2930
import com.here.sdk.animation.EasingFunction;
3031
import com.here.sdk.animation.GeoCoordinatesKeyframe;
3132
import com.here.sdk.animation.GeoOrientationKeyframe;
@@ -99,9 +100,9 @@ private List<MapCameraKeyframeTrack> createMapCameraKeyframeTracks() {
99100
List<GeoOrientationKeyframe> geoOrientationKeyframes = createGeoOrientationKeyframes();
100101

101102
try {
102-
geoCoordinatesMapCameraKeyframeTrack = MapCameraKeyframeTrack.lookAtTarget(geoCoordinatesKeyframes, EasingFunction.LINEAR, KeyframeInterpolationMode.LINEAR);
103-
scalarMapCameraKeyframeTrack = MapCameraKeyframeTrack.lookAtDistance(scalarKeyframes, EasingFunction.LINEAR, KeyframeInterpolationMode.LINEAR);
104-
geoOrientationMapCameraKeyframeTrack = MapCameraKeyframeTrack.lookAtOrientation(geoOrientationKeyframes, EasingFunction.LINEAR, KeyframeInterpolationMode.LINEAR);
103+
geoCoordinatesMapCameraKeyframeTrack = MapCameraKeyframeTrack.lookAtTarget(geoCoordinatesKeyframes, new Easing(EasingFunction.LINEAR), KeyframeInterpolationMode.LINEAR);
104+
scalarMapCameraKeyframeTrack = MapCameraKeyframeTrack.lookAtDistance(scalarKeyframes, new Easing(EasingFunction.LINEAR), KeyframeInterpolationMode.LINEAR);
105+
geoOrientationMapCameraKeyframeTrack = MapCameraKeyframeTrack.lookAtOrientation(geoOrientationKeyframes, new Easing(EasingFunction.LINEAR), KeyframeInterpolationMode.LINEAR);
105106
} catch (MapCameraKeyframeTrack.InstantiationException e) {
106107
// Throws an error if keyframes are empty or the duration of keyframes is invalid.
107108
Log.e(TAG, e.toString());

examples/latest/explore/android/CameraKeyframeTracks/app/src/main/java/com/here/camerakeyframetracks/RouteAnimationExample.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
import android.util.Log;
2323

24+
import com.here.sdk.animation.Easing;
2425
import com.here.sdk.animation.EasingFunction;
2526
import com.here.sdk.core.GeoOrientationUpdate;
2627
import com.here.sdk.core.Point2D;
@@ -75,7 +76,7 @@ private void animateToRoute(Route route) {
7576
new GeoOrientationUpdate(bearing, tilt),
7677
mapViewport);
7778
MapCameraAnimation animation =
78-
MapCameraAnimationFactory.createAnimation(update, Duration.ofMillis(3000), EasingFunction.IN_CUBIC);
79+
MapCameraAnimationFactory.createAnimation(update, Duration.ofMillis(3000), new Easing(EasingFunction.IN_CUBIC));
7980
mapView.getCamera().startAnimation(animation);
8081
}
8182
}

examples/latest/explore/android/CameraKeyframeTracks/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77

88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:7.4.2'
10+
classpath 'com.android.tools.build:gradle:8.1.4'
1111

1212
// NOTE: Do not place your application dependencies here; they belong
1313
// in the individual module build.gradle files

0 commit comments

Comments
 (0)