diff --git a/app/src/main/java/io/ticofab/androidgpxparser/GPXParserSampleActivity.java b/app/src/main/java/io/ticofab/androidgpxparser/GPXParserSampleActivity.java index 1e3d685..9b951d7 100644 --- a/app/src/main/java/io/ticofab/androidgpxparser/GPXParserSampleActivity.java +++ b/app/src/main/java/io/ticofab/androidgpxparser/GPXParserSampleActivity.java @@ -47,7 +47,7 @@ protected void onCreate(Bundle savedInstanceState) { TrackSegment segment = segments.get(j); Log.d(TAG, " segment " + j + ":"); for (TrackPoint trackPoint : segment.getTrackPoints()) { - Log.d(TAG, " point: lat " + trackPoint.getLatitude() + ", lon " + trackPoint.getLongitude()); + Log.d(TAG, " point: lat " + trackPoint.getLatitude() + ", lon " + trackPoint.getLongitude() + ", time " + trackPoint.getTime()); } } } diff --git a/parser/build.gradle b/parser/build.gradle index c7d554d..31a3109 100644 --- a/parser/build.gradle +++ b/parser/build.gradle @@ -29,7 +29,7 @@ android { dependencies { // JodaTime for Android // https://github.com/dlew/joda-time-android - implementation 'net.danlew:android.joda:2.10.9.1' + api 'net.danlew:android.joda:2.10.9.1' androidTestImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.annotation:annotation:1.1.0' diff --git a/settings.gradle b/settings.gradle index 4eecce0..89c7abe 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1 @@ -include ':parser' -include ':app' +include ':parser', ':app' \ No newline at end of file