Skip to content

Commit

Permalink
v0.7.2 (#224)
Browse files Browse the repository at this point in the history
* New preference: Minimum distance between subsequent track points

* Open keyboard automatically when creating a note

Fixes issue #62

* update gradle and build tools versions

* The bug that deletes the saved tags before save the trace is solved

* New translations from Transifex

* Do not allow empty string in min_logging_distance

* Solving the issue #115 (#179)

Adding new icon in the bottom space in the main screen

* Changing app version to 0.7.1

* Fix travis CI (#202)

* Fix  ExportTrackTaskTest and Travis CI

* Update gradle4.6-all checksum

* Update travis config file

* add travis config sudo:true

* Fix issue 183

* Fix the problem when download a new layout after the export gpx directory changed

* fix display of background maps (#203)

* Add load method which sets HTTP User Agent to the app package name

* Ask for permissions before display track

* Clean unused code in DisplayTrack

* Request storage permission when exporting tracks any time

* Add missing breaks - permissions requested propertly when exporting all traces

* Request permissions when upload a trace to OSM

* scale-up map to be better readable on high DPI displays

* Set track width in map view to 0.5mm

* Fix issue  #189, adding multiple tags to track (#204)

* Comment map tiles sources in preferences

* Use always the default map tile source MAPNIK

* Include the track's tags into the GPX file (#166)

* Include the tags in the GPX file

* Fix: The "<tags>" was missing; actually, according to the GPX specification, a separate namespaces should be used for such custom tags. I don't do it for the time being to be compliant with other appearances of "<extensions>" in this app.

* Fixed null issue when tags are empty

* slight format adjustments

* Export track description into GPX

* replace <extensions><tags>... by <metadata><keywords>...

* Export multiple tags as multiple <keyword> elements instead of comma separated
list. Seems to be more in line with GPX specs.

* - place <desc> also withing <metadata>
- trim leading/trailing whitespaces from tags in GPX

* Request GPS permission before start TrackLogger Activity, fix issue #207 (#213)

* Update the target sdk to 28 and the version code to 45

* Fix android9 and issues (#218)

* Target sdk 28 needs FOREGROUND_SERVICE permission in manifest. Fixes issue #214

* Fix wrong imports and function calls from them

* Fix background map for Android 9.0 to launch beta2 v0.7.2

* Fix some dependencies in manifest and gradle - WIP

* Change dependencies, delete usage of http-android

* Update version code

* Comment tests that stop travis

* Delete test class files
  • Loading branch information
xsaco07 authored and aton1698 committed Oct 7, 2019
1 parent 1ee6840 commit 81b9525
Show file tree
Hide file tree
Showing 17 changed files with 439 additions and 533 deletions.
22 changes: 14 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
sudo: false
sudo: true

language: android
jdk: oraclejdk8

android:
components:
- build-tools-28.0.3
- android-28
- tools
- platform-tools
- tools
- build-tools-27.0.3
- android-16
- android-19
- sys-img-armeabi-v7a-android-19
- android-21
- sys-img-armeabi-v7a-android-21

licenses:
- android-sdk-license-.+
- '.+'

before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- yes | sdkmanager "platforms;android-27"

before_script:
- echo no | android create avd --force -n test -c 100M -t android-19 --abi armeabi-v7a
- echo no | android create avd --force -n test -c 100M -t android-21 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
Expand Down
35 changes: 28 additions & 7 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 27

useLibrary 'org.apache.http.legacy'
compileSdkVersion 28
buildToolsVersion = '28.0.3'

defaultConfig {
applicationId "net.osmtracker"
minSdkVersion 16
targetSdkVersion 27
targetSdkVersion 28
multiDexEnabled true

testApplicationId "net.osmtracker.test"
Expand Down Expand Up @@ -49,17 +51,36 @@ android {
abortOnError false
}
}

defaultConfig {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

}

dependencies {

implementation 'org.apache.james:apache-mime4j-core:0.7.2'
implementation 'org.apache.httpcomponents:httpclient:4.2.1'
implementation 'org.apache.httpcomponents:httpcore:4.2.1'
implementation 'org.apache.httpcomponents:httpmime:4.2.1'
implementation 'org.osmdroid:osmdroid-android:5.6.5'

implementation ('org.apache.httpcomponents:httpmime:4.3.6')
//implementation 'org.apache.httpcomponents:httpclient-android:4.3.5'

implementation 'org.osmdroid:osmdroid-android:6.1.0'
implementation 'org.apache.httpcomponents:httpcore:4.4.10'

implementation 'oauth.signpost:signpost-commonshttp4:1.2.1.2'
implementation 'org.slf4j:slf4j-android:1.7.25'
implementation "com.android.support:support-compat:27.1.1"
implementation "com.android.support:support-compat:28.0.0"

// Required for local unit tests (JUnit 4 framework)
testImplementation 'junit:junit:4.12'

// Required for instrumented tests
androidTestImplementation "com.android.support.test:runner:1.0.2"
androidTestImplementation "com.android.support.test.espresso:espresso-core:3.0.2"
androidTestImplementation "com.android.support.test:rules:1.0.2"

compileOnly 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
}

task copyNorwegianValues(type: Copy) {
Expand Down
2 changes: 1 addition & 1 deletion app/src/androidTest/assets/gpx/gpx-test.gpx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<gpx xmlns="http://www.topografix.com/GPX/1/1" version="1.1" creator="OSMTracker for Android™ - https://github.com/nguillaumin/osmtracker-android" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd ">
<gpx xmlns="http://www.topografix.com/GPX/1/1" version="1.1" creator="OSMTracker for Android™ - https://github.com/labexp/osmtracker-android" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd ">
<wpt lat="34.12" lon="18.45">
<ele>5812.2</ele>
<time>2012-03-12T16:46:38Z</time>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 81b9525

Please sign in to comment.