Compare commits

...

5604 Commits

Author SHA1 Message Date
Dennis Guse 8400d45e98 Release: v4.11.1 2024-02-10 21:31:48 +01:00
Dennis Guse c30862c0da Tests can now be executed again on pre-Android 12. 2024-02-10 21:31:12 +01:00
Dennis Guse da3dd29b8e Bugfix: PublicAPI stop should not start TrackRecordingService in foreground.
Actually, TrackRecordingService will start in foreground if needed.

Fixes #1850.
2024-02-10 21:17:17 +01:00
Ghost of Sparta f7991a6a64 Translated using Weblate (Hungarian)
Currently translated at 100.0% (521 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/hu/
2024-02-03 19:44:26 +01:00
summoner001 b92c11a951 Translated using Weblate (Hungarian)
Currently translated at 100.0% (521 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/hu/
2024-02-03 14:58:20 +01:00
Ghost of Sparta 64b5da17d9 Translated using Weblate (Hungarian)
Currently translated at 100.0% (521 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/hu/
2024-02-03 14:58:20 +01:00
Tea-NT 506c13322c Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (132 of 132 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/zh_Hans/
2024-02-02 04:02:12 +01:00
Tea-NT 12a90917cd Translated using Weblate (Chinese (Simplified))
Currently translated at 77.2% (102 of 132 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/zh_Hans/
2024-01-30 23:16:51 +01:00
Reza Almanda c1c59acbdc Translated using Weblate (Indonesian)
Currently translated at 3.0% (4 of 132 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/id/
2024-01-30 23:16:51 +01:00
Reza Almanda 9e1b41cefb Translated using Weblate (Indonesian)
Currently translated at 60.0% (313 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/id/
2024-01-30 23:16:51 +01:00
Tea-NT d961843cb1 Translated using Weblate (Chinese (Simplified))
Currently translated at 60.6% (80 of 132 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/zh_Hans/
2024-01-30 23:16:51 +01:00
Stephan Paternotte 4a9a7e3784 Translated using Weblate (Dutch)
Currently translated at 100.0% (521 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2024-01-30 23:16:51 +01:00
josé m 88e51842d5 Translated using Weblate (Galician)
Currently translated at 100.0% (521 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2024-01-30 23:16:51 +01:00
Fjuro b06a4495ee Translated using Weblate (Czech)
Currently translated at 100.0% (521 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/cs/
2024-01-30 23:16:51 +01:00
Tea-NT 2c1681f838 Translated using Weblate (Chinese (Simplified))
Currently translated at 46.2% (61 of 132 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/zh_Hans/
2024-01-30 23:16:51 +01:00
Tea-NT 4a07db0a08 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (521 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hans/
2024-01-30 23:16:51 +01:00
Tea-NT 0dca1d0a2d Translated using Weblate (Chinese (Simplified))
Currently translated at 99.2% (517 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hans/
2024-01-30 23:16:51 +01:00
Anonymous 683f62bd97 Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 48.9% (255 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hant_HK/
2024-01-30 23:16:51 +01:00
Anonymous 9142dada31 Translated using Weblate (Korean)
Currently translated at 49.1% (256 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/ko/
2024-01-30 23:16:51 +01:00
Anonymous 03564ea0b4 Translated using Weblate (Hebrew)
Currently translated at 48.9% (255 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/he/
2024-01-30 23:16:51 +01:00
Anonymous 9e9233128b Translated using Weblate (Italian)
Currently translated at 80.6% (420 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/it/
2024-01-30 23:16:51 +01:00
Anonymous 9cca945f29 Translated using Weblate (Hindi)
Currently translated at 49.1% (256 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/hi/
2024-01-30 23:16:51 +01:00
Anonymous 9a8730a43b Translated using Weblate (French (Canada))
Currently translated at 48.9% (255 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/fr_CA/
2024-01-30 23:16:51 +01:00
Anonymous 89d5df736b Translated using Weblate (Persian)
Currently translated at 49.1% (256 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/fa/
2024-01-30 23:16:51 +01:00
Anonymous 96f167d2fc Translated using Weblate (Greek)
Currently translated at 49.1% (256 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/el/
2024-01-30 23:16:51 +01:00
Anonymous e2e1113f93 Translated using Weblate (Bulgarian)
Currently translated at 67.9% (354 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/bg/
2024-01-30 23:16:51 +01:00
Anonymous 1da10aff83 Translated using Weblate (English (en_001))
Currently translated at 48.9% (255 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/en_001/
2024-01-30 23:16:51 +01:00
Tea-NT 149a8f012c Translated using Weblate (Chinese (Simplified))
Currently translated at 21.9% (29 of 132 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/zh_Hans/
2024-01-30 23:16:51 +01:00
Stephan Paternotte dbeb7c96c8 Translated using Weblate (Dutch)
Currently translated at 100.0% (132 of 132 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2024-01-30 23:16:50 +01:00
plum7x c8cb912bd2 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hant/
2024-01-30 23:16:50 +01:00
Fjuro a7beeaeea8 Translated using Weblate (Czech)
Currently translated at 100.0% (132 of 132 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/cs/
2024-01-30 23:16:50 +01:00
Frédéric Giquel 66da8e1b92 Fix icon for kayaking activity 2024-01-30 23:16:46 +01:00
dependabot[bot] 24d99bb522 Bump reactivecircus/android-emulator-runner from 2.30.0 to 2.30.1
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.30.0 to 2.30.1.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.30.0...v2.30.1)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 07:46:49 +01:00
dependabot[bot] 499b48334e Bump reactivecircus/android-emulator-runner from 2.29.0 to 2.30.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.29.0 to 2.30.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.29.0...v2.30.0)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-26 06:59:26 +01:00
Peter Hercek 91b5c148cc fix naming for the pace of reading of GPS location in settings
Fixes #1840
2024-01-25 22:43:47 +01:00
dependabot[bot] c48f9b0818 Bump org.mockito:mockito-android from 5.9.0 to 5.10.0
Bumps [org.mockito:mockito-android](https://github.com/mockito/mockito) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.9.0...v5.10.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-25 07:25:44 +01:00
dependabot[bot] 5588352ad1 Bump com.android.tools.build:gradle from 8.2.1 to 8.2.2
Bumps com.android.tools.build:gradle from 8.2.1 to 8.2.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-24 07:08:01 +01:00
Dennis Guse bb523b81f5 Document working sensors.
Fixes #1835.
2024-01-21 16:49:53 +01:00
Dennis Guse ce613183fe Release: v4.11.0 2024-01-21 16:44:54 +01:00
Tea-NT afb3914572 Translated using Weblate (Chinese (Simplified))
Currently translated at 6.1% (8 of 131 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/zh_Hans/
2024-01-20 05:00:30 +01:00
Tea-NT c1b2aa33d4 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.6% (517 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hans/
2024-01-20 05:00:28 +01:00
Milo Ivir 42944f8627 Translated using Weblate (Croatian)
Currently translated at 2.2% (3 of 131 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/hr/
2024-01-15 18:05:49 +01:00
plum7x 16ddc990af Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hant/
2024-01-15 18:05:49 +01:00
Stephan Paternotte 1b6026b46e Translated using Weblate (Dutch)
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2024-01-15 18:05:49 +01:00
Milo Ivir 7506758568 Translated using Weblate (Croatian)
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/hr/
2024-01-15 18:05:49 +01:00
josé m f84c6791cd Translated using Weblate (Galician)
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2024-01-15 18:05:49 +01:00
Fjuro 7535697860 Translated using Weblate (Czech)
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/cs/
2024-01-15 18:05:49 +01:00
Peter Hercek faf31fde13 more compact Y-axis markers in charts
If there is enough vertical space around each Y-axis marker then draw
 them in two lines to free more horizontal space for the chart itself.
 Fixes #1828
2024-01-15 18:05:44 +01:00
dependabot[bot] 92a4713f21 Bump org.mockito:mockito-android from 5.8.0 to 5.9.0
Bumps [org.mockito:mockito-android](https://github.com/mockito/mockito) from 5.8.0 to 5.9.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.8.0...v5.9.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 08:14:30 +01:00
Peter Hercek 7ebb629b44 fill the area below a chart curve only when there are at most 2 curves
This makes charts more readable when there are many curves in it.
 Fixes #1823
2024-01-13 16:48:59 +01:00
Dennis Guse 1ae18836cb Cleanup: move marker creation to MarkerEditActivity. 2024-01-13 00:31:48 +01:00
Dennis Guse f3e8d033cc Remove StrictMode warnings. 2024-01-13 00:15:32 +01:00
Dennis Guse b1fafc4f2f New marker get current location (on create rather than on save).
Fixes #1393.
2024-01-13 00:01:02 +01:00
Peter Hercek f3f9ad2154 add chart area space by putting x-axis label below the axis
Fixes #1820
2024-01-11 23:26:03 +01:00
plum7x fa69320aee Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hant/
2024-01-10 21:44:49 +00:00
Stephan Paternotte dabb32c71f Translated using Weblate (Dutch)
Currently translated at 100.0% (131 of 131 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2024-01-10 21:44:49 +00:00
Fjuro dd1cfd53e3 Translated using Weblate (Czech)
Currently translated at 100.0% (131 of 131 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/cs/
2024-01-10 21:44:48 +00:00
Chethan a854d8d99c Translated using Weblate (Kannada)
Currently translated at 2.8% (15 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/kn/
2024-01-10 21:44:47 +00:00
Chethan 8a1d9e626e Translated using Weblate (Kannada)
Currently translated at 1.5% (2 of 130 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/kn/
2024-01-10 21:44:47 +00:00
Stephan Paternotte 06df78f8f8 Translated using Weblate (Dutch)
Currently translated at 100.0% (130 of 130 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2024-01-10 21:44:46 +00:00
Fjuro 1ad22becb8 Translated using Weblate (Czech)
Currently translated at 100.0% (130 of 130 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/cs/
2024-01-10 21:44:46 +00:00
Stephan Paternotte c803cca5f0 Translated using Weblate (Dutch)
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2024-01-10 21:44:45 +00:00
Hikaru 120ec9b01d Translated using Weblate (Japanese)
Currently translated at 49.9% (259 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/ja/
2024-01-10 21:44:44 +00:00
josé m 1c3edcf6bc Translated using Weblate (Galician)
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2024-01-10 21:44:44 +00:00
Fjuro 967289909e Translated using Weblate (Czech)
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/cs/
2024-01-10 21:44:43 +00:00
Chethan 085eebe7f8 Added translation using Weblate (Kannada) 2024-01-10 21:44:42 +00:00
griffinonacid eed9680699 Voice Announcements remove "point zero"
Check if total distance is a whole number to prevent TTS reading out "point zero" unnecessarily
2024-01-10 22:44:37 +01:00
Peter Hercek 4a6f652663 clarify that announcer's "distance interval" corresponds to "lap length"
This fixes #1801 the most easy way. It does not implement announcer's
 interval statistics over time intervals. Instead, it only clarifies
 that "lap" quantities in the announcer are related to lap length.
 Therefore they will not work if there is no lap length defined.
2024-01-10 22:29:21 +01:00
Dennis Guse 90d81c4d84 Release: v4.10.1 2024-01-05 22:02:50 +01:00
Dennis Guse e047100e34 Bugfix: BLE pressure is in PA.
Fixes #1424.
2024-01-05 21:59:18 +01:00
Dennis Guse 80d7f8d92e Bugfix: a BLE sensor disconnect should only replace the aggregator.
Fixes #1799.
2024-01-05 15:44:05 +01:00
dependabot[bot] d038f5c33a Bump com.android.tools.build:gradle from 8.2.0 to 8.2.1
Bumps com.android.tools.build:gradle from 8.2.0 to 8.2.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-04 07:32:57 +01:00
Peter Hercek c6b4e738b9 more compact chart titles
titles need to take less vertical space for charts to be legible
 in landscape mode when more channels (data series) are available
 Fixes #1807
2024-01-02 20:53:42 +01:00
Dennis Guse 5de2012452 Android14: crash if permissions were not granted.
This is better than not starting the recording.

Part of #1781.
2024-01-01 15:35:19 +01:00
Dennis Guse 0584f05ddc Bugfix: Cycling Cadence and Distance sensor allow for repeated data.
Fixes #1790.
2024-01-01 14:39:20 +01:00
Peter Hercek 8c9e3882c7 add Magene PES P505 to the list of tested BLE cycling power sensors 2023-12-31 14:53:00 +01:00
Dennis Guse 310ac8c06e Bugfix: process cycling power sensor data correctly.
Fixes #1802.
2023-12-31 13:18:55 +01:00
Dennis Guse 9b2126550e Release: v4.10.0 2023-12-30 12:59:40 +01:00
Stephan Paternotte 0e9f9b4db7 Translated using Weblate (Dutch)
Currently translated at 100.0% (517 of 517 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-12-30 11:24:24 +01:00
josé m 4dc524bf4f Translated using Weblate (Galician)
Currently translated at 100.0% (517 of 517 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-12-30 11:24:24 +01:00
Fjuro 7455e591e1 Translated using Weblate (Czech)
Currently translated at 100.0% (517 of 517 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/cs/
2023-12-30 11:24:24 +01:00
Dennis Guse 9e4b1e0706 Merge pull request #1767 from OpenTracksApp/barometer2#1424
Support for BLE Environmental Sensing (Pressure/Barometer).
2023-12-30 11:24:20 +01:00
Dennis Guse 03dd0c2308 Implement gain/loss via Bluetooth LE Environmental Sensing Sensor.
Fixes #1424.
2023-12-30 11:23:28 +01:00
Dennis Guse 8eed8e9d8d Bugfix: Bluetooth sensor data TLS is 5s instead of 50s.
Introduced in 58d79380cf
2023-12-29 13:17:06 +01:00
Dennis Guse 94540606ef Barometer: select INTERNAL or NONE (also while recording).
Part of #1424.
2023-12-29 13:17:06 +01:00
Dennis Guse 490141db2a Barometer: added settings for sensor selection.
Part of #1424.
2023-12-29 13:17:06 +01:00
Dennis Guse 892c56389b SplashScreen supports day and night mode. 2023-12-29 13:09:52 +01:00
Dennis Guse a141bd77ad Bugfix: intervals row needs to use complete row.
Introduced in be0a7e2fac
2023-12-29 13:09:52 +01:00
Dennis Guse e48b6054df Cleanup: Theme is called OpenTracksTheme. 2023-12-29 13:09:52 +01:00
Dennis Guse bb23bac7ec Use Material3 switch for settings.
Part of #1586.
2023-12-28 20:24:32 +01:00
Stephan Paternotte fa362de67a Translated using Weblate (Dutch)
Currently translated at 100.0% (129 of 129 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-12-27 11:33:20 +01:00
Fjuro 76cba3f611 Translated using Weblate (Czech)
Currently translated at 100.0% (129 of 129 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/cs/
2023-12-27 11:33:20 +01:00
Stephan Paternotte 7ccb59beae Translated using Weblate (Dutch)
Currently translated at 100.0% (128 of 128 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-12-27 11:33:20 +01:00
Hikaru a70118b2dc Translated using Weblate (Japanese)
Currently translated at 50.0% (258 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/ja/
2023-12-27 11:33:20 +01:00
Software In Interlingua 738cbe150f Added translation using Weblate (Interlingua) 2023-12-27 11:33:20 +01:00
Fjuro 7f40f67dc4 Translated using Weblate (Czech)
Currently translated at 100.0% (128 of 128 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/cs/
2023-12-27 11:33:20 +01:00
Fjuro f1b7adb6a0 Translated using Weblate (Czech)
Currently translated at 100.0% (127 of 127 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/cs/
2023-12-27 11:33:20 +01:00
Dennis Guse 1bd75754e4 Bluetooth sensor settings: show sensor name in addition (if cached via Android OS).
Fixes #508.
2023-12-27 11:32:56 +01:00
Dennis Guse eaad33c23b Merge pull request #1797 from OpenTracksApp/refactoring#1708
Refactoring TrackRecordingServiceConnection
2023-12-27 11:06:35 +01:00
Dennis Guse 9a0f927182 Cleanup: TrackRecordingServiceConnection has now an execute method (avoid instantiation). 2023-12-27 11:05:56 +01:00
Dennis Guse 59aeec4fbc Cleanup: TrackRecordingServiceConnection. 2023-12-27 11:05:56 +01:00
Dennis Guse df8306c2f8 Cleanup: TrackEditActivity doesn't need a TrackRecordingServiceConnection. 2023-12-27 11:05:56 +01:00
Dennis Guse 5c6a4a71a4 TrackRecordingService: always starts as foreground service. 2023-12-27 11:05:56 +01:00
Dennis Guse abbc61d419 TrackRecordingService: start via ServiceCompat. 2023-12-27 11:05:56 +01:00
Dennis Guse e2f598b282 Cleanup: simplify TrackServiceConnection. 2023-12-27 11:05:56 +01:00
Dennis Guse 41da2f5b53 Cleanup: simplify TrackServiceConnection. 2023-12-27 11:05:56 +01:00
Dennis Guse 8d7a8719bc Release: v4.9.9 2023-12-27 10:32:39 +01:00
Dennis Guse 8f5388edce While recording: show BLE sensor name instead of address.
Fixes #1796.
2023-12-26 11:22:05 +01:00
Dennis Guse 81a78820cc Merge pull request #1793 from OpenTracksApp/crash#1708
Bugfix: sensors were started twice.
2023-12-26 09:04:29 +01:00
Dennis Guse 2fe452c77c Revert "fix NPE at null barometer after unregister listener"
This reverts commit 5dbd17f3bb.
2023-12-26 08:42:38 +01:00
Dennis Guse 826cf0d468 Bugfix: TrackListActivity couldn't stop and restart sensors.
Part of #1780.
2023-12-26 08:42:38 +01:00
Dennis Guse 6cd627e832 Bugfix: TrackRecordingService can only start sensors once.
Fixes #1780.
2023-12-26 08:42:37 +01:00
Dennis Guse 0ee4a4e72f Bugfix: TrackListActivity triggered TrackRecordingService twice (startSensors and startRecording).
Part of #1780.
2023-12-25 20:49:49 +01:00
Dennis Guse 150cbee95b BarometerInternal: if there is no internal barometer - don't register a listener. 2023-12-25 18:48:14 +01:00
Dennis Guse 47ceb297c9 SensorManager: crash if started twice.
Part of #1780.
2023-12-24 22:10:58 +01:00
Dennis Guse aed4af5736 Bluetooth logs: make them slightly more readable. 2023-12-24 21:49:48 +01:00
Dennis Guse 333f7956b5 Release: v4.9.8 2023-12-17 22:38:37 +01:00
Dennis Guse d08552a07b Bugfix: cycling cadence data should be handled by BluetoothHandlerCyclingCadence.
Fixes #1787.

Introduced in 15f3ccbcbd
2023-12-17 22:37:32 +01:00
dependabot[bot] 330ca4a720 Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 07:19:37 +01:00
dependabot[bot] 85171cdc46 Bump com.google.android.material:material from 1.10.0 to 1.11.0
Bumps [com.google.android.material:material](https://github.com/material-components/material-components-android) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.10.0...1.11.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 23:11:24 +01:00
Dennis Guse 5c1cb97c02 Release: v4.9.7 2023-12-12 18:46:17 +01:00
Stephan Paternotte 98a009e7c7 Translated using Weblate (Dutch)
Currently translated at 100.0% (126 of 126 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-12-09 10:04:59 +01:00
Fjuro 8f15382409 Translated using Weblate (Czech)
Currently translated at 100.0% (126 of 126 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/cs/
2023-12-09 10:04:59 +01:00
Dennis Guse 24212a226e Bugfix: prevent crash when ending a recording (barometer present).
Fixes #1766.
2023-12-09 10:04:50 +01:00
dependabot[bot] f80aaf00ec Bump reactivecircus/android-emulator-runner from 2.28.0 to 2.29.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.28.0 to 2.29.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.28.0...v2.29.0)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 20:36:04 +01:00
Dennis Guse edba2294f3 Release: v4.9.6 2023-12-04 20:16:24 +01:00
Stephan Paternotte 5743f29aed Translated using Weblate (Dutch)
Currently translated at 100.0% (125 of 125 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-12-04 07:27:05 +01:00
Max Xie 7b2ad1590c Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (516 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hans/
2023-12-04 07:27:05 +01:00
gallegonovato 251a26d2f8 Translated using Weblate (Spanish)
Currently translated at 8.0% (10 of 125 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/es/
2023-12-04 07:27:05 +01:00
Fjuro fd362e17e1 Translated using Weblate (Czech)
Currently translated at 100.0% (125 of 125 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/cs/
2023-12-04 07:27:05 +01:00
Luis Rosario bf0dd9cda4 Translated using Weblate (Portuguese (Portugal))
Currently translated at 92.2% (476 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/pt_PT/
2023-12-04 07:27:05 +01:00
dependabot[bot] 0fe176fa24 Bump org.mockito:mockito-android from 5.7.0 to 5.8.0
Bumps [org.mockito:mockito-android](https://github.com/mockito/mockito) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.7.0...v5.8.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 07:27:01 +01:00
Dennis Guse 9b45a70e67 Upgrade to Gradlew 8.5.0 2023-11-30 22:06:21 +01:00
Dennis Guse bd1b68dffd Bump com.android.tools.build:gradle from 8.2.0-rc01 to 8.2.0 2023-11-30 21:51:36 +01:00
dependabot[bot] 3c5c69fdb0 Bump actions/setup-java from 3 to 4
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-30 07:15:54 +01:00
Peter Storch 87d7ebcb64 fix #1769 export overwrite existing files 2023-11-28 21:35:17 +01:00
Dennis Guse a01edcc9e8 Bugfix: InputStream.transferTo() is only available from SDK33+.
Introcuced in 8b7063d18b.
2023-11-27 23:04:43 +01:00
Dennis Guse 8b7063d18b Cleanup: use InputStream.transferTo() 2023-11-24 07:11:22 +01:00
Dennis Guse 25d4daa295 Cleanup. 2023-11-24 07:11:07 +01:00
Peter Storch 5dbd17f3bb fix NPE at null barometer after unregister listener 2023-11-22 21:24:36 +01:00
Dennis Guse fd914630d0 Merge pull request #1755 from OpenTracksApp/barometer#1424
Refactoring sensor handling as preparation for BLE barometers.
2023-11-22 20:05:40 +01:00
Dennis Guse caf8b5526d Bugfix: BarometerInternal shouldn't send data after disconnect().
Part of #1424.
2023-11-21 07:18:10 +01:00
Dennis Guse 8d5a7e7e8b Barometer: use sensor aggregator.
Part of #1424.
2023-11-20 06:39:28 +01:00
Dennis Guse 9fb84cc47c Release: v4.9.5 2023-11-19 16:12:46 +01:00
Dennis Guse 5c7731bb1f Bugfix: removing sensor didn't remove the aggregator.
Introduced in 58d79380cf.
2023-11-16 06:53:48 +01:00
Dennis Guse ce21fe3569 Cleanup: renamed SensorData* to Aggregator*. 2023-11-15 18:41:13 +01:00
Dennis Guse d47fa27e02 Cleanup: SensorDataCyclingDistanceSpeed.Data is a record. 2023-11-15 07:26:04 +01:00
Dennis Guse 58d79380cf Sensors: separate data generation and aggregation.
Part of #1424.
2023-11-15 07:20:42 +01:00
Stephan Paternotte a0ab2e2896 Translated using Weblate (Dutch)
Currently translated at 100.0% (516 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-11-13 22:06:26 +01:00
plum7x 0bc526df06 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.2% (512 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hant/
2023-11-10 18:36:53 +00:00
Pavel Smirnov f51edbf712 Translated using Weblate (Russian)
Currently translated at 12.0% (15 of 124 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/ru/
2023-11-08 22:36:40 +00:00
Pavel Smirnov 2384b947b3 Translated using Weblate (Russian)
Currently translated at 98.2% (507 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/ru/
2023-11-08 22:36:37 +00:00
Stephan Paternotte aca7f9063e Translated using Weblate (Dutch)
Currently translated at 100.0% (516 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-11-07 15:06:10 +01:00
Hosted Weblate 78282b97ed Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/
2023-11-07 07:02:03 +01:00
mm4c c32ab408e6 Translated using Weblate (Dutch)
Currently translated at 99.4% (513 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-11-07 07:02:02 +01:00
Dennis Guse 15f3ccbcbd Bluetooth: rename to BluetoothHandlers. 2023-11-06 18:09:19 +01:00
Dennis Guse f2594371d3 Bluetooth: inline BluetoothUtils into Handler classes. 2023-11-06 18:09:19 +01:00
Dennis Guse 4d54472c93 Bluetooth: use composition instead of inheritance.
Part of #1424.
2023-11-06 18:09:19 +01:00
Dennis Guse 3a2a62a6d7 Bluetooth: send sensor data directly to SensorManager.
Part of #1424.
2023-11-06 18:09:19 +01:00
Dennis Guse 17487961ad Bluetooth: upgrade minSDK=26 for simplification (race condition prevention).
Part of #1424.
2023-11-06 18:09:19 +01:00
mm4c af268c608a Translated using Weblate (Dutch)
Currently translated at 100.0% (516 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-11-06 07:46:22 +01:00
ngocanhtve 605d4c02f5 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (516 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/vi/
2023-11-06 07:46:22 +01:00
gallegonovato cae2de0982 Translated using Weblate (Spanish)
Currently translated at 100.0% (516 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/es/
2023-11-06 07:46:22 +01:00
Stephan Paternotte 257b051f13 Translated using Weblate (Dutch)
Currently translated at 100.0% (124 of 124 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-11-06 07:46:22 +01:00
Fjuro 0cf65e0b89 Translated using Weblate (Czech)
Currently translated at 100.0% (124 of 124 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/cs/
2023-11-06 07:46:22 +01:00
Stephan Paternotte 062d48e69f Translated using Weblate (Dutch)
Currently translated at 100.0% (516 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-11-06 07:46:22 +01:00
Milo Ivir a270b1f64f Translated using Weblate (Croatian)
Currently translated at 100.0% (516 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/hr/
2023-11-06 07:46:22 +01:00
josé m f7bc25c17d Translated using Weblate (Galician)
Currently translated at 100.0% (516 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-11-06 07:46:22 +01:00
Fjuro 90f82f7c5c Translated using Weblate (Czech)
Currently translated at 100.0% (516 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/cs/
2023-11-06 07:46:22 +01:00
Dennis Guse 062457f1aa Cleanup: use Java 17's instanceof.
Fixes #1757.
2023-11-06 07:46:18 +01:00
dependabot[bot] cd4d297608 Bump com.android.tools:desugar_jdk_libs from 2.0.3 to 2.0.4
Bumps [com.android.tools:desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 2.0.3 to 2.0.4.
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-03 07:03:36 +01:00
dependabot[bot] 06c87bc7d4 Bump org.mockito:mockito-android from 5.6.0 to 5.7.0
Bumps [org.mockito:mockito-android](https://github.com/mockito/mockito) from 5.6.0 to 5.7.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.6.0...v5.7.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-03 07:03:12 +01:00
bneuburg df98fdd4de Fix idle announcement settings 2023-11-01 07:04:33 +01:00
Dennis Guse e9e9bb3874 Release: v4.9.4 2023-10-29 21:18:35 +01:00
Dennis Guse 1b39774e7a Merge branch 'weblate' 2023-10-29 21:08:54 +01:00
Dennis Guse 2c771ab75b Fix plurals. 2023-10-29 21:08:47 +01:00
ngocanhtve 6424b6ee41 Translated using Weblate (Vietnamese)
Currently translated at 7.3% (9 of 123 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/vi/
2023-10-29 20:01:56 +00:00
Stephan Paternotte 0ad94d562e Translated using Weblate (Dutch)
Currently translated at 100.0% (123 of 123 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-10-29 20:01:55 +00:00
ngocanhtve 2f7f466930 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (515 of 515 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/vi/
2023-10-29 20:01:44 +00:00
Milo Ivir 74a727426f Translated using Weblate (Croatian)
Currently translated at 100.0% (515 of 515 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/hr/
2023-10-29 20:01:43 +00:00
Dennis Guse cb48d7f706 Bugfix (Android14): for recording Location/GPS and Nearby Devices/Bluetooth are mandatory due to Android.
Fixes #1749.
2023-10-29 21:01:37 +01:00
Milo Ivir 6f364ab481 Translated using Weblate (Croatian)
Currently translated at 96.1% (495 of 515 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/hr/
2023-10-28 14:56:42 +02:00
Myoth c510bb66b2 Translated using Weblate (French)
Currently translated at 97.4% (502 of 515 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/fr/
2023-10-24 18:04:21 +02:00
Hosted Weblate d353a9985c Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/
2023-10-21 04:17:43 +00:00
Limfjorden 0beb673db5 Translated using Weblate (Danish)
Currently translated at 93.2% (480 of 515 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/da/
2023-10-21 04:17:41 +00:00
Fjuro e1ee69dc38 Translated using Weblate (Czech)
Currently translated at 100.0% (123 of 123 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/cs/
2023-10-19 06:12:37 +02:00
Reza Almanda 28ccae6cf2 Translated using Weblate (Indonesian)
Currently translated at 58.6% (302 of 515 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/id/
2023-10-19 06:12:29 +02:00
Peter Storch 4bf89f380a add template parameter to report_issue_link 2023-10-17 21:36:37 +02:00
Dennis Guse f4f17440c9 Release: v4.9.3 2023-10-17 20:32:05 +02:00
Dennis Guse c46f8689f6 Merge remote-tracking branch 'weblate/main' 2023-10-17 20:31:08 +02:00
Dennis Guse 1eedd78466 Revert "Cleanup: use stream.toList()."
This reverts commit 8c8a7d9496.
2023-10-17 20:28:35 +02:00
plum7x 20efdd19a1 Translated using Weblate (Chinese (Traditional))
Currently translated at 99.2% (511 of 515 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hant/
2023-10-15 08:46:50 +00:00
Fjuro 94b9eb675a Translated using Weblate (Czech)
Currently translated at 100.0% (122 of 122 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/cs/
2023-10-15 08:46:50 +00:00
Stephan Paternotte f66326b816 Translated using Weblate (Dutch)
Currently translated at 100.0% (122 of 122 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-10-15 08:46:46 +00:00
Stephan Paternotte 2d97ee048f Translated using Weblate (Dutch)
Currently translated at 100.0% (515 of 515 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-10-15 08:46:45 +00:00
josé m eac5986c9a Translated using Weblate (Galician)
Currently translated at 100.0% (515 of 515 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-10-15 08:46:45 +00:00
Fjuro c47b39e288 Translated using Weblate (Czech)
Currently translated at 100.0% (515 of 515 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/cs/
2023-10-15 08:46:44 +00:00
Dennis Guse 8f9ba046ce Cleanup: setTextAppearance(context...) is deprecated. 2023-10-15 10:46:36 +02:00
Dennis Guse a4b2df949c Setting: use SwitchPreferenceCompat everywhere. 2023-10-14 23:05:43 +02:00
Dennis Guse a02e6fcd51 Cleanup: AggregatedStatisticsAdapter uses ViewBinding. 2023-10-14 10:50:40 +02:00
Dennis Guse be0a7e2fac Cleanup: interval statistics uses ViewBinding. 2023-10-14 10:50:40 +02:00
Dennis Guse 46c56b7de8 Cleanup: settings for layout uses ViewBinding. 2023-10-14 10:50:40 +02:00
Dennis Guse 5ba55324fa Cleanup: aggregated stats filter uses ViewBinding. 2023-10-14 10:50:40 +02:00
Dennis Guse bcb18ca46b Bugfix: import/export skip/overwrite buttons were not styled correctly.
Fixes #1716.
2023-10-11 07:33:38 +02:00
Dennis Guse 2657417887 UI: show back button, if there is a back operation. 2023-10-11 07:33:38 +02:00
dependabot[bot] 43b8b97aaf Bump androidx.mediarouter:mediarouter from 1.4.0 to 1.6.0
Bumps androidx.mediarouter:mediarouter from 1.4.0 to 1.6.0.

---
updated-dependencies:
- dependency-name: androidx.mediarouter:mediarouter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 23:31:03 +02:00
Dennis Guse 65b53396a6 Merge pull request #1717 from OpenTracksApp/type#1608
Introduced ActivityType is now non-localized (i.e., English) value
2023-10-10 20:10:16 +02:00
Dennis Guse 374656aa6b Release: v4.9.2 2023-10-10 20:08:19 +02:00
Åzze c623475c95 Translated using Weblate (Finnish)
Currently translated at 92.5% (474 of 512 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/fi/
2023-10-10 06:30:14 +00:00
Hosted Weblate 316e21a2c4 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/
2023-10-10 06:30:13 +00:00
mondstern 9dedfb38bc Translated using Weblate (Catalan)
Currently translated at 0.8% (1 of 120 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/ca/
2023-10-10 06:30:12 +00:00
plum7x eb7552acdb Translated using Weblate (Chinese (Traditional))
Currently translated at 99.2% (508 of 512 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hant/
2023-10-10 06:30:12 +00:00
ovl-1 79729cd4a7 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.2% (498 of 512 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nb_NO/
2023-10-10 06:30:11 +00:00
mondstern 12c2c7cae0 Translated using Weblate (Catalan)
Currently translated at 52.5% (269 of 512 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/ca/
2023-10-10 06:30:10 +00:00
Dennis Guse 504e27a9df Android12+: use user-defined DynamicColors. 2023-10-10 08:29:32 +02:00
Dennis Guse 5fbc079d96 Android12+: use user-defined DynamicColors. 2023-10-10 08:25:05 +02:00
Dennis Guse 54fb70053c Settings: use category for recording UI settings. 2023-10-10 08:25:05 +02:00
Dennis Guse ea7d754482 Bugfix: voice announcement setting for total distance was removed. 2023-10-10 08:25:05 +02:00
Dennis Guse 1647b821e6 Bump com.android.tools.build:gradle from 8.1.0-beta04 to 8.1.0-beta06 2023-10-10 08:25:05 +02:00
Dennis Guse 5ced5e2c0b Cleanup: remove unused method. 2023-10-10 07:37:05 +02:00
Dennis Guse 31ea1348de Predictive back: enable.
Part of #1708.
2023-10-10 07:37:05 +02:00
Dennis Guse 3995e2b609 Upgrade to Gradlew 8.4.0 2023-10-09 08:12:56 +02:00
dependabot[bot] eddf6ffc04 Bump org.mockito:mockito-android from 5.5.0 to 5.6.0
Bumps [org.mockito:mockito-android](https://github.com/mockito/mockito) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.5.0...v5.6.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-09 08:10:58 +02:00
Leon Marz 88b860af5a Marker List: Fix crashes in selection mode 2023-10-08 14:20:40 +02:00
Leon Marz 1708e09c5a Change missing line for afbe94195c 2023-10-08 14:20:40 +02:00
Dennis Guse 55495dae53 ActivityType non-localized: import and export for GPX, KML, and KMZ.
Fixes #1608.
2023-10-08 14:07:29 +02:00
Dennis Guse ea37e2852b Cleanup: TrackListAdapter cursor renamed. 2023-10-08 13:59:57 +02:00
Dennis Guse e69bf31976 ActivityType non-localized: store in database.
Includes migration of existing data from ActivityType localized or icon.

Part of #1608.
2023-10-08 13:48:08 +02:00
Dennis Guse 1f96283080 Cleanup: StatisticsRecordedFragment loaded ActivityType weird. 2023-10-08 13:48:07 +02:00
Dennis Guse 8c8a7d9496 Cleanup: use stream.toList(). 2023-10-08 13:48:07 +02:00
Dennis Guse 2e76458b62 Bugfix: TrackImporter needs to lookup activityTypeLocalized if no activityType is present.
Part of #1608.
2023-10-08 13:48:07 +02:00
Dennis Guse 1e9a0abb49 KMLTrackExporter: remove unused icon export.
Part of #1608.
2023-10-08 13:48:07 +02:00
Dennis Guse 07abf50fca Release: v4.9.1 2023-10-08 13:29:11 +02:00
Leon Marz afbe94195c TrackList: Fix crashes in selection mode
Fixes: #1711
2023-10-08 13:27:12 +02:00
dependabot[bot] 8ca208a631 Bump com.google.android.material:material from 1.9.0 to 1.10.0
Bumps [com.google.android.material:material](https://github.com/material-components/material-components-android) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.9.0...1.10.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-05 22:54:49 +02:00
Dennis Guse 7b6120abf4 Cleanup: remove unused resources. 2023-10-03 17:42:58 +02:00
Dennis Guse 2c9726f643 Bugfix: preferred speed for nautical setting was not showing correct options. 2023-10-03 17:28:01 +02:00
ovl-1 b3d610b791 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.1% (504 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nb_NO/
2023-09-30 14:02:52 +02:00
Stephan Paternotte 409ddfd31c Translated using Weblate (Dutch)
Currently translated at 100.0% (120 of 120 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-09-28 21:58:22 +02:00
josé m 2d47f1895b Translated using Weblate (Galician)
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-09-28 21:58:22 +02:00
Fjuro 1d89d68e59 Translated using Weblate (Czech)
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/cs/
2023-09-28 21:58:22 +02:00
ovl-1 3ebce4be7c Translated using Weblate (Norwegian Bokmål)
Currently translated at 96.3% (500 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nb_NO/
2023-09-28 21:58:22 +02:00
gallegonovato a7954382fd Translated using Weblate (Spanish)
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/es/
2023-09-28 21:58:22 +02:00
josé m 1d036a096a Translated using Weblate (Galician)
Currently translated at 99.0% (514 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-09-28 21:58:22 +02:00
Stephan Paternotte d952593687 Translated using Weblate (Dutch)
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-09-28 21:58:22 +02:00
pixeebot[bot] 83445cfde0 Switch order of literals to prevent NullPointerException (#4)
Co-authored-by: pixeebot[bot] <23113631+pixeebot@users.noreply.github.com>
2023-09-28 21:58:22 +02:00
Dennis Guse aae1a4d65d Merge pull request #1710 from OpenTracksApp/cleanup
Cleanup: use record if possible
2023-09-28 21:58:17 +02:00
Dennis Guse cb3904ee0b Cleanup: SensorStatistics is a record. 2023-09-28 20:06:13 +02:00
Dennis Guse 684756c264 Cleanup: SelectionData is a record. 2023-09-28 20:00:47 +02:00
Dennis Guse bc857faa18 Cleanup: ChartPoint is a record. 2023-09-28 19:57:15 +02:00
Dennis Guse e9b02df631 Cleanup. 2023-09-28 19:39:43 +02:00
Dennis Guse 648ebadb36 Release: v4.9.0 2023-09-26 20:57:59 +02:00
Dennis Guse fda9ef9dd7 Bugfix: TrackList should only mark the currently recording track as recording. 2023-09-26 20:48:11 +02:00
Dennis Guse 2b08eb3287 Cleanup: removed unnecessary getter from data class RecordingStatus. 2023-09-26 08:13:32 +02:00
Leon Marz f4cec0a8b2 Fix broken TrackList UI tests 2023-09-26 07:16:34 +02:00
Dennis Guse b5e88b3e05 Merge pull request #1707 from OpenTracksApp/idleDetection#1187
Idle detection#1187
2023-09-25 18:00:43 +02:00
Dennis Guse 83da4f8f34 Idle: add voice announcement (user configurable).
Fixes of #1174
2023-09-25 17:59:17 +02:00
Dennis Guse 9a50d7bedf Idle: move idle into TrackStatistics. 2023-09-25 17:59:17 +02:00
Dennis Guse 348cb16256 ExportImportTest: extract test for checking recording. 2023-09-25 17:59:17 +02:00
Dennis Guse 7d739e3640 TrackStatisticsUpdater: remove check for max acceleration (was still used for max speed). 2023-09-25 17:59:17 +02:00
Dennis Guse 78d2a0722a Idle: TrackRecordingManager creates IDLE TrackPoints (configurable timeout).
Fixes of #1187.
2023-09-25 17:59:17 +02:00
Dennis Guse 00debe2eb5 Idle: TrackRecordingManager creates IDLE TrackPoints (import/export GPX/KML).
Fixes of #1187.
2023-09-25 17:59:17 +02:00
Dennis Guse 6be9d2477c Idle: TrackRecordingManager creates IDLE TrackPoints.
Fixes of #1187.
2023-09-25 17:59:17 +02:00
Dennis Guse 60fd1cd105 Merge pull request #1704 from OpenTracksApp/action-test
Re-enable Github Action executes tests.
2023-09-23 23:01:00 +02:00
Dennis Guse b360191055 Github action: test runner uses updated dependencies and only executes agains API34. 2023-09-23 23:00:34 +02:00
Dennis Guse 8a20edb83a Revert "Github Actions: disable test execution as results are flaky due to performance limitations."
This reverts commit 8f9cbcc077.
2023-09-23 23:00:34 +02:00
Dennis Guse 165dd401f4 Activity: added scooter (incl. icon).
Fixes #1695.
2023-09-23 21:52:07 +02:00
Dennis Guse 10e65035ee Cleanup: use List.of(). 2023-09-23 21:33:47 +02:00
Dennis Guse f797ce0872 Fix tests due to cf9b432224 2023-09-23 16:46:53 +02:00
Dennis Guse 4425fbae90 Revert "Bump androidx.mediarouter:mediarouter from 1.4.0 to 1.6.0"
This reverts commit f643d86772.
2023-09-23 15:57:03 +02:00
josé m f2c1d08f60 Translated using Weblate (Galician)
Currently translated at 13.4% (16 of 119 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/gl/
2023-09-21 07:32:04 +02:00
Maksym Movchan 481c77679b Translated using Weblate (Ukrainian)
Currently translated at 97.8% (503 of 514 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/uk/
2023-09-21 07:32:04 +02:00
Stephan Paternotte 1029460e64 Translated using Weblate (Dutch)
Currently translated at 100.0% (119 of 119 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-09-21 07:32:04 +02:00
Stephan Paternotte b250d95e41 Translated using Weblate (Dutch)
Currently translated at 100.0% (514 of 514 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-09-21 07:32:04 +02:00
josé m bd99daddd4 Translated using Weblate (Galician)
Currently translated at 100.0% (514 of 514 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-09-21 07:32:04 +02:00
Fjuro b3af0b3b5f Translated using Weblate (Czech)
Currently translated at 100.0% (514 of 514 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/cs/
2023-09-21 07:32:04 +02:00
josé m a151b78da7 Translated using Weblate (Galician)
Currently translated at 11.8% (14 of 118 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/gl/
2023-09-21 07:32:04 +02:00
Stephan Paternotte 3f760c28da Translated using Weblate (Dutch)
Currently translated at 100.0% (118 of 118 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-09-21 07:32:04 +02:00
Stephan Paternotte 50d20f297e Translated using Weblate (Dutch)
Currently translated at 100.0% (117 of 117 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-09-21 07:32:04 +02:00
dependabot[bot] f643d86772 Bump androidx.mediarouter:mediarouter from 1.4.0 to 1.6.0
Bumps androidx.mediarouter:mediarouter from 1.4.0 to 1.6.0.

---
updated-dependencies:
- dependency-name: androidx.mediarouter:mediarouter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 07:31:59 +02:00
Dennis Guse a6f5635cb8 Release: v4.8.4 2023-09-17 10:18:46 +02:00
Dennis Guse bebf89608c Bump com.android.tools.build:gradle from 8.2.0-beta01 to 8.2.0-beta04 2023-09-17 10:17:35 +02:00
Dennis Guse 0cf02082d3 Merge pull request #1687 from lmarz/track
TrackListActivity: Switch to RecyclerView

Fixes #1613
2023-09-14 22:06:00 +02:00
Leon Marz e18017d500 TrackListActivity: Switch to RecyclerView
Part of: #1613
2023-09-14 18:11:02 +02:00
Leon Marz 7776b51f05 TrackListActivity: Set launchMode to singleTop 2023-09-14 18:11:02 +02:00
Leon Marz 30c76de136 Add recycler view adapter for track list 2023-09-14 18:11:02 +02:00
Leon Marz 853469cb28 ContentProviderUtils.java: Add searchTracks method 2023-09-14 18:11:02 +02:00
quaelnix cf9b432224 Add max power stats 2023-09-13 18:38:32 +02:00
dependabot[bot] e130039118 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-07 09:54:38 +02:00
Martin Herrman adb491ee81 Update README.md
Add SportsTracker to file format compatibility table
2023-09-05 22:57:52 +02:00
Dennis Guse 1b295e06da Release: v4.8.3 2023-08-31 22:07:48 +02:00
Dennis Guse 4ca6b230c3 Bugfix: prevent crash due to invalid UUID example (Android 14+ / API34+).
Fixes #1682.
2023-08-31 22:05:31 +02:00
Dennis Guse bb722de756 Upgrade to Gradlew 8.3.0 2023-08-28 20:31:14 +02:00
Dennis Guse 8eab847fae Merge pull request #1672 from lmarz/marker
MarkerListActivity: Switch to RecyclerView
2023-08-28 20:17:38 +02:00
Leon Marz c256cbe07d MarkerListActivity: Switch to RecyclerView
Part of: #1613
2023-08-28 10:02:00 +02:00
Leon Marz 5978886a18 Add recycler view adapter for marker list 2023-08-28 10:02:00 +02:00
Leon Marz 7afa4b86d4 ContentProviderUtils: Add searchMarkers method 2023-08-28 10:01:51 +02:00
Dennis Guse f59ae51c6f Release: v4.8.2 2023-08-27 09:01:20 +02:00
Max Ch 19a5d46e88 Translated using Weblate (Ukrainian)
Currently translated at 97.8% (502 of 513 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/uk/
2023-08-26 19:40:32 +02:00
josé m d2b64391d9 Translated using Weblate (Galician)
Currently translated at 10.3% (12 of 116 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/gl/
2023-08-26 19:40:32 +02:00
Stephan Paternotte fe920d5b5e Translated using Weblate (Dutch)
Currently translated at 100.0% (116 of 116 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-08-26 19:40:32 +02:00
Max Ch d1ba31ff3f Translated using Weblate (Ukrainian)
Currently translated at 93.1% (478 of 513 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/uk/
2023-08-26 19:40:32 +02:00
josé m e7a01b1cd1 Translated using Weblate (Galician)
Currently translated at 100.0% (513 of 513 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-08-26 19:40:32 +02:00
Stephan Paternotte 70b65d05c0 Translated using Weblate (Dutch)
Currently translated at 100.0% (115 of 115 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-08-26 19:40:32 +02:00
Max Ch c9ad1b45c6 Translated using Weblate (Ukrainian)
Currently translated at 89.4% (459 of 513 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/uk/
2023-08-26 19:40:32 +02:00
ovl-1 4657a9faa0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.2% (499 of 513 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nb_NO/
2023-08-26 19:40:32 +02:00
gallegonovato fba6cd7d4a Translated using Weblate (Spanish)
Currently translated at 100.0% (513 of 513 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/es/
2023-08-26 19:40:32 +02:00
Tea-NT 970239c614 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (513 of 513 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hans/
2023-08-26 19:40:32 +02:00
Peter Storch f83c23e450 show postworkout error messages, #1669 2023-08-26 19:40:27 +02:00
Dennis Guse 326da494eb Java Record for Track.Id and TrackPoint.Id.
Part of #1526.
2023-08-25 23:52:10 +02:00
Dennis Guse fb85f2e976 Bump com.android.tools.build:gradle from 8.1.1 to 8.2.0-beta01 2023-08-25 23:52:10 +02:00
dependabot[bot] 60a34bfcbb Bump org.mockito:mockito-android from 5.4.0 to 5.5.0
Bumps [org.mockito:mockito-android](https://github.com/mockito/mockito) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.4.0...v5.5.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-25 23:31:17 +02:00
Dennis Guse 95816937bc Bugfix: request ACCESS_BACKGROUND_LOCATION fails; removing it for now.
Introduced in 3910837d1a

Part of #1653.
2023-08-22 22:06:56 +02:00
Dennis Guse 4f745a94bf Release: v4.8.1 2023-08-22 07:15:53 +02:00
Dennis Guse 9b6df4bf99 Bugfix: request ACCESS_BACKGROUND_LOCATION fails; removing it for now.
Introduced in 3910837d1a

Part of #1653.
2023-08-22 07:15:08 +02:00
dependabot[bot] 73f325e633 Bump com.android.tools.build:gradle from 8.1.0 to 8.1.1
Bumps com.android.tools.build:gradle from 8.1.0 to 8.1.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 06:44:06 +02:00
Dennis Guse 28981611f1 GPX export: skip gain/loss if not present.
Part of #1671.
2023-08-20 19:38:37 +02:00
Dennis Guse 7d8c4dcb29 Bugfix: re-introduced race condition fix for newGpsStatus.
Follow-up to e9f24f6bae

Fixes #1668.
2023-08-20 19:28:37 +02:00
Dennis Guse 5501b0bb74 Release: v4.8.0 2023-08-16 23:09:11 +02:00
Dennis Guse b65399e7c0 Simplify TestDataUtil.createTrackPoint() 2023-08-14 23:22:49 +02:00
Dennis Guse 3c5fb66af3 Merge branch 'weblate' 2023-08-13 21:34:19 +02:00
Dennis Guse 82704f5e2b Translations: removed voice announcements plurals (old format).
Follow-up to 62d9e81b23
2023-08-13 21:34:07 +02:00
Dennis Guse bf0aac7bc6 GPSManager: on stop() release reference to observer. 2023-08-13 21:11:24 +02:00
Dennis Guse d8e05da9d0 Tests: remove workaround for not stopping TrackRecordingService properly below API24. 2023-08-13 21:11:24 +02:00
Dennis Guse 205c5c7528 SensorManager and GPSManager: prefer to crash rather than hide usage errors. 2023-08-13 21:11:24 +02:00
Dennis Guse ce0365c2e9 TrackListActivity: simplify sensor start/stop. 2023-08-13 21:11:24 +02:00
Dennis Guse 313284cceb Bugfix: GpsStatusManager needs to stop the timer.
This may lead to crashes when track recording is finished.
2023-08-13 21:11:24 +02:00
Dennis Guse f6e8a44a8b GpsStatusManager should be running in on Thread alone. 2023-08-13 21:11:24 +02:00
Dennis Guse 4d5c59be96 TrackRecordingService: must be stopped via TrackRecordingServiceConnection and handles Preference changes. 2023-08-13 21:11:24 +02:00
ovl-1 45eebab4aa Translated using Weblate (Norwegian Bokmål)
Currently translated at 95.5% (499 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nb_NO/
2023-08-12 12:52:07 +02:00
Fjuro 93c09297d7 Translated using Weblate (Czech)
Currently translated at 3.5% (4 of 114 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/cs/
2023-08-10 21:55:16 +02:00
gallegonovato bbc82a509d Translated using Weblate (Spanish)
Currently translated at 100.0% (522 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/es/
2023-08-10 21:55:16 +02:00
Stephan Paternotte 94a400ba00 Translated using Weblate (Dutch)
Currently translated at 100.0% (114 of 114 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-08-10 21:55:16 +02:00
Fjuro 0fe0a239cd Translated using Weblate (Czech)
Currently translated at 100.0% (522 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/cs/
2023-08-10 21:55:16 +02:00
Stephan Paternotte e79d558437 Translated using Weblate (Dutch)
Currently translated at 39.4% (45 of 114 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-08-10 21:55:16 +02:00
Stephan Paternotte 0e983bfc5a Translated using Weblate (Dutch)
Currently translated at 100.0% (522 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-08-10 21:55:16 +02:00
Max Xie 3a56c78b42 Translated using Weblate (Chinese (Simplified))
Currently translated at 99.8% (521 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hans/
2023-08-10 21:55:16 +02:00
Stephan Paternotte 7472703ef2 Translated using Weblate (Dutch)
Currently translated at 16.6% (19 of 114 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-08-10 21:55:16 +02:00
mm4c c1d79b9aea Translated using Weblate (Dutch)
Currently translated at 100.0% (522 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-08-10 21:55:16 +02:00
Stephan Paternotte 59823690b0 Translated using Weblate (Dutch)
Currently translated at 100.0% (522 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-08-10 21:55:16 +02:00
Dennis Guse 0a5b46655a Bugfix: database migration 36 did not update TrackPoint.type data (removal of SENSORPOINT).
Introduced in c0b5e71976

Fixes #1663.
2023-08-10 21:52:19 +02:00
Dennis Guse c263af7033 Bugfix: ACCESS_BACKGROUND_LOCATION is only available/required with Android 10+.
Introduced in 3910837d1a

Fixes #1662.
2023-08-10 18:02:54 +02:00
Dennis Guse 94191bbb46 Merge pull request #1661 from OpenTracksApp/idlePreparation#1187
Idle preparation#1187
2023-08-08 19:20:14 +02:00
Dennis Guse c0b5e71976 TrackPoint: all sensors are the same - no need to distinguish the source of a TrackPoint (BLE sensor vs GPS).
Part of #1187.
2023-08-08 19:03:01 +02:00
Dennis Guse c69f1e101c Idle: introduced TrackPoint for marking idle.
Part of #1187.
2023-08-08 18:52:11 +02:00
Dennis Guse 8bc781a11a Merge pull request #1660 from OpenTracksApp/cleanup
Cleanup
2023-08-08 18:51:44 +02:00
Dennis Guse 87bc7be530 Exporter: rather crash than hide lifecycle errors.
Part of #1187.
2023-08-08 18:28:19 +02:00
Dennis Guse f35eef4c57 TrackRecordingManager keeps reference to TrackPointCreator.
Part of #1187.
2023-08-08 18:28:19 +02:00
Dennis Guse 0fa0f4b5ec Move AltitudeCorrectionManager to TrackRecordingManager.
Part of #1187.
2023-08-08 18:28:19 +02:00
Dennis Guse e9f24f6bae TrackRecordingService: removed race conditions workarounds.
Part of #1187.
2023-08-08 18:28:19 +02:00
Dennis Guse 6f8438422a Tests require ACCESS_BACKGROUND_LOCATION as well.
Introduced in 3910837d1a
2023-08-08 18:28:01 +02:00
Dennis Guse 7530e1d120 AndroidStudio: code cleanup. 2023-08-08 17:57:36 +02:00
v_schaefer 3910837d1a Fix: GPS Access denied when phone in standby
Added ACCESS_BACKGROUND_LOCATION permission to access GPS while phone is in standby. This is necessary for situations where the PublicAPI is triggered to start a record from an external device like a smartwatch.
2023-08-08 12:51:11 +02:00
Dennis Guse c4235b1961 Release: v4.7.1 2023-08-06 18:26:58 +02:00
josé m 2b73139051 Translated using Weblate (Galician)
Currently translated at 8.8% (10 of 113 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/gl/
2023-08-06 12:44:33 +02:00
Skrripy 1a2d263945 Translated using Weblate (Ukrainian)
Currently translated at 83.5% (436 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/uk/
2023-08-06 12:44:33 +02:00
Leon Marz e69bea802f AggregatedStatisticsActivity: Convert ListView to RecyclerView
Part of: #1613
2023-08-06 12:44:29 +02:00
Dennis Guse 4baaff8374 TrackDeleteService can be a JobIntentService (rather than ForegroundService).
Android 14 requires ForegroundService to have a reason.

Fixes  #1657.
2023-08-06 11:41:40 +02:00
Dennis Guse 1ed0a11c2f Move ExportServiceResultReceiver.java into ExportService. 2023-08-06 11:15:48 +02:00
Dennis Guse 971b0196da Android14: crash due to missing announcement of ForegroundServiceType.
Fixes #1655.
2023-08-06 10:51:25 +02:00
Dennis Guse 45f41d6401 Bugfix: Android 14's AltitudeConverter throws exception if no geo coords are present. 2023-08-06 10:38:12 +02:00
Dennis Guse 42234515cb Android14: crash due to missing announcement of ForegroundServiceType.
Fixes #1655.
2023-08-06 09:49:17 +02:00
Skrripy 10e479ceb9 Translated using Weblate (Ukrainian)
Currently translated at 83.3% (435 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/uk/
2023-08-04 08:11:20 +02:00
Skrripy 88d8a808f3 Translated using Weblate (Ukrainian)
Currently translated at 82.7% (432 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/uk/
2023-08-04 08:11:20 +02:00
josé m f15ae48846 Translated using Weblate (Galician)
Currently translated at 100.0% (522 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-08-04 08:11:20 +02:00
Milo Ivir 5bf4cef57d Translated using Weblate (Croatian)
Currently translated at 57.2% (299 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/hr/
2023-08-04 08:11:20 +02:00
Dennis Guse 52226c8ef4 Release: v4.7.0 2023-08-04 08:11:00 +02:00
Dennis Guse c254a6ec75 Bug: GPXExporter - TrackPoint of type SEGMENT_START_AUTOMATIC might have no location.
Fixes #1647.
2023-08-03 19:31:10 +02:00
Dennis Guse 0ecf4863a7 Bug: CSVExporter format for distance used decimal grouping. 2023-08-03 18:29:33 +02:00
Dennis Guse 325196159d Add barometer test procedure. 2023-07-30 22:15:40 +02:00
Leon Marz 6adbf39e52 Fix alignment of Statistics 2023-07-29 20:17:52 +02:00
Leon Marz db1a37f015 Reimplement sensor statistics in UI
Closes: #1426
2023-07-29 19:17:23 +02:00
dependabot[bot] 7ca9423fbf Bump androidx.preference:preference from 1.2.0 to 1.2.1
Bumps androidx.preference:preference from 1.2.0 to 1.2.1.

---
updated-dependencies:
- dependency-name: androidx.preference:preference
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-27 07:11:15 +02:00
Dennis Guse 11c5ec43e2 Statistics: distance, total time, moving time are counted between automatic segments.
Fixes #1566.
2023-07-26 19:16:27 +02:00
Dennis Guse 3f891f7fb4 Release: v4.6.2 2023-07-26 07:10:43 +02:00
Dennis Guse 49260a0517 Translations fr: removed restored voice announcement plurals. 2023-07-26 07:06:01 +02:00
Fjuro 1392c5d92a Translated using Weblate (Czech)
Currently translated at 98.2% (510 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/cs/
2023-07-25 23:39:26 +02:00
Fjuro c641b436ce Translated using Weblate (Czech)
Currently translated at 94.0% (488 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/cs/
2023-07-25 23:39:26 +02:00
Lorin-lab 6948c2db41 Translated using Weblate (French)
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/fr/
2023-07-25 23:39:26 +02:00
josé m fb904f4a0b Translated using Weblate (Galician)
Currently translated at 100.0% (519 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-07-25 23:39:26 +02:00
josé m 6c006cc9c7 Translated using Weblate (Galician)
Currently translated at 7.2% (8 of 111 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/gl/
2023-07-25 23:39:26 +02:00
ovl-1 7a73757ab1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 95.7% (497 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nb_NO/
2023-07-25 23:39:26 +02:00
Dennis Guse 9725cca2bf Upgrade gradlew to 8.2.0 2023-07-25 23:39:16 +02:00
Dennis Guse 252f71e75f Bump com.android.tools.build:gradle from 8.1.0-rc01 to 8.1.0 2023-07-25 23:01:47 +02:00
Dennis Guse fc2341515c Bug: TrackStatistics cannot compute average moving speed (division by zero). 2023-07-23 12:00:09 +02:00
michel 77719f5bcd Bluetooth settings: handle missing permissions
fixes #1637
2023-07-15 14:15:19 +03:00
michel 565ef7f12b Fix aggregated stats don't show imperial units for avg pace
fixes #1634
2023-07-12 19:44:09 +03:00
michel f4208e2f6b Fix clipped x graph in ChartView
fixes #1627
2023-07-12 17:02:49 +03:00
blackberrypineapple 4b3ff45609 Bugfix: crash on GPS preferences if using imperial with meters
Fixes #1629
2023-07-05 14:27:14 +02:00
blackberrypineapple 6dd9630bae Bugfix: crash on voice announcement if using imperial with meters
Fixes #1626
2023-07-05 14:26:46 +02:00
Dennis Guse a4ec68def6 Release: v4.6.1 2023-06-30 21:59:28 +02:00
plum7x d80be8b2a9 Translated using Weblate (Chinese (Traditional))
Currently translated at 96.5% (501 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hant/
2023-06-29 13:52:38 +02:00
Dennis Guse 7d7ab5778a Track list: re-added aggregated stats for selections.
Removed in 9f1ea4d745

Fixes #1623.
2023-06-29 07:17:15 +02:00
Dennis Guse 1749c776ab Release: v4.6.0 2023-06-28 08:09:39 +02:00
Dennis Guse 336b9eaa9f Bugfix: Android 13 couldn't open Gallery.
Fixes #1620.
2023-06-27 21:07:35 +02:00
Dennis Guse 0fc2209ceb Merge pull request #1618 from OpenTracksApp/exportType#1608
Refactor activity type / category / icon
2023-06-27 16:10:31 +02:00
Dennis Guse 477819d730 Cleanup: split ActivityType and ActivityIcon.
Part of #1608.
2023-06-27 16:06:25 +02:00
Dennis Guse 425ea0f216 Cleanup: use ActivityType instead of passing it's id around as String.
Part of #1608.
2023-06-27 15:53:54 +02:00
Dennis Guse 779681088c Refactor Track.icon is now Track.activityTypeId.
Part of #1608.
2023-06-27 15:53:54 +02:00
Dennis Guse f824b31891 Cleanup: inline TrackIconUtils methods.
Part of #1608.
2023-06-27 15:53:54 +02:00
Dennis Guse d316a63fca Cleanup: ActivityType lookup.
Part of #1608.
2023-06-27 15:53:54 +02:00
s-k-e-t-c-h 55cf60ef2f Translated using Weblate (German)
Currently translated at 99.6% (517 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/de/
2023-06-27 15:48:40 +02:00
DerDilla 01598d0a55 Translated using Weblate (German)
Currently translated at 98.0% (509 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/de/
2023-06-27 15:48:40 +02:00
s-k-e-t-c-h 4bcba07706 Translated using Weblate (German)
Currently translated at 98.0% (509 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/de/
2023-06-27 15:48:39 +02:00
josé m ed979bdc80 Translated using Weblate (Galician)
Currently translated at 5.5% (6 of 109 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/gl/
2023-06-27 15:48:39 +02:00
josé m 1d81070d9e Translated using Weblate (Galician)
Currently translated at 98.2% (510 of 519 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-06-27 15:48:39 +02:00
josé m 357a1de07d Translated using Weblate (Galician)
Currently translated at 100.0% (510 of 510 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-06-27 15:48:39 +02:00
josé m 84380d8373 Translated using Weblate (Galician)
Currently translated at 100.0% (509 of 509 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-06-27 15:48:39 +02:00
Dennis Guse 97c3e5a938 Commit .editorconfig for code style. 2023-06-27 15:48:25 +02:00
Dennis Guse 8fbcf5dcc0 Bump com.android.tools.build:gradle from 8.1.0-beta04 to 8.1.0-rc01 2023-06-26 23:57:47 +02:00
Dennis Guse 8c364ba7e2 Support altitude correction via Android's native AltitudeConverter (API34+).
Fixes #1492.
2023-06-22 22:50:34 +02:00
Dennis Guse 0c5c49cd92 CONTRIBUTING.md: add translations. 2023-06-22 07:35:32 +02:00
Dennis Guse 62d9e81b23 VoiceAnnouncement: migrated es, pt, zh, fr, de to ICU plural format.
Follow-up to #1584.
2023-06-22 07:25:52 +02:00
Dennis Guse 1a5acc8f2d Cleanup using AndroidStudio analyze. 2023-06-21 23:15:04 +02:00
Dennis Guse 7e9b99ae1c Merge pull request #1607 from OpenTracksApp/proofOfConcept#1584
Plural quantities via ICU.
2023-06-21 19:25:17 +02:00
Dennis Guse 1f86250e46 ICU's MessageFormat handles plurals for floats (getQuantityString does not).
Fixes #1584.
2023-06-21 19:19:53 +02:00
Dennis Guse 7f6e3f7c69 Raise minSDK from 21 to 24.
Part of #1584
2023-06-21 19:18:55 +02:00
Dennis Guse e0b84df8f6 Release: v4.5.0 2023-06-20 07:32:15 +02:00
Dennis Guse a431850793 Material3: less customizing for night
mode.
2023-06-20 07:28:00 +02:00
Dennis Guse 5c17c8ffcf Material3: less customizing for day mode. 2023-06-20 07:28:00 +02:00
dependabot[bot] 0691524dfa Bump org.mockito:mockito-android from 5.3.1 to 5.4.0
Bumps [org.mockito:mockito-android](https://github.com/mockito/mockito) from 5.3.1 to 5.4.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.3.1...v5.4.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 08:32:17 +02:00
Dennis Guse 1c825b052e Bugfix: prevent crash if sensor that need computation disconnect (or connection timeout). 2023-06-16 22:48:49 +02:00
Dennis Guse eb8d28dfc1 Units: add imperial with meters.
Fixes of #1609.
2023-06-16 00:00:31 +02:00
Dennis Guse 9f1ea4d745 Migrate to Material3 design.
Fixes #1586.
2023-06-15 23:56:46 +02:00
Dennis Guse dbd64a8075 Cleanup: rename category to activityType. 2023-06-15 18:45:11 +02:00
Dennis Guse 75a88ca0e1 Bugfix: prevent crash if sensor that need computation disconnect (or connection timeout).
java.lang.Object.equals(java.lang.Object)' on a null object reference
	at de.dennisguse.opentracks.sensors.sensorData.SensorDataSet.set(SensorDataSet.java:171)
	at de.dennisguse.opentracks.sensors.sensorData.SensorDataSet.remove(SensorDataSet.java:93)
	at de.dennisguse.opentracks.sensors.SensorManager$1.onDisconnect(SensorManager.java:35)
	at de.dennisguse.opentracks.sensors.BluetoothRemoteSensorManager.onDisconnecting(BluetoothRemoteSensorManager.java:173)
2023-06-14 22:35:38 +02:00
Dennis Guse 2af19b00e5 Settings: make Bluetooth filter option readable.
Fixes #1602.
2023-06-14 22:21:02 +02:00
Dennis Guse 11db0d1a4f Rewrote GpsStatus check and added tests. 2023-06-11 21:27:50 +02:00
Dennis Guse 6a4adee2f2 Cleanup: GPS Status only reports current status. 2023-06-11 21:27:50 +02:00
Dennis Guse d04b420c56 Bugfix: GPS disabled warning was shown repeatedly.
Fixes #1429.
2023-06-11 21:27:50 +02:00
Dennis Guse 0122539d0f Bugfix: crash on starting a recording with at least one BLE sensor configured.
Introduced in f336a1da12
2023-06-11 15:21:22 +02:00
Dennis Guse 0b8c2a0ef6 Cleanup using AndroidStudio's analyze feature. 2023-06-08 21:28:35 +02:00
Dennis Guse cef363562c Merge pull request #1516 from OpenTracksApp/android14#1496
Target Android 14/API34
2023-06-08 07:19:52 +02:00
Dennis Guse e681531186 Merge remote-tracking branch 'weblate/main' 2023-06-08 07:19:07 +02:00
Dennis Guse 65c4b85bc4 EspressoTests: only grant POST_NOTIFICATION if running on Android 13. 2023-06-08 07:15:33 +02:00
Dennis Guse d7022a07a2 Cleanup: use Java17' Records.
Fixes #1526.
2023-06-08 07:06:22 +02:00
Dennis Guse 81b090893b Target Android 14/API34.
Fixes #1496.
2023-06-08 06:44:15 +02:00
Dennis Guse 3dca9304c4 Merge pull request #1568 from OpenTracksApp/pressure#1433
Preparing for use BLE Environmental Sensing sensor for elevation gain/loss
2023-06-08 06:38:49 +02:00
mm4c 7fc6492e13 Translated using Weblate (Dutch)
Currently translated at 100.0% (507 of 507 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-06-07 10:50:38 +02:00
Dennis Guse 80d968dd0f Cleanup. 2023-06-04 13:16:22 +02:00
Dennis Guse f336a1da12 Move GPSManager into SensorManager.
Includes Bugfix: SensorManager might not have been stopped.

Part of #1424.
2023-06-04 13:16:22 +02:00
Dennis Guse 1657bf5ec1 Cleanup: removed SensorDataSetChangeObserver interface.
Part of #1424.
2023-06-04 13:16:22 +02:00
Dennis Guse d046ca1cd8 SensorManager handles SensorDataSet.
Part of #1424.
2023-06-04 13:16:22 +02:00
Dennis Guse 6c852091ce AltitudeSumManager: extracted Barometer driver.
Part of #1424.
2023-06-04 13:16:22 +02:00
Dennis Guse 4906d3f942 Introduced AtmosphericPressure.
Part of #1424.
2023-06-04 13:16:22 +02:00
denta58 0395394e26 Bluetooth pressure data parse 2023-06-04 13:16:22 +02:00
Dennis Guse ebcc7dc46e Bump to gradle wrapper 8.1.1 2023-06-04 12:36:10 +02:00
Dennis Guse 1e4246e73a Bump com.android.tools.build:gradle from 8.1.0-beta03 to 8.1.0-beta04 2023-06-04 12:27:01 +02:00
Chris 3ca8381504 App shortcut for aggregated statistics.
Part of #1563.
2023-06-04 11:57:25 +02:00
ovl-1 b92457cb23 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.8% (496 of 507 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nb_NO/
2023-06-02 17:51:32 +02:00
josé m 4baec1e672 Translated using Weblate (Galician)
Currently translated at 100.0% (507 of 507 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-06-02 17:51:31 +02:00
Dennis Guse c702c5a4a0 Bugfix: translation for settings_recording_min_required_accuracy_summary needs to be inverted.
Fixes #1573.
2023-05-31 17:12:15 +02:00
Dennis Guse 24c2c5fc1b Release: v4.4.0 2023-05-29 19:48:47 +02:00
ovl-1 8797b033a3 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.6% (493 of 505 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nb_NO/
2023-05-29 19:48:47 +02:00
Dennis Guse b2c4cdc4aa Merge pull request #1318 from OpenTracksApp/exportOne#448
Export all tracks into one file
2023-05-29 09:08:13 +02:00
Dennis Guse ae37ec9c33 Bugfix: set file suffix for "one file"-exports explicitly.
KML/KMZ was added by AndroidOS, but not GPX.

Part of #1318.
2023-05-28 21:30:09 +02:00
Dennis Guse ccc18739a4 Bugfix: KML exporter for multiple tracks created invalid XML.
Part of #1318.
2023-05-28 21:30:09 +02:00
Dennis Guse f48c4806b5 Simplify TrackExporter interface. 2023-05-28 21:30:09 +02:00
Dennis Guse 3aadf6d5d8 Cleanup: use an enum for export's conflict resolution. 2023-05-28 21:30:09 +02:00
Dennis Guse 2f2679c775 Export: implement export to one file.
Fixes #1318
2023-05-28 21:30:09 +02:00
Dennis Guse 442e23b106 Cleanup: EGM2008CorrectionManager returns Altitude. 2023-05-27 08:07:33 +02:00
Dennis Guse 65249f11b2 Move Help from Settings to TrackList (overflow menu).
Fixes #956.
2023-05-26 13:24:43 +02:00
Dennis Guse 34b5c2ab18 BLE: code for fetching and parsing battery level (not used).
Part of #24.
2023-05-25 22:09:27 +02:00
Dennis Guse 93919183be Cleanup: use ActivityUtils.vibrate(). 2023-05-24 20:18:35 +02:00
Dennis Guse 1915641d78 Fix tests for FileUtils.buildUniqueFileName(). 2023-05-23 23:28:25 +02:00
Dennis Guse c2c7cad3eb Warning: do not change MAIN/LAUNCHER activity name due to use by icon packs. 2023-05-23 21:22:08 +02:00
Dennis Guse e4957e45af Espresso UI tests: get required permissions for Android 13. 2023-05-20 15:59:44 +02:00
Dennis Guse 77bce9a5eb Bump com.android.tools.build:gradle from 8.1.0-beta02 to 8.1.0-beta03 2023-05-20 15:59:37 +02:00
Dennis Guse 6538f0d587 Release: v4.3.5 2023-05-15 17:37:40 +02:00
rjo12 5b0e7e5065 Bugfix: Off-by-one bug in subtracting UINT. Fixes #1557 2023-05-15 08:19:49 +02:00
Dennis Guse d6cf8ba90e Bump com.android.tools.build:gradle from 8.1.0-beta01 to 0.1.0-beta02 2023-05-13 13:43:33 +02:00
Dennis Guse 29568d0e3f Bugfix: prevent crash when creating a marker (no camera or gallery application present).
Fixes #1561.
2023-05-13 13:41:07 +02:00
Dennis Guse a571c4c93b Merge remote-tracking branch 'weblate/main' 2023-05-13 13:39:17 +02:00
mm4c 073fed6c84 Translated using Weblate (Dutch)
Currently translated at 9.5% (10 of 105 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-05-11 15:50:15 +02:00
mm4c 6847e1f899 Translated using Weblate (Dutch)
Currently translated at 99.4% (502 of 505 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-05-11 15:50:14 +02:00
Dennis Guse 427048ac11 Bugfix: crash when changing layout from one with 3 column layout to one with 2 columns.
Fixes #1554.
2023-05-08 23:34:43 +02:00
Shimon 240ea47c43 Translated using Weblate (Czech)
Currently translated at 99.8% (504 of 505 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/cs/
2023-05-06 15:48:40 +02:00
dependabot[bot] 068d56a850 Bump com.google.android.material:material from 1.8.0 to 1.9.0
Bumps [com.google.android.material:material](https://github.com/material-components/material-components-android) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.8.0...1.9.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-05 07:59:57 +02:00
plum7x 76d02da973 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (505 of 505 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hant/
2023-05-04 10:49:21 +02:00
dependabot[bot] 4664895ae3 Bump androidx.mediarouter:mediarouter from 1.3.1 to 1.4.0
Bumps androidx.mediarouter:mediarouter from 1.3.1 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.mediarouter:mediarouter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-04 07:18:21 +02:00
Rens Hijdra 5235c8cf83 Translated using Weblate (Dutch)
Currently translated at 97.6% (493 of 505 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-05-02 16:01:51 +02:00
Dennis Guse 4f040ac79f Release: v4.3.4 2023-05-01 12:53:35 +02:00
Dennis Guse dcad42bf4d Build: remove resConfigs limiting included languages.
Fixes #1527.
2023-05-01 12:44:19 +02:00
mm4c 2eea93a4a3 Translated using Weblate (Dutch)
Currently translated at 9.5% (10 of 105 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/nl/
2023-04-29 15:50:49 +02:00
mm4c 55e419475a Translated using Weblate (Dutch)
Currently translated at 96.6% (488 of 505 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nl/
2023-04-29 15:50:48 +02:00
Dennis Guse 9225d90e45 Release: v4.3.3 2023-04-27 18:49:23 +02:00
Dennis Guse 32dc6fef82 Bugfix: CustomLayout - title for pace was speed/GPS.
Introduced in d70e7b8788
2023-04-26 07:19:11 +02:00
Dennis Guse 96fb65b6b0 Bugfix: hidden DataFields should be hidden.
Introduced in d70e7b8788
2023-04-26 07:19:11 +02:00
dependabot[bot] 936bbf9264 Bump org.mockito:mockito-android from 5.3.0 to 5.3.1
Bumps [org.mockito:mockito-android](https://github.com/mockito/mockito) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.3.0...v5.3.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 07:01:14 +02:00
Dennis Guse 241a52ee7c Release: v4.3.2 2023-04-23 09:57:41 +02:00
Dennis Guse c66e285bf5 README: move human tech badge to codeberg. 2023-04-23 09:06:15 +02:00
Dennis Guse 8c1ddc077d Merge remote-tracking branch 'weblate/main' 2023-04-22 13:29:01 +02:00
dependabot[bot] 61c18af639 Bump com.android.tools.build:gradle from 8.1.0-alpha11 to 8.1.0-beta01
Bumps com.android.tools.build:gradle from 8.1.0-alpha11 to 8.1.0-beta01.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 10:19:35 +02:00
dependabot[bot] b83df3ac4b Bump androidx.core:core-splashscreen from 1.0.0 to 1.0.1
Bumps androidx.core:core-splashscreen from 1.0.0 to 1.0.1.

---
updated-dependencies:
- dependency-name: androidx.core:core-splashscreen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 07:29:34 +02:00
plum7x 53f1c4b7f3 Translated using Weblate (Chinese (Traditional))
Currently translated at 2.9% (3 of 103 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://hosted.weblate.org/projects/opentracks/app-store-metadata-files/zh_Hant/
2023-04-19 11:50:26 +02:00
plum7x 6290bdbab0 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (506 of 506 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/zh_Hant/
2023-04-19 11:50:26 +02:00
josé m bd0d85cd37 Translated using Weblate (Galician)
Currently translated at 100.0% (506 of 506 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-04-19 11:50:25 +02:00
Dennis Guse ba08417236 Cleanup: moved non-translatable string to correct file.
Part of #1527.
2023-04-18 12:55:21 +02:00
Dennis Guse 63281a3ca8 README: add dedicated link ot weblate. 2023-04-16 20:02:09 +02:00
Dennis Guse fae0cf8454 Merge pull request #1525 from OpenTracksApp/java17cleanup
Java 17 cleanup
2023-04-13 15:38:18 +02:00
Dennis Guse efddb31391 Cleanup: use Java17 switch statements.
AndroidStudio code cleanup.
2023-04-13 15:10:17 +02:00
Dennis Guse 3a8e547e10 Gradle: use configureEach instead of all. 2023-04-13 14:52:41 +02:00
Dennis Guse fe09d18197 Merge pull request #1523 from OpenTracksApp/bugKML#1522
Bug kml#1522
2023-04-13 14:34:48 +02:00
Dennis Guse 93bcf8d494 Bugfix: KML header malformed.
Fixes #1522.
Introduced in 82fe859c84
2023-04-12 23:09:04 +02:00
Dennis Guse 819f454bd8 Refactored TrackFileFormat interface. 2023-04-12 22:41:56 +02:00
Dennis Guse 7d58014b15 Cleanup/Java 17: use multi-line text blocks. 2023-04-12 22:39:30 +02:00
Dennis Guse 9dac95569c AGP: use Java 17. 2023-04-12 22:31:41 +02:00
Dennis Guse 96c98ad275 Merge pull request #1521 from OpenTracksApp/agp81
Upgrade to AGP 8.1.0-alpha
2023-04-12 19:37:15 +02:00
Dennis Guse 7dcc0ec8bc AGP: generate local_config.xml 2023-04-12 19:30:57 +02:00
Dennis Guse 09ecc03be5 AGP: update 8.0.0 (incl. Java 17). 2023-04-12 19:30:57 +02:00
dependabot[bot] d7a5ffb938 Bump org.mockito:mockito-android from 5.2.0 to 5.3.0
Bumps [org.mockito:mockito-android](https://github.com/mockito/mockito) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.2.0...v5.3.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 09:32:03 +02:00
Dennis Guse 0605dbb0ab Release: v4.3.1 2023-04-07 18:11:52 +02:00
Dennis Guse bf03de6be7 Bugfix: GPS disabled warning was showing (repeatedly but incorrectly).
Fixes #1429.
2023-04-07 11:13:57 +02:00
Dennis Guse d65ce361f7 Upgrade gradlew to 8.0.2. 2023-04-06 07:37:43 +02:00
Dennis Guse 3f600f6be7 Voice announcements: added setting to skip announcements on the device's internal speaker.
Fixes #1392.
2023-04-05 18:26:29 +02:00
dependabot[bot] 9aab3c216c Bump com.android.tools:desugar_jdk_libs from 2.0.2 to 2.0.3
Bumps [com.android.tools:desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-03 19:25:16 +02:00
Dennis Guse 7935185812 UI: split stats_item between generic and sensor (some bugfixes).
Part of #24.
2023-03-29 21:50:42 +02:00
Dennis Guse 4c1b1be96c UI: split stats_item between generic and sensor.
Part of #24.
2023-03-28 21:08:46 +02:00
Dennis Guse 5762830655 Merge pull request #1461 from OpenTracksApp/refactorSensor
Refactor: unify the internal sensor handling.
2023-03-28 21:08:08 +02:00
Dennis Guse 6d61206782 Renamed GPSHandler to GPSManager. 2023-03-28 20:58:23 +02:00
Dennis Guse b9dedef292 Refactor: introduced SensorManager. 2023-03-28 20:58:23 +02:00
Dennis Guse f3caecd049 Refactor: rename BluetoothConnectionManager. 2023-03-27 22:59:31 +02:00
Dennis Guse e16780277f Refactor: introduced SensorConnector interface. 2023-03-27 22:59:31 +02:00
Dennis Guse 13484685a3 Merge remote-tracking branch 'weblate/main' 2023-03-25 09:06:27 +01:00
plum7x 7b745d9837 Update strings.xml 2023-03-17 07:41:32 +01:00
plum7x 52742064f6 Updated traditional Chinese translation (#1498) 2023-03-14 20:50:51 +01:00
josé m 2edf5582aa Translated using Weblate (Galician)
Currently translated at 100.0% (505 of 505 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/gl/
2023-03-11 18:37:57 +01:00
dependabot[bot] 808eb92bf2 Bump org.mockito:mockito-android from 4.11.0 to 5.2.0
Bumps [org.mockito:mockito-android](https://github.com/mockito/mockito) from 4.11.0 to 5.2.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.11.0...v5.2.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-10 06:13:23 +01:00
Dennis Guse c0b84c3d72 Release: v4.3.0 2023-03-09 05:20:22 +01:00
Miguel Almeida e275d3e5c0 Enable backups if client side encryption is enabled 2023-03-08 23:12:26 +01:00
Dennis Guse b4ebad2c3c Merge remote-tracking branch 'weblate/main' 2023-03-07 21:25:56 +01:00
dependabot[bot] 1ab76e1317 Bump com.android.tools.build:gradle from 7.4.1 to 7.4.2
Bumps com.android.tools.build:gradle from 7.4.1 to 7.4.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-28 06:04:48 -05:00
nobkd 3d1104dd0b remove typo 2023-02-17 10:44:41 -05:00
dependabot[bot] 2df45d31de Bump androidx.appcompat:appcompat from 1.6.0 to 1.6.1
Bumps androidx.appcompat:appcompat from 1.6.0 to 1.6.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-12 14:06:47 +01:00
Allan Nordhøy 5436981e0d Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.4% (492 of 505 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nb_NO/
2023-02-10 07:38:30 +01:00
dependabot[bot] fd2b1bec7d Bump com.android.tools:desugar_jdk_libs from 2.0.1 to 2.0.2
Bumps [com.android.tools:desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 12:18:53 +01:00
elastic rock bb1eaa5b56 Android system per-app language preferences 2023-02-05 00:58:21 +01:00
Peter Storch dae8eaa97a Release: v4.2.2 2023-02-04 21:53:35 +01:00
Peter Storch 565b1ce94d Correct link to F-Droid build monitor 2023-02-04 21:53:24 +01:00
dependabot[bot] 543d5e18bf Bump com.android.tools:desugar_jdk_libs from 2.0.0 to 2.0.1
Bumps [com.android.tools:desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 05:05:29 +01:00
dependabot[bot] 01368df6b1 Bump com.android.tools.build:gradle from 7.4.0 to 7.4.1
Bumps com.android.tools.build:gradle from 7.4.0 to 7.4.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 07:03:02 +01:00
Dennis Guse c666d55211 Bug: crash due to color not found.
Introduced in 674d231b7a
2023-01-30 23:11:21 +01:00
Dennis Guse 8cc4fd1d4f Bugfix: not all activityTypes were shown in dropdownlist. 2023-01-29 16:50:04 +01:00
Dennis Guse c241a35861 Refactor: introduced ActivityType. 2023-01-29 16:50:04 +01:00
Dennis Guse 674d231b7a Bug: textcolor for heartrate zone 1 was ignoring theme.
Fixes #1455.
2023-01-27 02:00:38 +01:00
Dennis Guse bebee59eb2 Bug: Track icon wrongly shown in dialog.
Fixes #1453.
2023-01-25 16:37:35 +01:00
dependabot[bot] 24f843b0db Bump material from 1.7.0 to 1.8.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.7.0...1.8.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-25 07:04:21 +01:00
Dennis Guse f0259d13dd Release: v4.2.1 2023-01-21 19:03:07 +01:00
Dennis Guse 9dff965a52 Cycling speed sensor: wheel diameter can now be 100mm until 4000mm
Fixes #1447.
2023-01-17 22:47:59 +01:00
Mario Ruiz b4e6d10fbe Translated using Weblate (Spanish)
Currently translated at 100.0% (503 of 503 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/es/
2023-01-16 12:22:26 +01:00
Dennis Guse 1a9d88277f Fix pt-PT translations. 2023-01-13 08:08:49 +01:00
Dennis Guse 4ea956ca0e Merge branch 'translations' 2023-01-13 08:02:27 +01:00
dependabot[bot] 8060c2e1e3 Bump desugar_jdk_libs from 1.2.2 to 2.0.0
Bumps [desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 1.2.2 to 2.0.0.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-13 08:01:58 +01:00
dependabot[bot] 8c96b65e59 Bump gradle from 7.3.1 to 7.4.0
Bumps gradle from 7.3.1 to 7.4.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-13 07:47:56 +01:00
Dennis Guse a407e94d3c Upgrade to appcompat:1.6.0 2023-01-11 22:58:23 +01:00
ssantos 310c790324 Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (503 of 503 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/pt_PT/
2023-01-11 13:50:39 +01:00
Dennis Guse 12b3d31f5c Bugfix: BluetoothLE requires to trigger reconnect on either disconnect or never connected.
Initial connection timeout seems to be 30s.
Fixes #1442.
2023-01-05 20:52:15 +01:00
dependabot[bot] d43dca61c1 Bump runner from 1.5.1 to 1.5.2
Bumps runner from 1.5.1 to 1.5.2.

---
updated-dependencies:
- dependency-name: androidx.test:runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-04 07:28:24 +01:00
dependabot[bot] 20c14a03b2 Bump junit from 1.1.4 to 1.1.5
Bumps junit from 1.1.4 to 1.1.5.

---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-04 07:27:28 +01:00
dependabot[bot] a6601f4eea Bump espresso-core from 3.5.0 to 3.5.1
Bumps espresso-core from 3.5.0 to 3.5.1.

---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-04 07:27:04 +01:00
Dennis Guse 220c7b1443 Release: v4.2.0 2023-01-03 23:10:05 +01:00
Dennis Guse 33bb63976d Merge branch 'translations' 2023-01-03 23:04:44 +01:00
Dennis Guse 8db8f68d69 Fix pt translations. 2023-01-03 23:04:37 +01:00
Dennis Guse 99b417217e Bugfix: StatisticsRecordingFragment should only clear viewHolder when the views get destroyed.
Introduced in d70e7b8788
2023-01-02 23:37:38 +01:00
Dennis Guse ac80386b8a Refactor tests: use mocks for BluetoothRemoteSensorManager. 2022-12-30 16:22:46 +01:00
Dennis Guse b96441a964 Refactor: BluetoothUtils return HeartRate. 2022-12-30 16:11:22 +01:00
dependabot[bot] 207f9563df Bump mockito-android from 4.10.0 to 4.11.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.10.0...v4.11.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-29 12:55:30 +01:00
ssantos 7b84bf448b Translated using Weblate (Portuguese)
Currently translated at 100.0% (503 of 503 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/pt/
2022-12-29 11:49:03 +01:00
Dennis Guse 41a62fd412 Merge remote-tracking branch 'weblate2/main' 2022-12-27 22:26:30 +01:00
Dan 1087dbf387 Translated using Weblate (Ukrainian)
Currently translated at 88.8% (447 of 503 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/uk/
2022-12-18 00:55:30 +01:00
dependabot[bot] e16d1d53c6 Bump mockito-android from 4.9.0 to 4.10.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.9.0 to 4.10.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.9.0...v4.10.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 07:31:29 +01:00
Dennis Guse 00c9ba6595 Merge remote-tracking branch 'weblate2/main' 2022-12-08 20:11:00 +01:00
Dennis Guse 7c1995c67f Bugfix: NPE; introduced in b53ef455a6
Fixes #1431.
2022-12-08 20:07:26 +01:00
ovl-1 d2e0ae8b11 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.8% (492 of 503 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nb_NO/
2022-11-28 16:47:53 +01:00
Allan Nordhøy f0aa49537d Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.8% (492 of 503 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nb_NO/
2022-11-26 06:46:57 +01:00
Dennis Guse 14ace294f3 Make Public API summary translatable.
Fixes #1430.
2022-11-25 21:17:18 +01:00
Dennis Guse b53ef455a6 Merge pull request #1427 from OpenTracksApp/heartrate#1118
Heartrate zones
2022-11-25 19:03:56 +01:00
Dennis Guse 3dc6c6607d Removed obsolete test.
Introduced in d70e7b8788
2022-11-25 07:50:25 +01:00
Dennis Guse dd91e05fb6 Bugfix: sensor name/address must be visible.
Introduced in d70e7b8788
2022-11-25 07:42:18 +01:00
Dennis Guse 19fe5275b9 Heartrate zones: adding preference for max heartrate.
Fixes #1118.
2022-11-25 07:41:04 +01:00
Dennis Guse 1aeb9ca332 Heartrate zones: adding preference for max heartrate.
Part of #1118.
2022-11-25 07:05:55 +01:00
Allan Nordhøy 520c240a19 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.6% (491 of 503 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/nb_NO/
2022-11-25 00:13:22 +01:00
Dennis Guse 48aaca13d0 Migrated to hosted.weblate.org
Reason: weblate.bubu1.eu shutdown end of 2022.
Alternative: translate.codeberg.org
Selection method: flipped a coin

Fixes #1396.
2022-11-24 20:57:47 +01:00
Hosted Weblate 88a31f4f39 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://hosted.weblate.org/projects/opentracks/opentracks-src-main-res-values-strings-xml-main/
2022-11-24 20:49:19 +01:00
Dennis Guse 5ce9e6606b Merge pull request #1386 from OpenTracksApp/refactor#1118
Simplify RecordingLayout so we can create custom UIs #1118
2022-11-22 07:12:12 +01:00
Dennis Guse 4ea70b15e7 Renamed Layout to RecordingLayout.
Part of #1118.
2022-11-22 07:06:56 +01:00
Dennis Guse d3cf2957cc StatisticsCustomLayoutEditAdapter: use StatisticsViewHolder (with demo data).
Part of #1118.
2022-11-22 07:06:47 +01:00
Dennis Guse dbac595754 StatisticsCustomLayoutEditAdapter: use viewBinding.
Part of #1118.
2022-11-22 07:06:47 +01:00
Dennis Guse d70e7b8788 StatisticsRecordingFragment: render Views manually (instead of RecyclerView).
Part of #1118.
2022-11-22 07:06:45 +01:00
dependabot[bot] f6835852b6 Bump mockito-android from 4.8.1 to 4.9.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.8.1 to 4.9.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.1...v4.9.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 06:37:13 +01:00
Dennis Guse d5864726f6 StatisticsData: do not expose DataField.
Part of #1118.
2022-11-10 21:45:28 +01:00
Dennis Guse 3cc3271726 Cleanup: move Layout/DataField persistence into one class.
Part of #1118.
2022-11-10 21:45:28 +01:00
Dennis Guse 8aef9c8d28 Refactor StatisticsAdapter to use ViewBindings.
Part of #1118.
2022-11-10 21:45:28 +01:00
dependabot[bot] bcca00d110 Bump core from 1.4.0 to 1.5.0
Bumps core from 1.4.0 to 1.5.0.

---
updated-dependencies:
- dependency-name: androidx.test:core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 07:41:28 +01:00
dependabot[bot] aa929161b4 Bump orchestrator from 1.4.1 to 1.4.2
Bumps orchestrator from 1.4.1 to 1.4.2.

---
updated-dependencies:
- dependency-name: androidx.test:orchestrator
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 07:19:57 +01:00
dependabot[bot] 70cb9cbf51 Bump junit from 1.1.3 to 1.1.4
Bumps junit from 1.1.3 to 1.1.4.

---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-10 07:19:49 +01:00
dependabot[bot] fef3b97661 Bump runner from 1.4.0 to 1.5.1
Bumps runner from 1.4.0 to 1.5.1.

---
updated-dependencies:
- dependency-name: androidx.test:runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 22:39:56 +01:00
dependabot[bot] 945f366195 Bump espresso-core from 3.4.0 to 3.5.0
Bumps espresso-core from 3.4.0 to 3.5.0.

---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 22:36:09 +01:00
dependabot[bot] 8c0a851d87 Bump rules from 1.4.0 to 1.5.0
Bumps rules from 1.4.0 to 1.5.0.

---
updated-dependencies:
- dependency-name: androidx.test:rules
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 22:35:54 +01:00
Dennis Guse 3eb89d7899 Release: v4.1.2 2022-11-04 22:02:07 +01:00
Nicolas Palix f12ff4a625 Translated using Weblate (French)
Currently translated at 100.0% (503 of 503 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2022-11-02 18:15:03 +01:00
Sam 71dac06ce8 README: add FitTrackee to format compatibility matrix 2022-11-02 18:14:59 +01:00
Markus Dittmann 07090cd72c Fix incorrect German translation of "Open Track"
Change the German translation of the "Open Track" button label from
"Offene Strecke" (an "open track") to "Strecke öffnen" ("open this track").

Without context, both variants of the original english phrase are correct
translations, but as a button label in the context of importing a track it is
clear that "open" is a verb and the phrase is an action prompt, and not an
adjective to describe the track.
2022-11-02 18:13:02 +01:00
Dennis Guse 26a20fe32d Voice announcements: distance only with one decimal unit.
Follow-up to: 8a9cd40bd5
2022-10-29 20:35:37 +02:00
FTno d74ef256d7 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (503 of 503 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-10-28 22:55:44 +02:00
Lorin-lab 0392ba5128 Translated using Weblate (French)
Currently translated at 100.0% (502 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2022-10-28 22:55:44 +02:00
Lorin-lab 3d12ebdaa3 Translated using Weblate (French (Switzerland))
Currently translated at 53.1% (267 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr_CH/
2022-10-28 22:55:44 +02:00
Dennis Guse b3cb5e8091 Merge pull request #1406 from OpenTracksApp/raceCondition#1328
Handle LocationManager callbacks with TrackRecordingService's handler.
2022-10-28 22:55:40 +02:00
Dennis Guse 8f9cbcc077 Github Actions: disable test execution as results are flaky due to performance limitations.
Fixes #1409.
2022-10-28 22:39:45 +02:00
Dennis Guse 14b6746dff Handle LocationManager callbacks with TrackRecordingService's handler.
Fixes #1328.
2022-10-28 22:35:36 +02:00
Dennis Guse a5eca8fa64 Test: do not request GPS permissions for test that use fake locations anyhow. 2022-10-28 18:41:54 +02:00
Dennis Guse 498ee20e2a Test: update and re-enable ExportImportTest for csv_export. 2022-10-28 18:41:54 +02:00
Dennis Guse 2207865a70 Cleanup using AndroidStudio analyze. 2022-10-28 17:49:59 +02:00
Dennis Guse 8073f12947 Bugfix: prevent crash while stopping recording (race condition).
Part of #1328
2022-10-27 20:30:00 +02:00
dependabot[bot] cacfcbd4d6 Bump material from 1.6.1 to 1.7.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.6.1...1.7.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-23 12:39:59 +02:00
Lorin-lab 08673de331 Fixed bad string for an answer in the FAQ 2022-10-19 21:16:00 +02:00
Dennis Guse aecd1504f3 Unpin indirect dependency versions again (upstream fixed it).
Introduced in 594f69320a
2022-10-19 20:00:52 +02:00
Dennis Guse f3bf42083a Cleanup. 2022-10-18 20:21:20 +02:00
Dennis Guse 8a9cd40bd5 Voice announcements: distance only with one decimal unit. 2022-10-18 20:21:20 +02:00
dependabot[bot] fee1d1a871 Bump mockito-android from 4.8.0 to 4.8.1
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.0...v4.8.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-18 07:04:18 +02:00
dependabot[bot] 0787ae6686 Bump gradle from 7.3.0 to 7.3.1
Bumps gradle from 7.3.0 to 7.3.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 17:38:05 +02:00
Dennis Guse 747ef9fc56 pt/BR: fix plurals. 2022-10-17 17:37:07 +02:00
mondstern 5911d60818 Translated using Weblate (Irish)
Currently translated at 98.0% (492 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ga/
2022-10-13 00:11:00 +02:00
gbpu b89dbf5819 Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (501 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2022-10-13 00:10:58 +02:00
mondstern 99e2c1f38d Translated using Weblate (Irish)
Currently translated at 91.7% (89 of 97 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/ga/
2022-10-11 10:11:03 +02:00
mondstern faa1ffe53b Translated using Weblate (Irish)
Currently translated at 72.9% (366 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ga/
2022-10-11 10:11:01 +02:00
mondstern 8461122df0 Added translation using Weblate (Irish) 2022-10-09 17:56:21 +02:00
FTno 2ca7aa8f1d Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (502 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-10-05 15:10:54 +02:00
Dennis Guse 9db2aff631 Release: v4.1.1 2022-09-29 20:23:21 +02:00
Xosé M b7cedab1fb Translated using Weblate (Galician)
Currently translated at 100.0% (502 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2022-09-28 21:39:42 +02:00
metezd 0a193c8b5c Translated using Weblate (Turkish)
Currently translated at 97.8% (490 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/tr/
2022-09-28 21:39:42 +02:00
Mingu113 7049fab204 Translated using Weblate (Vietnamese)
Currently translated at 73.6% (70 of 95 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/vi/
2022-09-28 21:39:42 +02:00
Mingu113 80fa49bcf0 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (501 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2022-09-28 21:39:42 +02:00
Leon Marz a1eb5fb15f Check if the device has GPS
Fixes #1380
2022-09-28 21:39:33 +02:00
dependabot[bot] 9160b9b104 Bump reactivecircus/android-emulator-runner from 2.25.0 to 2.26.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.25.0 to 2.26.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.25.0...v2.26.0)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 20:19:51 +02:00
Dennis Guse 85a73c3c85 Implement introduction screen.
Fixes #1316.
2022-09-18 15:44:49 +02:00
Dennis Guse 8389f9150a Update sensor documentation. 2022-09-17 17:08:50 +02:00
Dennis Guse 3075f4010f Release: v4.1.0 2022-09-15 23:14:53 +02:00
Dennis Guse 82e305e6a7 Upgrade to Android Gradle Plugin 7.3.0 2022-09-15 22:14:55 +02:00
Dennis Guse 6351a335c0 Merge pull request #1217 from OpenTracksApp/kml23#339
Upgrade to KML2.3
2022-09-13 23:51:10 +02:00
Dennis Guse 6538daedef README: add export format compatibility matrix.
Part of #339.
2022-09-13 23:50:43 +02:00
Dennis Guse 82fe859c84 KML: Export KML2.3 - KML2.2 and KML2.3 can be imported.
Fixes #339.
2022-09-13 23:20:06 +02:00
Dennis Guse f567b03be5 Bugfix: import all crashed with ClassCastException. 2022-09-11 14:37:35 +02:00
monyxie 7dc4e8dbc8 Translated using Weblate (Chinese (Simplified))
Currently translated at 72.6% (69 of 95 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/zh_Hans/
2022-09-10 23:11:09 +02:00
monyxie 2a272a887e Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (501 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/zh_Hans/
2022-09-10 23:11:09 +02:00
Xosé M 868509e00b Translated using Weblate (Galician)
Currently translated at 100.0% (501 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2022-09-10 23:11:08 +02:00
FTno 477bdd5214 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (501 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-09-10 23:11:08 +02:00
Xosé M 286cec8d77 Translated using Weblate (Galician)
Currently translated at 100.0% (501 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2022-09-10 23:11:08 +02:00
Dennis Guse 58d4ee7d7d Merge pull request #1372 from OpenTracksApp/cadence#1352
Cycling cadence from powermeter
2022-09-10 23:10:58 +02:00
dependabot[bot] 0e93a304f0 Bump appcompat from 1.5.0 to 1.5.1
Bumps appcompat from 1.5.0 to 1.5.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-07 22:24:38 +02:00
dependabot[bot] 0adc4c7986 Bump mockito-android from 4.7.0 to 4.8.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.7.0 to 4.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.7.0...v4.8.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-07 22:20:51 +02:00
Dennis Guse a93424629d BLE: process cycling cadence from powermeter.
Fixes #1352.
2022-09-04 19:55:32 +02:00
Dennis Guse da29766fd0 BLE: BluetoothConnectionManager supports multiple BLE services per sensor type (e.g., cadence).
Part of #1352.
2022-09-04 19:11:31 +02:00
Dennis Guse dc7afbd07f BLE: extract SensorDataCycling.
Part of #1352.
2022-09-04 12:11:09 +02:00
Dennis Guse 67b174feac BLE: do not try to connect twice.
Might had some interesting side effects.
Part of #1352.
2022-09-04 12:11:09 +02:00
Dennis Guse b6b81b5d3d BLE: extract sensor managers into separate files.
Part of #1352.
2022-09-04 12:11:09 +02:00
Dennis Guse 7d804b603d BLE: decode cadence from cycling powermeter.
Part of #1352.
2022-09-04 12:11:09 +02:00
Dennis Guse 8696a15ce7 Cleanup: introduced ServiceMeasurementUUID.
Part of #1352.
2022-09-04 11:54:26 +02:00
Dennis Guse 989fe39849 Cleanup: BLE preferences.
Part of #1352.
2022-09-04 11:31:42 +02:00
Dennis Guse ed1e432691 Merge remote-tracking branch 'weblate/main' 2022-09-03 23:58:15 +02:00
Dennis Guse 4f612e32d6 Voice announcements: "speed" -> "average moving speed" (en only).
Fixes #1346.
2022-09-03 23:26:09 +02:00
Dennis Guse e5d1e421a4 Release: v4.0.8 2022-09-03 10:21:38 +02:00
Surfoo 08ab8cc61d Translated using Weblate (French)
Currently translated at 100.0% (501 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2022-08-28 17:01:16 +02:00
Dennis Guse c3b30815c8 SplashScreen: use Androidx library.
Improvement for Android 12+.
Fixes #1365.
2022-08-28 17:01:10 +02:00
Dennis Guse 5a4919efd2 PublicAPI: support setting the icon.
Fixes #1282.
2022-08-28 15:17:42 +02:00
dependabot[bot] bb549fdc93 Bump desugar_jdk_libs from 1.2.0 to 1.2.2
Bumps [desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-25 21:58:51 +02:00
Dennis Guse 73e59cbba2 UI: show timezone if different than local.
Fixes #1296.
2022-08-22 18:43:53 +02:00
Dennis Guse 27727b6dcf Merge pull request #1310 from OpenTracksApp/time
Refactoring things regarding Duration, Speed, and Distance
2022-08-21 23:25:44 +02:00
Dennis Guse 06d2957407 Desugar: upgrade to AGP 7.3.0-rc01
Required for desugar 1.2.0)
2022-08-21 23:25:06 +02:00
Dennis Guse 8b08af6bcf Upgrade to Gradlew 7.5.1 2022-08-21 22:02:49 +02:00
Dennis Guse 78dad95ef6 Altitude: show always in m/ft.
Fixes #1319.
2022-08-21 22:02:49 +02:00
Dennis Guse be9d56721e Preferences: nicer formattings for distances. 2022-08-21 22:02:49 +02:00
Dennis Guse e5785dd3ac Distance now does all conversions itself. 2022-08-21 22:02:49 +02:00
Dennis Guse 11d912d14d Speed: use Distance for conversions. 2022-08-21 22:02:49 +02:00
Dennis Guse 807ac3fc9f Remove UnitConversions for time/durations. 2022-08-21 22:02:49 +02:00
Dennis Guse 45874d3749 Release: v4.0.7 2022-08-21 21:55:19 +02:00
Peter Storch 594f69320a Fix dependencies to lifecycle-viewmodel 2022-08-21 19:28:07 +02:00
dependabot[bot] d4927c9444 Bump appcompat from 1.4.2 to 1.5.0
Bumps appcompat from 1.4.2 to 1.5.0.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-21 19:28:07 +02:00
Alexander Ivanov 00dbd056d6 Translated using Weblate (Russian)
Currently translated at 99.0% (496 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ru/
2022-08-21 18:53:26 +02:00
M K 8f19ad8f66 Translated using Weblate (Arabic)
Currently translated at 53.6% (269 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ar/
2022-08-21 18:53:26 +02:00
mondstern 2fdad54a7c Translated using Weblate (German)
Currently translated at 94.8% (475 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2022-08-21 18:53:26 +02:00
Peter Storch 5a5f040ed5 Fix #1340 mass track deletion time 2022-08-21 18:53:20 +02:00
Dennis Guse 0ada9a2463 Android13: request NOTIFICATION_POST permission.
Fixes #1353.
Part of #1210.
2022-08-18 08:07:37 +02:00
Dennis Guse 719bb981ec Bugfix: Public API stop does not start service in foreground.
Fixes #1354.
2022-08-17 18:43:27 +02:00
dependabot[bot] 3c95d8744d Bump mockito-android from 4.6.1 to 4.7.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.1...v4.7.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 07:59:40 +02:00
Dennis Guse 63d1c9ee5e GPS: set signal lost threshold to 30s. 2022-08-14 20:18:37 +02:00
Dennis Guse 1ccd2e3c0a Release: v4.0.6 2022-08-07 19:47:54 +02:00
Dennis Guse cdbddabc1b Cleanup: use ContextCompat.getColor() 2022-08-04 22:11:44 +02:00
Dennis Guse 9f6ca83f27 Bug: PublicAPI needs to call startForegroundService (SDK API26+).
Fixes #1301.
2022-08-04 22:11:44 +02:00
dependabot[bot] f2ee99a477 Bump gradle from 7.2.1 to 7.2.2
Bumps gradle from 7.2.1 to 7.2.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 06:44:02 +02:00
Dennis Guse 7009ede095 EGM2008 offset lookup for negative longitudes was wrong. 2022-08-03 17:30:31 +02:00
Dennis Guse 2b530a1c53 Cleanup: unused imports. 2022-08-02 18:44:15 +02:00
Poussinou 33673f5921 Update FUNDING.yml 2022-07-31 14:59:56 +02:00
Dennis Guse a7398d43e3 Release: v4.0.5 2022-07-29 17:58:32 +02:00
Dennis Guse 59b016a4a3 PlayStore: use an inverted icon (app launcher only).
Part of #1329.
2022-07-29 17:56:28 +02:00
Dennis Guse 78aa5d51c6 Intervals: if gain/loss is not available show "-" instead of null.
Fixes #1338.
2022-07-26 22:30:08 +02:00
Quang Trung 95f584b554 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (501 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2022-07-21 15:04:36 +02:00
Dennis Guse cf759d526d README_TESTED_SENSORS.md: we now store sensor data without movement.
Part of #1088.
2022-07-18 07:35:46 +02:00
Dennis Guse 4c44ea12a4 Release: v4.0.4 2022-07-15 21:41:46 +02:00
dependabot[bot] 9d09865907 Bump reactivecircus/android-emulator-runner from 2.24.0 to 2.25.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.24.0 to 2.25.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.24.0...v2.25.0)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-13 07:39:30 +02:00
Dennis Guse 5667d2d83e Store sensor data without distance.
Fixes #1088.
2022-07-11 22:56:11 +02:00
Dennis Guse 386f017fb7 VoiceAnnouncement: avoid using deprecated API. 2022-07-10 21:46:15 +02:00
Román Ginés 87594e822d Bugfixed: adding a mark with a photo after rotating in camera resulted in a crash. Fixes #1321. 2022-07-10 19:47:45 +02:00
Dennis Guse ee832c7bd2 Revert upgrade ot AGP 7.3.0-beta. 2022-07-10 17:59:32 +02:00
Dennis Guse 30042d5bc3 Merge branch 'translations' 2022-07-09 19:49:28 +02:00
Hiajen 73cbb7a29c Translated using Weblate (German)
Currently translated at 75.5% (68 of 90 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/de/
2022-07-09 19:48:52 +02:00
Hiajen c100fdde4f Translated using Weblate (German)
Currently translated at 94.8% (475 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2022-07-09 19:48:52 +02:00
Dennis Guse 04e1496084 Cleanup: adjusted Interval uses constructor.
Fixes #1320.
2022-07-09 15:52:57 +02:00
Dennis Guse 21d1852505 Test: import+export results in same timezone.
Part of #1296.
2022-07-08 00:16:48 +02:00
Dennis Guse 1502b0cfa7 Gain/loss: handle events in our TrackRecordingService.handler (avoids potential race conditions). 2022-07-07 18:27:56 +02:00
Dennis Guse e7d6f65508 Gain/loss: use 5s as sensor interval to save some energy. 2022-07-07 18:27:56 +02:00
Dennis Guse 0e69a444a5 Add a comma. 2022-07-07 18:26:27 +02:00
Román Ginés 3b62999fde Announcement computes intervals from last track point. Fixes #645.
Bugfixed: intervals distance wasn't computed correctly.
2022-07-06 22:54:45 +02:00
Dennis Guse 97431233ac Fix translations. 2022-07-05 21:01:09 +02:00
Uglješa d49675afc8 Translated using Weblate (Serbian)
Currently translated at 56.6% (284 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sr/
2022-07-03 18:29:42 +02:00
vsevjednom-cz c1f7ab36a8 Translated using Weblate (Czech)
Currently translated at 94.2% (472 of 501 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2022-07-03 18:29:42 +02:00
FTno eb14cc7bc6 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (500 of 500 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-07-03 18:29:42 +02:00
Xosé M a47b9164af Translated using Weblate (Galician)
Currently translated at 100.0% (500 of 500 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2022-07-03 18:29:42 +02:00
Surfoo 502e3ecb21 Translated using Weblate (French)
Currently translated at 100.0% (500 of 500 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2022-07-03 18:29:42 +02:00
metezd 71903f174a Translated using Weblate (Turkish)
Currently translated at 98.0% (490 of 500 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/tr/
2022-07-03 18:29:41 +02:00
Dennis Guse ab6606a295 Github actions: rename APK build job. 2022-07-03 18:29:38 +02:00
Dennis Guse c4e2023992 Public API: allow setting track properties (name, category, description) on StartRecording.
Fixes #1282.
2022-07-03 17:32:21 +02:00
Dennis Guse cb10bdda3f Settings: show package id in Public API settings. 2022-07-03 10:28:43 +02:00
Dennis Guse f913472aae Settings: idle speed threshold has now a summary. 2022-07-03 10:28:31 +02:00
Dennis Guse af4826c578 TrackStoppedActivity: update track data on resume track.
Fixes #1249.
2022-07-02 08:51:31 +02:00
Dennis Guse 63172ec66f Github Actions: downgrade triggers. 2022-07-01 20:40:38 +02:00
Dennis Guse 3d6c339509 Android13: use new Image picker.
Part of #1210.
2022-07-01 20:24:20 +02:00
Dennis Guse 49f86c4eb9 Android13: upgrade target sdk to 33.
Part of #1210.
2022-07-01 20:24:20 +02:00
Dennis Guse 7664bd248d Release: v4.0.3 2022-07-01 13:27:50 +02:00
Dennis Guse 73615aa0d6 Statistics: remove speed filtering (fix tests).
Part of #1003.
2022-07-01 13:24:18 +02:00
Dennis Guse 81bb6699d8 Statistics: remove speed filtering.
Part of #1003.
2022-06-30 14:03:33 +02:00
dependabot[bot] 93c67e3728 Bump desugar_jdk_libs from 1.1.5 to 1.1.6
Bumps [desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 1.1.5 to 1.1.6.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-29 08:45:59 +02:00
Dennis Guse 993816a34a Github issue template for data not recorded.
Fixes #1295.
2022-06-28 16:18:41 +02:00
Šimon Hořánek 3c0999c3a0 Translated using Weblate (Czech)
Currently translated at 94.3% (471 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2022-06-27 23:03:27 +02:00
metezd 4528e7148f Translated using Weblate (Turkish)
Currently translated at 98.1% (490 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/tr/
2022-06-27 23:03:27 +02:00
FTno 74042f5d85 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (499 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-06-27 23:03:27 +02:00
Dennis Guse 92f6fbe04a Prevent crash if no dashboard is installed. 2022-06-27 23:03:23 +02:00
Dennis Guse 5fa50250de Cleanup tests for StringUtils.parseTime().
Part of #1295.
2022-06-27 19:30:23 +02:00
Dennis Guse 8ee9daf7af Github issue template for data not recorded.
Fixes #1295.
2022-06-27 12:58:17 +02:00
Dennis Guse a54c8c1d25 Use Set.of(). 2022-06-22 20:31:41 +02:00
Dennis Guse 8137ec8de2 GPX exporter: only export trkseq if it actually contains data.
Fixes #1291.
2022-06-21 19:56:19 +02:00
Dennis Guse ae2a97576b Release: v4.0.2 2022-06-20 22:06:01 +02:00
Šimon Hořánek 3e830a086e Replace Start with Stop 2022-06-19 21:03:56 +02:00
Surfoo 618a1df3ea Translated using Weblate (French)
Currently translated at 82.9% (73 of 88 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/fr/
2022-06-19 17:34:42 +02:00
Surfoo 90cfc67c59 Translated using Weblate (French)
Currently translated at 100.0% (487 of 487 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2022-06-19 17:34:42 +02:00
Dennis Guse cecc586868 Bugfix: export was not checking properly if file exists.
Fixes #1283.
2022-06-19 17:24:18 +02:00
Dennis Guse f956e7fab3 Duplicate variable name. 2022-06-19 17:21:56 +02:00
William Pettersson 128b95cd83 Fix voice announcement rounding problem
We extracted integral parts before rounding, but String.format does
rounding which caused occasional issues. To alleviate, we need to round
before passing to String.format. All this rounding logic has now been
moved into appendDecimalUnit, and tests have been added to check that
rounding works correctly.

Fixes: #1285
2022-06-19 16:39:46 +02:00
Román Ginés 895a5c2b2a Bugfixed: DistanceFormatter was using the wrong unitSystem. Fixes #1288. 2022-06-18 23:18:04 +02:00
Dennis Guse 91ce5cf8d7 Add nautical miles (with feet for altitude).
Tests were broken.

Fixes #1280.
2022-06-18 10:01:09 +02:00
Dennis Guse a283464331 Add nautical miles (with feet for altitude).
Fixes #1280.
2022-06-17 19:57:40 +02:00
Dennis Guse 1c3a2bd2e4 Removed altitude smoothing completely: now it will just be the plain GPS-reported value.
Was only used for statistics in exports.

Follow-up to #1241.
2022-06-11 14:41:56 +02:00
Dennis Guse 0b326a77c2 Bugfix: Elevation in charts smoothing removed as it was broken.
Fixes #1241.
2022-06-11 14:24:41 +02:00
Dennis Guse d68008941e Release: v4.0.1 2022-06-09 22:55:36 +02:00
Dennis Guse b822d05a78 Fix voice announcement tests. 2022-06-09 22:33:43 +02:00
Dennis Guse 74bfed768c Translations: removed obsolete ones. 2022-06-09 21:01:08 +02:00
arjan-s ebfcce6d8d Translated using Weblate (Dutch)
Currently translated at 100.0% (487 of 487 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nl/
2022-06-09 16:04:29 +02:00
Hiajen d97d8f85e4 Translated using Weblate (German)
Currently translated at 96.9% (472 of 487 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2022-06-09 16:04:28 +02:00
FTno 37c2c5029e Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (482 of 482 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-06-07 09:55:18 +02:00
mondstern 105ff89fd8 Translated using Weblate (Romanian)
Currently translated at 84.4% (407 of 482 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ro/
2022-06-07 09:55:18 +02:00
mondstern 0ac033106c Translated using Weblate (Hungarian)
Currently translated at 91.7% (442 of 482 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/hu/
2022-06-07 09:55:18 +02:00
mondstern 21ec9fc568 Translated using Weblate (Finnish)
Currently translated at 96.6% (466 of 482 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2022-06-07 09:55:18 +02:00
mondstern 2e3a7a31d4 Translated using Weblate (Hungarian)
Currently translated at 82.5% (398 of 482 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/hu/
2022-06-07 09:55:17 +02:00
Román Ginés ecd7405a8c TrackStoppedActivity: added discard button option. Fixes #1267. 2022-06-07 09:55:09 +02:00
Dennis Guse 28abe360cb Merge pull request #1276 from OpenTracksApp/voiceConfig#1275
Added settings for what to announce
2022-06-06 17:04:15 +02:00
Dennis Guse 9cf88c00b0 Voice announcements: time is moving time (settings). 2022-06-06 17:02:31 +02:00
Dennis Guse 8bbde4aacd Voice announcements: fix translations 2022-06-06 17:02:31 +02:00
Jonas Kalderstam 00351136f2 Voice announcements: added settings for what to announce 2022-06-06 17:02:31 +02:00
dependabot[bot] 30b85bd215 Bump mockito-android from 4.6.0 to 4.6.1
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.0...v4.6.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-04 09:40:55 +02:00
Dennis Guse 14b705b43e README: add large translation status; removed Amazon App Store link. 2022-06-04 09:22:51 +02:00
Dennis Guse 31fc0adabc Fullscreen: now more fullscreen. 2022-06-03 17:26:33 +02:00
Dennis Guse 1714da5d3b Translations: fix quantities (fr). 2022-06-02 22:12:00 +02:00
mondstern 6ae47b5e01 Translated using Weblate (Slovenian)
Currently translated at 93.3% (450 of 482 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sl/
2022-06-02 22:06:14 +02:00
metezd df8e4c2e2e Translated using Weblate (Turkish)
Currently translated at 99.1% (478 of 482 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/tr/
2022-06-02 20:00:22 +02:00
Surfoo 6f9fa3719a Translated using Weblate (French)
Currently translated at 100.0% (482 of 482 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2022-06-02 20:00:21 +02:00
vsevjednom-cz b9014c7219 Translated using Weblate (Czech)
Currently translated at 98.7% (483 of 489 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2022-06-02 20:00:21 +02:00
FTno d44ab44620 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (502 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-06-02 20:00:21 +02:00
dependabot[bot] bcffe05744 Bump appcompat from 1.4.1 to 1.4.2
Bumps appcompat from 1.4.1 to 1.4.2.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 20:00:06 +02:00
Dennis Guse ed60734868 Donations: we do not accept Bitcoin anymore (too much effort). 2022-06-01 20:17:02 +02:00
dependabot[bot] e314ff8f43 Bump material from 1.6.0 to 1.6.1
Bumps [material](https://github.com/material-components/material-components-android) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.6.0...1.6.1)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-31 22:48:36 +02:00
Peter Storch 1108684d06 Add "show on map" format selection dialog 2022-05-30 07:51:00 +02:00
dependabot[bot] 6c0033c107 Bump mockito-android from 4.5.1 to 4.6.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.5.1 to 4.6.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.1...v4.6.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 07:35:00 +02:00
Dennis Guse 8a3e50ef9b BLE sensors: faster connection. 2022-05-29 22:50:55 +02:00
Román Ginés 05b572253e Bugfixes: buttons colors were handcoded. Fixes #1260. 2022-05-29 20:25:18 +02:00
Dennis Guse f755a086cd Cleanup: removed unused translations. 2022-05-29 20:22:50 +02:00
Dennis Guse b0605323da Track list: RTL fix. 2022-05-29 18:15:41 +02:00
Dennis Guse 585c2234eb Bugfix: request permissions in TrackListActivity.
Introduced in 9d64989ef1
2022-05-29 18:06:00 +02:00
Román Ginés c5d7ea4245 Bugfixes: TrackStoppedActivity on smaller devices. Fixes #1257. 2022-05-29 18:02:57 +02:00
Dennis Guse 281cd8a861 Merge pull request #1248 from OpenTracksApp/reset#1247
Allow settings reset and import/export while recording
2022-05-28 13:48:56 +02:00
Dennis Guse 36400c8ad0 Fix EspressoUITest for API24. 2022-05-26 23:39:35 +02:00
Dennis Guse fb00f697c5 Fix EspressoDeleteTrackTest.
Fixes #817.
2022-05-26 23:39:35 +02:00
Dennis Guse f529726218 KML: icons (start, stop, markers) use default icon.
Until now we used external URLs from Google to fetch proper icons.

Fixes #126.
2022-05-26 10:23:27 +02:00
Dennis Guse 059f3d8f43 Cleanup: align test classes name to tested class. 2022-05-26 10:23:27 +02:00
dependabot[bot] cae716925f Bump gradle from 7.2.0 to 7.2.1
Bumps gradle from 7.2.0 to 7.2.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-26 08:22:07 +02:00
Dennis Guse d29ee6da3d Settings: allow import/export settings while recording.
Fixes #1247.
2022-05-25 22:03:16 +02:00
Dennis Guse 033b5211ea Settings: allow reset settings while recording.
Fixes #1247.
2022-05-25 22:01:51 +02:00
Dennis Guse 5f4f5baba4 Remove unused settings (formerly used in settings). 2022-05-25 07:38:12 +02:00
Dennis Guse 4421046556 Remove unused settings (incl. deprecated ones). 2022-05-25 07:38:12 +02:00
Dennis Guse 30482d5a34 Record/stop buttons: add contentDescription. 2022-05-25 07:38:12 +02:00
Dennis Guse f12094c953 Remove unused translations (were used for voice announcements). 2022-05-25 07:38:12 +02:00
Dennis Guse c5147e7664 UI tests: use longClick() instead of veryLongClick(). 2022-05-25 07:38:12 +02:00
Dennis Guse 03b66bc6a2 Remove unused xml configuration. 2022-05-25 07:38:12 +02:00
Dennis Guse 7b40f2c949 Remove unused buttons.
Replaced in da62d26409
2022-05-25 07:38:12 +02:00
Dennis Guse 785a922d03 Remove empty translations. 2022-05-25 07:38:12 +02:00
Dennis Guse 5d2414977b TrackRecordingService: remove pause functionality.
Fixes #1233.
2022-05-23 07:41:50 +02:00
Román Ginés f9b8e46b32 Release: v4.0.0 2022-05-22 21:53:13 +02:00
Dennis Guse c79fc2f353 Change track title capitalization to sentences 2022-05-22 21:12:38 +02:00
gerberfg e283e993bb Change track title capitalization to sentences 2022-05-22 21:09:57 +02:00
Egor Ermakov 3f1e74e71e Translated using Weblate (Russian)
Currently translated at 100.0% (502 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ru/
2022-05-21 21:04:10 +02:00
mondstern 300453e3e6 Translated using Weblate (Dutch)
Currently translated at 100.0% (502 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nl/
2022-05-21 21:04:10 +02:00
Dennis Guse ac8eea377e Bugfix: resume functionality was not starting recording.
Introduced in 9d64989ef1
2022-05-21 09:16:43 +02:00
dependabot[bot] cc44e8e9bf Bump constraintlayout from 2.1.3 to 2.1.4
Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/androidx/constraintlayout/releases)
- [Commits](https://github.com/androidx/constraintlayout/commits)

---
updated-dependencies:
- dependency-name: androidx.constraintlayout:constraintlayout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-20 07:05:15 +02:00
mm4c 3860472e6b Translated using Weblate (Dutch)
Currently translated at 87.2% (75 of 86 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/nl/
2022-05-19 19:30:48 +02:00
metezd 69029486b6 Translated using Weblate (Turkish)
Currently translated at 98.9% (494 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/tr/
2022-05-19 19:30:48 +02:00
Adriel Sand b407f86d5e Translated using Weblate (Russian)
Currently translated at 100.0% (499 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ru/
2022-05-19 19:30:48 +02:00
Adriel Sand 731adc7e31 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (499 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2022-05-19 19:30:48 +02:00
mondstern 858149e718 Translated using Weblate (Dutch)
Currently translated at 100.0% (499 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nl/
2022-05-19 19:30:48 +02:00
mondstern 34e796f73c Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (499 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-05-19 19:30:47 +02:00
Dennis Guse 3ac71361b8 Launcher icon: provide a themed icon (Android 13). 2022-05-19 19:30:43 +02:00
Dennis Guse e409b315b4 Refactor permission requests.
Fixes #1224.
2022-05-19 19:30:20 +02:00
Dennis Guse 24eb768707 Export: filename template now distinguishes between {date} and {time}. 2022-05-19 19:28:15 +02:00
Peter Storch 17ad13d559 Add ExceptionHandler and ShowErrorActivity 2022-05-19 06:12:58 +02:00
Dennis Guse 3b71212905 Public API: respect post-workout export.
Fixes #1225.
2022-05-15 20:19:59 +02:00
Dennis Guse 16a29c5e31 Bugfix: for a recording Track TrackListActivity needs to open TrackRecordingActivity.
Introduced in 9d64989ef1

Fixes #1235.
2022-05-15 08:00:35 +02:00
Dennis Guse e421164282 Bugfix: fileformat template was not loaded (NPE).
Fixes #1232.
2022-05-13 19:28:43 +02:00
Pixtxa de01157964 Changed second t.getLatitude() to t.getLongitude()
I thought it was excel until I realized, the data is also broken in newly generated csv files
2022-05-12 22:30:01 +02:00
Dennis Guse 8ef51ec318 Bugfix: unitSystem not loaded correctly.
Introduced in a5b44175a3

Fixes #1228.
2022-05-12 07:44:34 +02:00
Dennis Guse d2139d70ad Bugfix: sharing track added file suffix twice.
Introduced in 0d3cf4ce0d.
2022-05-11 22:22:45 +02:00
metezd d1a37366be Translated using Weblate (Turkish)
Currently translated at 79.0% (68 of 86 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/tr/
2022-05-11 20:56:56 +02:00
metezd 52d7c8a6cb Translated using Weblate (Turkish)
Currently translated at 79.5% (397 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/tr/
2022-05-11 20:56:56 +02:00
metezd c62e56e5a3 Translated using Weblate (Turkish)
Currently translated at 78.1% (390 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/tr/
2022-05-11 20:56:56 +02:00
Xosé M 6b89092adf Translated using Weblate (Galician)
Currently translated at 100.0% (499 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2022-05-11 20:56:56 +02:00
Mario 118a56b8d6 Translated using Weblate (Spanish)
Currently translated at 100.0% (499 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2022-05-11 20:56:56 +02:00
Mario 7fb993014c Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (499 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es_419/
2022-05-11 20:56:56 +02:00
Dennis Guse 09f72af66c Deleted translation using Weblate (Sinhala) 2022-05-11 20:56:56 +02:00
Dennis Guse 815f111ca6 TrackRecordingService: use main looper explicitly. 2022-05-11 20:56:52 +02:00
Dennis Guse 40d2bf0c22 Bluetooth: use TrackRecording handler for callback.
Otherwise the thread is not defined and a SecurityException may be triggered when inserting data into the ContentProvider.
Sadly, below API26 this needs to be done manually.

Fixes #1165.
2022-05-11 20:56:52 +02:00
Dennis Guse a77b7a0626 Update Android build gradle plugin to 7.2.0 2022-05-11 19:59:02 +02:00
Dennis Guse 1a00b4b779 UI tests slightly more robust. 2022-05-11 19:59:02 +02:00
Dennis Guse 6c5c47240c Move to androidx.constraintlayout. 2022-05-11 19:59:02 +02:00
Dennis Guse 3c32da970b Upgrade to gradlew 7.4.2 2022-05-09 22:35:50 +02:00
Román Ginés 9cff62c5ba New screenshots after UI refactoring. 2022-05-09 20:38:25 +02:00
dependabot[bot] 424f93b4da Bump material from 1.5.0 to 1.6.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.5.0...1.6.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-08 20:53:53 +02:00
Dennis Guse 3a23a412c8 Cleanup: use explicit preference identifiers for TrackFileFormat. 2022-05-08 20:49:24 +02:00
Dennis Guse 9d64989ef1 Public API: implemented STOP properly.
Fixes #1103.
2022-05-08 20:29:13 +02:00
Román Ginés da62d26409 UI refactoring with a Bottom App Bar.
Only one button to play/stop.
Stop Activity to edit track just recorded, resuming or finishing.
Logo color to FF6D00.
Fixes #1078 #437 #575 #1094.
2022-05-08 20:06:24 +02:00
Dennis Guse a350077e5c Merge remote-tracking branch 'weblate/main' 2022-05-08 11:22:26 +02:00
Dennis Guse 36b6cd3c98 Release: v3.28.0 2022-05-08 11:16:19 +02:00
metezd 203b457ad0 Translated using Weblate (Turkish)
Currently translated at 60.5% (302 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/tr/
2022-05-08 10:59:46 +02:00
metezd 0873b3bd12 Translated using Weblate (Turkish)
Currently translated at 57.1% (285 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/tr/
2022-05-08 10:59:46 +02:00
Dennis Guse a7f7e3fca1 Release: v3.28.0 2022-05-08 10:59:27 +02:00
Dennis Guse a52beffef5 Translations: fix quantities. 2022-05-06 06:36:49 +02:00
Yaxi Ye e6f6d61b84 Translated using Weblate (Chinese (Simplified))
Currently translated at 64.7% (323 of 499 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/zh_Hans/
2022-05-04 20:18:51 +02:00
Vinicius 4a167c9335 Translated using Weblate (Portuguese (Brazil))
Currently translated at 82.3% (70 of 85 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/pt_BR/
2022-05-04 20:18:51 +02:00
Vinicius 16857a9968 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (498 of 498 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2022-05-04 20:18:51 +02:00
Dennis Guse 094a20c379 Vertical accuracy: process and import/export.
Fixes #78.
2022-05-04 20:18:45 +02:00
Dennis Guse 0d3cf4ce0d Configurable filename for export: used for all automatic exports after recording, exporting all, and sharing tracks.
Fixes #512.
2022-05-03 20:06:29 +02:00
dependabot[bot] 8a2d1c42a8 Bump reactivecircus/android-emulator-runner from 2.23.0 to 2.24.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.23.0 to 2.24.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.23.0...v2.24.0)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 07:16:58 +02:00
Dennis Guse a5b44175a3 Convert metricUnits boolean into an enum.
Fixes #1199.
2022-04-28 22:35:38 +02:00
Dennis Guse db5c9479df Implement SpeedFormatter. 2022-04-28 22:35:38 +02:00
Dennis Guse 16f238f34b Refactoring: DistanceFormatter handles metricUnits. 2022-04-28 22:35:38 +02:00
Dennis Guse a57b5cd6ee From notification, open TrackRecordingActivity.
Fixes #1205.
2022-04-26 18:31:14 +02:00
Román Ginés 5e54cb8fda Bugfixed: intervals dropdown shows incorrect unit when metric units is selected.
Fixes #1201.
2022-04-24 19:23:44 +02:00
Dennis Guse 0934e7f10c Release: v3.27.0 2022-04-24 17:28:23 +02:00
Dennis Guse 6741ef4d9f Bugfix: notification opens TrackListActivity instead of TrackRecordingActivity.
If a recording is running, we need to pass the trackId to TrackRecordingActivity as otherwise it crashes when needing it.

Fixes #1156.
2022-04-24 16:58:36 +02:00
Dennis Guse f2ac1edc4b Create DistanceFormatter.
Fixes #1197
2022-04-23 20:12:43 +02:00
Dennis Guse b44bab1ab5 For testing: add rule to mock timezone.
Used by ExportImportTest.csv_export_only()
2022-04-23 15:03:05 +02:00
Dennis Guse 574bd38a35 Github Actions: upgrade from api from 23 to 24 to use BufferedReader during tests. 2022-04-23 15:03:05 +02:00
Dennis Guse 374959f340 Add CSV as export format (TrackPoints only).
Fixes #999.
2022-04-23 15:03:05 +02:00
Dennis Guse 3815ee6c59 Voice announcements and Interval: add sub km/miles options.
Fixes #1195.
2022-04-23 14:16:00 +02:00
Dennis Guse 5e4924a5e1 Translations: fix some quantities. 2022-04-23 13:22:15 +02:00
Egor Ermakov 8123104f39 Translated using Weblate (Russian)
Currently translated at 84.5% (71 of 84 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/ru/
2022-04-23 12:49:10 +02:00
Egor Ermakov a9e0c4916d Translated using Weblate (Russian)
Currently translated at 99.6% (500 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ru/
2022-04-23 12:49:10 +02:00
Evgeniy 58803c975a Translated using Weblate (Russian)
Currently translated at 82.1% (69 of 84 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/ru/
2022-04-23 12:49:10 +02:00
mondstern d7dc59e547 Translated using Weblate (Czech)
Currently translated at 99.6% (500 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2022-04-23 12:49:10 +02:00
Dennis Guse 5cf8b67954 Import/Export: horizontal accuracy.
Fixes #683.
2022-04-23 12:49:07 +02:00
Brian J. Murrell fb70486bdc Include GPS accuracy in GPX export
Add a new "accuracy" tag to the opentracks extension as there was no
other extension providing this tag that could be found.

Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
2022-04-23 12:49:07 +02:00
Dennis Guse 18b21a6a3e Bugfix: prevent race condition in TrackPointCreator.
This race condition leads to a crash in TrackStatisticsUpdater as the time might appear to move backwards if the created TrackPoints are not stored in order. Might happen if multiple sensors (BLE or GPS) are used in simultaneously.

Every method affected by a race condition is now synchronized.

Problem was introduced in c4b8082efc

Fixes #1151.
2022-04-23 12:48:19 +02:00
Dennis Guse 71288cd9be Bugfix: onDestroy() first shutdown sensors.
Fixes #1189.
2022-04-22 06:51:15 +02:00
dependabot[bot] 220545da9f Bump mockito-android from 4.5.0 to 4.5.1
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.0...v4.5.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 06:32:41 +02:00
dependabot[bot] 43e9c42915 Bump mockito-android from 4.4.0 to 4.5.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-20 07:00:32 +02:00
Dennis Guse 28944eff07 Upgrade Gradle 7.3. 2022-04-11 21:58:47 +02:00
Dennis Guse 92f9f94423 Workaround: Wahoo Tickr X repords cadence in SPM instead of RPM.
Fixes #1164.
2022-04-11 21:30:25 +02:00
dependabot[bot] 8ae268fab2 Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 21:14:28 +02:00
dependabot[bot] 346264025b Bump actions/setup-java from 2 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 21:03:25 +02:00
Dennis Guse 0a810e7123 Bugfix: NPE in GPXTrackExporter.
Introduced in 0f489f1cc9

Fixes #1176.
2022-04-11 20:43:11 +02:00
Dennis Guse 02f3fc1940 Merge remote-tracking branch 'weblate/main' 2022-04-10 19:31:51 +02:00
Dennis Guse dd1c5667a0 Adhere to recording distance interval for TrackPoint storage.
Part of #1059.
2022-04-10 12:57:12 +02:00
Brian J. Murrell 0f489f1cc9 Use Cluetrust GPX extension to add total distance
To each trackpiont written to the GPX file.

Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
2022-04-08 07:31:52 +02:00
dependabot[bot] a07f11589b Bump gradle from 7.1.2 to 7.1.3
Bumps gradle from 7.1.2 to 7.1.3.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 07:16:49 +02:00
Dennis Guse 209a320433 UI: while recording clock shows seconds.
Fixes #1168.
2022-04-07 20:25:22 +02:00
Mario 8ab9ed0e31 Translated using Weblate (Spanish)
Currently translated at 100.0% (502 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2022-04-07 11:13:12 +02:00
Dennis Guse 80ca4e647a Bug: crash earlier if in IntervalsFragment if the trackId is null.
Belongs to #1156.
2022-04-05 20:22:07 +02:00
Mario a8de9cb216 Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (502 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es_419/
2022-04-05 19:03:23 +02:00
Max Schallert 12c21b7940 Translated using Weblate (German)
Currently translated at 90.0% (452 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2022-04-04 18:58:51 +02:00
Dennis Guse 4c5ff546a4 Translated using Weblate (German)
Currently translated at 90.0% (452 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2022-04-04 18:58:51 +02:00
mm4c 2e0835b2ec Translated using Weblate (Dutch)
Currently translated at 86.9% (73 of 84 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/nl/
2022-04-02 16:24:48 +02:00
mm4c 18ea8fea87 Translated using Weblate (Dutch)
Currently translated at 100.0% (502 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nl/
2022-04-02 16:24:48 +02:00
mondstern 02a69c8817 Translated using Weblate (Czech)
Currently translated at 99.6% (500 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2022-04-02 16:24:48 +02:00
mm4c cab70d665c Translated using Weblate (Dutch)
Currently translated at 84.3% (70 of 83 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/nl/
2022-04-02 16:24:48 +02:00
mm4c c42f833703 Translated using Weblate (Dutch)
Currently translated at 81.0% (407 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nl/
2022-04-02 16:24:48 +02:00
Xosé M 39838232b5 Translated using Weblate (Galician)
Currently translated at 100.0% (502 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2022-04-02 16:24:48 +02:00
Brian J. Murrell 2b346b3f18 Add information about Wahoo Tickr X
Cadence appears to be reported in SPM rather than RPM.
2022-04-02 16:24:42 +02:00
Dennis Guse 7c5115fc56 UI: only update once every second.
Accidentally introduced in 78519883c0.
2022-03-26 00:35:44 +01:00
Román Ginés cb71c40350 Release: v3.26.1 2022-03-22 13:37:35 +01:00
Román Ginés 22bde4af3c Bug fixed: contextual action bar didn't overlap toolbar in night theme. 2022-03-21 12:59:45 +01:00
Dennis Guse ecfcc180b9 Release: v3.26.0 2022-03-14 23:21:17 +01:00
mondstern 9c1af67e7e Translated using Weblate (Czech)
Currently translated at 99.4% (499 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2022-03-14 18:52:57 +01:00
mondstern 873422540f Translated using Weblate (Vietnamese)
Currently translated at 100.0% (502 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2022-03-13 01:28:18 +01:00
vsevjednom-cz 6cf0b26058 Translated using Weblate (Czech)
Currently translated at 95.0% (477 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2022-03-13 01:28:18 +01:00
Quang Trung a94b227767 Translated using Weblate (Vietnamese)
Currently translated at 96.8% (486 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2022-03-13 01:28:17 +01:00
FTno c820a76102 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (502 of 502 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-03-13 01:28:17 +01:00
Peter Storch e61b065f2b fix #1139 CI build
- fix NPEs in TrackPointCreator.fill()
- fix locale dependant tests
- wait for UI components
- extract utility functions into EspressoUtils
2022-03-13 01:28:10 +01:00
dependabot[bot] 24d8e976da Bump mockito-android from 4.3.1 to 4.4.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.4.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 11:57:38 +01:00
Román Ginés 79e45f7aea Migration to Material Components theme and style.
New night theme mainly white on black.
Fixes #1122.
Fixes #957.
2022-03-03 10:02:34 +01:00
J. Lavoie 72f7b12da6 Translated using Weblate (French)
Currently translated at 87.6% (71 of 81 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/fr/
2022-03-03 00:19:26 +01:00
Mario 9973dd05bd Translated using Weblate (Spanish)
Currently translated at 100.0% (490 of 490 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2022-03-03 00:19:26 +01:00
Mario 41072a8981 Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (490 of 490 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es_419/
2022-03-03 00:19:26 +01:00
dependabot[bot] b1dcdf326c Bump gradle from 7.0.4 to 7.1.2
Bumps gradle from 7.0.4 to 7.1.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-03 00:19:23 +01:00
Dennis Guse c271dd32ac Merge pull request #1132 from spacecowboy/voiceHeartRate
Voice announcements: configurable, TtsSpan, and heart rate.
2022-03-02 15:17:22 +01:00
dependabot[bot] 5dfa867034 Bump actions/checkout from 2.4.0 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 15:01:08 +01:00
Román Ginés ada0f88538 Time on list of tracks uses 24 hour format. Fixes #1140. 2022-03-02 08:36:14 +01:00
Dennis Guse 4df0e2a65c Release: v3.25.1 2022-03-02 03:36:43 +01:00
Jonas Kalderstam 9e7e8c60a6 Voice announcement: added TtsSpans to announcements
Fixes #876
2022-03-01 10:09:00 +01:00
Jonas Kalderstam 1075021e21 Voice announcement: added heart rate info to voice announcements
Also added setting to toggle announcement of heart rate

Defaults to off to preserve current behavior
2022-03-01 09:58:29 +01:00
Peter Storch b5acfa022d try appCtx to persist NextCloud URI permission
for #1080
Also fixing a missing break in a switch statement.
2022-02-26 23:42:50 +01:00
dependabot[bot] 6fe38453b3 Bump gradle from 7.1.1 to 7.1.2
Bumps gradle from 7.1.1 to 7.1.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-25 12:54:54 +01:00
Dennis Guse 2692cc553c Release: v3.25.0 2022-02-22 03:11:50 +01:00
FTno 3db4dc9422 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (490 of 490 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-02-21 22:52:44 +01:00
FTno 01bb4429ad Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.3% (487 of 490 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-02-21 22:52:44 +01:00
Vinicius ca817e789e Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.7% (485 of 486 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2022-02-21 22:52:44 +01:00
FTno 7bf2110a54 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (486 of 486 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-02-21 22:52:44 +01:00
Mario 78662a330f Translated using Weblate (Spanish)
Currently translated at 100.0% (486 of 486 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2022-02-21 22:52:44 +01:00
Mario 8bfaa1d542 Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (486 of 486 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es_419/
2022-02-21 22:52:44 +01:00
Mario 5a1bee13f9 Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (486 of 486 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es_419/
2022-02-21 22:52:44 +01:00
Dennis Guse b01045abe4 CI: enable test and lint for PRs from forks. 2022-02-21 22:52:27 +01:00
dependabot[bot] d7fbae9321 Bump reactivecircus/android-emulator-runner from 2.22.0 to 2.23.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.22.0 to 2.23.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.22.0...v2.23.0)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-18 06:44:15 +01:00
Dennis Guse ab5e6cbfcd Bugfix: emojis cannot be used as filenames.
Fixes #1129.
2022-02-17 18:36:06 +01:00
Dennis Guse 0848897ed0 Bugfix: speed showed sometimes 0.0 in UI.
Fixes #1117.
2022-02-17 18:19:17 +01:00
Arjan Schrijver 1e4e7b8c15 Allow starting the Dashboard API automatically from the StartRecording API
Fixes #1116.
2022-02-16 17:06:24 +01:00
Román Ginés 7ca6925e7d Recording without GPS: show a Snackbar to warn user that recording is not using GPS. 2022-02-15 17:20:44 +01:00
Dennis Guse 5c06c7548f GPS is now optional: request GPS access in TrackRecordingActivity.
Fixes #1061.
2022-02-14 22:17:10 +01:00
Dennis Guse 8001c03a74 Bugfix: do not leak TTS in voice announcements. 2022-02-14 22:01:52 +01:00
Dennis Guse 30f9b6ffdc Cleanup in VoiceAnnouncement: rename to start() and stop(). 2022-02-14 22:01:52 +01:00
Dennis Guse a7fd6b8dfa TrackRecordingService: call stopSelf after triggering post-workout export.
Might fix #1080.
2022-02-14 22:01:52 +01:00
Dennis Guse cc93384d1f TrackRecordingService: create/ release EGM2008. 2022-02-14 22:01:52 +01:00
Dennis Guse 78519883c0 Refactored ExportServiceResultReceiver to make TrackRecordingService simpler. 2022-02-14 22:01:52 +01:00
Dennis Guse 29051ac978 Cleanup: move creating manual TrackPoints into TrackRecordingManager. 2022-02-14 22:01:52 +01:00
Dennis Guse cf32c81035 Cleanup: extract RecordingData and RecordingStatus from TrackRecordingService. 2022-02-14 22:01:52 +01:00
Dennis Guse 094c97f78d Share: removed PNG share pic.
Fixes #1127.
2022-02-14 21:52:39 +01:00
FTno 8dca84456b Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (483 of 483 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-02-11 10:38:49 +01:00
Katto f962f27309 Translated using Weblate (Estonian)
Currently translated at 97.7% (469 of 480 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2022-02-07 07:28:00 +01:00
FTno 2f0826baf6 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (480 of 480 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-02-07 07:28:00 +01:00
Riku Viitanen b7ff0e2fac Translated using Weblate (Finnish)
Currently translated at 93.9% (451 of 480 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2022-02-07 07:28:00 +01:00
Katto fe6ef29f75 Translated using Weblate (Estonian)
Currently translated at 97.7% (469 of 480 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2022-02-07 07:28:00 +01:00
Katto 152cf72e8a Translated using Weblate (Estonian)
Currently translated at 87.3% (69 of 79 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/et/
2022-02-07 07:28:00 +01:00
mondstern 4fd66a3830 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (477 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2022-02-07 07:27:59 +01:00
mondstern 9f715207e1 Translated using Weblate (Ukrainian)
Currently translated at 99.1% (473 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2022-02-07 07:27:59 +01:00
mondstern e63ddbc7ae Translated using Weblate (Slovak)
Currently translated at 99.5% (475 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sk/
2022-02-07 07:27:59 +01:00
mondstern 06e5545ac0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (477 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2022-02-07 07:27:59 +01:00
mondstern 65413e0304 Translated using Weblate (Polish)
Currently translated at 100.0% (477 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pl/
2022-02-07 07:27:59 +01:00
FTno 5e268463e1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (477 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-02-07 07:27:58 +01:00
mondstern d31ffad2c9 Translated using Weblate (Italian)
Currently translated at 100.0% (477 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2022-02-07 07:27:58 +01:00
mondstern 46925a4c67 Translated using Weblate (Galician)
Currently translated at 100.0% (477 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2022-02-07 07:27:58 +01:00
mondstern 2a1aeb5dd8 Translated using Weblate (French)
Currently translated at 100.0% (477 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2022-02-07 07:27:58 +01:00
mondstern 454d5d16b5 Translated using Weblate (Basque)
Currently translated at 100.0% (477 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/eu/
2022-02-07 07:27:58 +01:00
mondstern 45f51ff2dd Translated using Weblate (Estonian)
Currently translated at 98.5% (470 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2022-02-07 07:27:58 +01:00
Katto 785511913c Translated using Weblate (Estonian)
Currently translated at 98.5% (470 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2022-02-07 07:27:57 +01:00
mondstern b937e8ad9b Translated using Weblate (Spanish)
Currently translated at 100.0% (477 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2022-02-07 07:27:57 +01:00
mondstern 40534cd7f5 Translated using Weblate (Danish)
Currently translated at 100.0% (477 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/da/
2022-02-07 07:27:56 +01:00
mondstern f50b1c2f6c Translated using Weblate (Czech)
Currently translated at 100.0% (477 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2022-02-07 07:27:56 +01:00
dependabot[bot] 7c19621bfb Bump gradle from 7.1.0 to 7.1.1
Bumps gradle from 7.1.0 to 7.1.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 07:27:46 +01:00
Peter Storch 7c06327084 fix #1119 add new activities "swimming", "swimming open" and "workout" 2022-02-06 20:09:08 +01:00
Dennis Guse 19a958ccbb Cleanup. 2022-01-29 19:21:54 +01:00
Dennis Guse 2dc362c105 Cleanup. 2022-01-29 19:21:54 +01:00
Dennis Guse 708245bd50 TrackRecordingServices: managers register for sharedPreference changes. 2022-01-27 22:04:45 +01:00
Dennis Guse f4c07463b3 TrackDataHub: removed unused property. 2022-01-27 22:04:45 +01:00
Dennis Guse d8ffc1318f Refactor: move methods to NotificationManager. 2022-01-27 22:04:45 +01:00
Dennis Guse 5998f9127d TrackPointCreator needs to reset GPSHandler as it might have been running beforehand. 2022-01-27 22:04:45 +01:00
Dennis Guse 40fb9b05bc Lint: make missing plural quantity a warning as they have to be properly translated.
Occurred when upgrading to Android Gradle plugin 7.1.0.
2022-01-27 21:59:37 +01:00
Dennis Guse 8219bfe428 Remove unused plural.
Fixes #1105.
2022-01-27 21:59:37 +01:00
dependabot[bot] bcdea5b08b Bump preference from 1.1.1 to 1.2.0
Bumps preference from 1.1.1 to 1.2.0.

---
updated-dependencies:
- dependency-name: androidx.preference:preference
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-27 21:59:22 +01:00
dependabot[bot] 5e49a38dce Bump mockito-android from 4.3.0 to 4.3.1
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-26 19:58:16 +01:00
Dennis Guse 32e07c9d1f Reproducible builds: disable PNG crunching.
https://developer.android.com/studio/build/optimize-your-build#disable_crunching
2022-01-25 22:31:00 +01:00
Dennis Guse efc37527f3 Upgrade to Gradle 7.2/ Android Gradle Plugin 7.1. 2022-01-25 22:04:37 +01:00
dependabot[bot] 90a2710138 Bump mockito-android from 4.2.0 to 4.3.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-25 07:36:02 +01:00
Dennis Guse bf4dd96235 Update TrackPoint documentation. 2022-01-24 18:41:28 +01:00
Dennis Guse f578c6bc19 Release: v3.24.1 2022-01-23 21:17:57 +01:00
Dennis Guse a97bf6b883 Track name: use a short version of ISO8601.
Fixes #1093.
2022-01-23 21:04:08 +01:00
Dennis Guse 838f3dc622 Public API: enable other applications to start recordings.
Fixes #671.
2022-01-23 20:13:00 +01:00
Dennis Guse 8ae4d75708 Merge remote-tracking branch 'weblate/main' 2022-01-23 20:03:55 +01:00
mondstern 0c6813aca1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (477 of 477 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-01-22 12:41:41 +01:00
Dennis Guse 05bd2e6a71 Voice announcement: fix French seconds.
Fixes #1101.
2022-01-21 19:56:53 +01:00
mondstern 8cad813d56 Translated using Weblate (Ukrainian)
Currently translated at 98.3% (468 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2022-01-20 12:28:29 +01:00
mondstern 52626d5886 Translated using Weblate (Finnish)
Currently translated at 85.9% (409 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2022-01-20 12:28:29 +01:00
mondstern c238aa7c6d Translated using Weblate (Basque)
Currently translated at 100.0% (476 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/eu/
2022-01-20 12:28:29 +01:00
mondstern 019568144a Translated using Weblate (Danish)
Currently translated at 100.0% (476 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/da/
2022-01-20 12:28:29 +01:00
Dennis Guse 9abe3cf05b PTets: close cursors. 2022-01-20 12:28:23 +01:00
Peter Storch 1099102e29 Change handling of Uri and DocumentFile handling for #1080
The Uris from Intent.getData() and DocumentFile.getUri() seems to be different. I think PreferencesUtils should only work with the original Uri as well as the permission handling logic.

IntentUtils.toDocumentFile can be used to convert it to a DocumentFile later on to actually work with.

Adds "No file manager found" message if no activity with OPEN_DOCUMENT_TREE is found. #1095

Removed deprecation of `startActivityForResult`.
2022-01-19 22:26:52 +01:00
Dennis Guse f64c1feb1a Bugfix: prevent rare crash due to Actvity lifecycle events in AbstractTrackDeleteActivity. 2022-01-19 20:53:30 +01:00
Dennis Guse e1d3b04dd0 Bugfix: MediaPlayer creation might fail for ttsFallback.
Seen on a Fairphone 4.

Part of #963.
2022-01-16 21:39:16 +01:00
Dennis Guse 619b82a23e Package structure: moved functionality from FileUtils to MarkerUtils.
Part of #963.
2022-01-16 21:39:16 +01:00
Dennis Guse d18c67a648 Cleanup: MarkerEditActivity now uses ActivityResultLauncher and implemented onDestroy(). 2022-01-16 21:39:16 +01:00
Dennis Guse 0eda1eed1d Introduced value objects for heartrate, cadence, and power.
Fixes #896.
2022-01-16 15:30:08 +01:00
Dennis Guse 1df1fe699a Cleanup: removed unused parameter. 2022-01-16 15:30:08 +01:00
Dennis Guse 9a7183738f Update .gitignore 2022-01-16 15:20:17 +01:00
Dennis Guse 864bc8fad9 Cleanup. 2022-01-15 23:16:53 +01:00
Dennis Guse 5ea651d340 Merge pull request #1096 from OpenTracksApp/refactor#800
Refactoring package structure.
2022-01-15 22:59:19 +01:00
Dennis Guse 7484ab03ce Package structure: moved UI utils
Part of #963.
2022-01-15 22:40:03 +01:00
Dennis Guse 7caf33fb66 Package structure: moved share functionality.
Part of #963.
2022-01-15 22:28:47 +01:00
Dennis Guse 88c4e1a109 Package structure: moved sensors.
Part of #963.
2022-01-15 22:24:59 +01:00
Dennis Guse 0645628d7e Package structure: moved models and database.
Part of #963.
2022-01-15 22:24:59 +01:00
Dennis Guse cf993b73d7 Package structure: moved custom recording layout.
Part of #963.
2022-01-15 22:24:59 +01:00
Dennis Guse d49386259a Package structure: moved support files.
Part of #963.
2022-01-15 22:08:30 +01:00
Dennis Guse 10f00c4c99 Package structure: moved UI utilities.
Part of #963.
2022-01-15 22:08:30 +01:00
Dennis Guse 2ca69df447 Package structure: moved Marker UI code.
Part of #963.
2022-01-15 22:08:21 +01:00
Dennis Guse 1a125ca60d Package structure: moved aggregated statistics.
Part of #963.
2022-01-15 22:08:06 +01:00
Dennis Guse 5053c41bec Package structure: moved intervals.
Part of #963.
2022-01-15 22:07:53 +01:00
Dennis Guse 46cf7f9acf TrackRecordingServiceConnection: use a callback instead of a Runnable. 2022-01-15 20:53:46 +01:00
Dennis Guse 522d8b41d8 Bugfix: use monotonic clock.
Fixes #800.
2022-01-15 19:52:27 +01:00
Dennis Guse 43e1c99642 Refactoring package structure.
Part of #963.
2022-01-14 23:34:05 +01:00
mondstern 81d516d11a Translated using Weblate (Slovak)
Currently translated at 99.5% (474 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sk/
2022-01-14 07:25:36 +01:00
mondstern b8ce386556 Translated using Weblate (Slovak)
Currently translated at 72.0% (343 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sk/
2022-01-14 07:25:36 +01:00
mondstern bda8a9ea83 Translated using Weblate (Slovak)
Currently translated at 65.7% (313 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sk/
2022-01-14 07:25:36 +01:00
dependabot[bot] 79b3e4ea5b Bump material from 1.4.0 to 1.5.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.4.0...1.5.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 07:25:17 +01:00
dependabot[bot] 1e15222e99 Bump appcompat from 1.4.0 to 1.4.1
Bumps appcompat from 1.4.0 to 1.4.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 08:00:42 +01:00
Dennis Guse 58b1396d64 Refactoring package structure.
Part of #963.
2022-01-12 22:57:35 +01:00
Dennis Guse a9f1381dae Refactoring package structure.
Part of #963.
2022-01-12 22:42:23 +01:00
Dennis Guse e508c53ca9 TrackRecordingManager: store GPS-based TrackPoints based upon the distance to the previously stored GPS-based TrackPoint. 2022-01-12 18:07:48 +01:00
Dennis Guse d691c958b9 Cleanup: TrackRecordingManager should use onNewTrackPoint(). 2022-01-12 18:07:48 +01:00
Dennis Guse bc1edec372 Bugfix: ChartView needs data.
Fixes #1086.
2022-01-12 18:06:26 +01:00
Dennis Guse 11de7d5868 Cleanup. 2022-01-09 22:35:15 +01:00
Dennis Guse 44e8cd1491 Bugfix: TrackDataHub should abort processing if stopped. 2022-01-09 19:02:54 +01:00
Dennis Guse 9dac5d3e72 Release: v3.24.0 2022-01-09 18:39:08 +01:00
Dennis Guse cd7bf36aa9 TrackRecordingService: add integration tests. 2022-01-09 18:28:35 +01:00
Dennis Guse ab07d3b130 TrackRecordingService: re-worked TrackPoint recording tests for state changes. 2022-01-09 18:28:35 +01:00
Dennis Guse 8b5320e40e TrackRecordingService: cleanup tests. 2022-01-09 18:28:35 +01:00
Dennis Guse ef15632d7b TrackRecordingService: refactored and unified tests. 2022-01-09 18:28:35 +01:00
Dennis Guse f5ce76955b TrackRecordingService: add tests for state changes. 2022-01-09 18:28:35 +01:00
mondstern 3701b61852 Translated using Weblate (Spanish)
Currently translated at 91.0% (71 of 78 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/es/
2022-01-08 19:19:57 +01:00
mondstern 3b8a243f55 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (476 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2022-01-08 19:19:57 +01:00
mondstern e19f55a618 Translated using Weblate (Ukrainian)
Currently translated at 97.4% (464 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2022-01-08 19:19:57 +01:00
mondstern 9e6a787ed9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (476 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2022-01-08 19:19:57 +01:00
mondstern 9626c5dd0b Translated using Weblate (Polish)
Currently translated at 100.0% (476 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pl/
2022-01-08 19:19:57 +01:00
FTno 1e42ef5e6c Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (476 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-01-08 19:19:57 +01:00
mondstern e5792336a8 Translated using Weblate (Italian)
Currently translated at 100.0% (476 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2022-01-08 19:19:57 +01:00
Xosé M 9d4ec8ba2a Translated using Weblate (Galician)
Currently translated at 100.0% (476 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2022-01-08 19:19:56 +01:00
mondstern e928adf3b5 Translated using Weblate (French)
Currently translated at 100.0% (476 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2022-01-08 19:19:56 +01:00
mondstern f061243a7d Translated using Weblate (Estonian)
Currently translated at 100.0% (476 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2022-01-08 19:19:56 +01:00
mondstern 1d623a076f Translated using Weblate (Spanish)
Currently translated at 100.0% (476 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2022-01-08 19:19:56 +01:00
mondstern 13ed210933 Translated using Weblate (Czech)
Currently translated at 100.0% (476 of 476 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2022-01-08 19:19:56 +01:00
Román Ginés eba4918b01 StringUtilsTest.testFormatDateTime removed. Fixes #1082. 2022-01-08 19:19:45 +01:00
Dennis Guse 9bde8944b9 Workaround: Clock.systemUTC() seems to be not monotonic.
Introduced in 25e590da02
2022-01-06 22:12:53 +01:00
Dennis Guse 1163f74b98 SENSORPOINT and TRACKPOINT require a distance to be stored.
TrackRecording and TrackStatisticsUpdater.

Part of #500
Fixes #1074.
2022-01-06 22:12:53 +01:00
Dennis Guse c4b8082efc Bluetooth sensors: event-driven TrackPoint creation.
Part of #500.
2022-01-06 22:12:53 +01:00
Dennis Guse 1fb8fc6a09 Bugfix: GpxTrackImporter needs to reset data when it encounters a new TrackPoint; affected only sensor data. 2022-01-06 22:12:53 +01:00
Dennis Guse dbc29a88ce Cleanup: removed useless tests. 2022-01-06 22:12:53 +01:00
mondstern 05af52a21b Translated using Weblate (Ukrainian)
Currently translated at 97.4% (460 of 472 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2022-01-03 16:27:56 +01:00
mondstern 1a5de37f8a Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (472 of 472 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2022-01-03 16:27:56 +01:00
mondstern 015ddabf3a Translated using Weblate (French)
Currently translated at 100.0% (472 of 472 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2022-01-03 16:27:56 +01:00
mondstern 12a008a99a Translated using Weblate (Vietnamese)
Currently translated at 100.0% (472 of 472 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2022-01-03 16:27:56 +01:00
mondstern 99ccf65cc2 Translated using Weblate (Polish)
Currently translated at 100.0% (472 of 472 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pl/
2022-01-03 16:27:56 +01:00
FTno a159d4c375 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (472 of 472 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-01-03 16:27:55 +01:00
mondstern 01ac31716a Translated using Weblate (Italian)
Currently translated at 100.0% (472 of 472 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2022-01-03 16:27:55 +01:00
mondstern cfb2d0c2d3 Translated using Weblate (Estonian)
Currently translated at 100.0% (472 of 472 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2022-01-03 16:27:55 +01:00
mondstern c05fa638a0 Translated using Weblate (Czech)
Currently translated at 100.0% (472 of 472 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2022-01-03 16:27:55 +01:00
mondstern 519f2b016e Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (472 of 472 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2022-01-03 16:27:55 +01:00
Román Ginés 5cd6992c90 Proper handling of timezone data on UI. Fixes #301.
Details:
- Date and time handled by OffsetDateTime Java class.
- Track default name with offset (for date local and ISO 8601 options).
- TrackListActivity: shows relative today's date (like Today, Yesterday, 22 Dec, 22 Dec 2021, etc).
- StatisticsRecordedFragment: always shows the original date and time. For example, if you record an activity at 20h then it always will show 20h regardless the zone are where you are.
- Added new tests.
2022-01-03 16:27:40 +01:00
Peter Storch 1631836327 Try to takkle down export dir issues 2022-01-02 21:19:43 +01:00
Dennis Guse 07074ad260 TrackStatistics and ChartView: handle altitude and speed as optional with null as default value.
Then only the relevant part of the y-axis is shown.

Fixes #795.
2022-01-02 18:17:20 +01:00
Dennis Guse 8c20d5583a Charts: elevation is now optional.
Part of #500.
2022-01-02 18:17:20 +01:00
Xosé M 39bce2a487 Translated using Weblate (Galician)
Currently translated at 100.0% (472 of 472 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-12-30 12:16:45 +01:00
Dennis Guse a221194ab1 Translated using Weblate (German)
Currently translated at 89.5% (422 of 471 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-12-30 12:16:45 +01:00
Dennis Guse 55d3502ff9 Cleanup using AndroidStudio analyze. 2021-12-30 12:16:31 +01:00
Dennis Guse 0cd22a8ba0 README: add nightly repo. 2021-12-29 10:33:08 +01:00
Dennis Guse aff4bce3fe Cleanup: tests also should close cursors. 2021-12-28 23:17:52 +01:00
Dennis Guse bb290e2ee4 Settings: add option to disable filter of BLE sensors.
Fixes #1000.
2021-12-28 22:56:29 +01:00
Dennis Guse 6d04659370 Timezone support: store timezone offset per Track.
When a recording is started the offset of the phone is used.
Timezone is exported to KML and GPX.

Fixes #301.
2021-12-28 15:42:38 +01:00
Dennis Guse 7193171a09 Merge pull request #1033 from OpenTracksApp/indoor#500
Storing data from sensors without GPS
2021-12-28 14:24:57 +01:00
Dennis Guse 7d0d87e962 Tests: ServiceTestRule does not (always) restart the service.
Thus, resetting it's status is not happening and then leading to failures in subsequent tests.

Fixes #1058.
2021-12-28 13:05:24 +01:00
Dennis Guse d6cc7a0321 TrackPointCreator: only try fill TrackPoint with sensor data if started. 2021-12-28 13:05:24 +01:00
Dennis Guse c7bbaddc06 Cleanup: fix various issues in tests. 2021-12-28 13:05:24 +01:00
Dennis Guse 9af213fd12 Bugfix: selected interval may be null. 2021-12-28 13:05:24 +01:00
Dennis Guse 77f56a5376 Test: disable automatic creation of TrackPoints for tests.
Part of #500.
2021-12-28 13:05:24 +01:00
Dennis Guse ea5ac186d0 README: add sensor-only feature.
Part of #500.
2021-12-28 13:05:24 +01:00
Dennis Guse 84c51ba8bb GPX: export cumulative sensor data from SENSORPOINTs.
Part of #500.
2021-12-28 13:05:24 +01:00
Dennis Guse 89f9f25c55 GPX: export track statistics using TrackStatsExtensionv1.
Fixes #652.
2021-12-28 13:05:24 +01:00
Dennis Guse f8cc257895 KMZ/KML: Export/Import SENSORPOINTs.
Part of #500.
2021-12-28 13:05:23 +01:00
Dennis Guse ba66c45005 Recording data from BLE sensors alone (need to provide distance).
GPS is optional in this case, but no coordinates will be available.

Naive implementation tries to store data every second using the UI timer.

Part of #500.
2021-12-28 13:05:23 +01:00
Dennis Guse 24b638aa30 Add TrackPoint type for BLE sensor only data (i.e., no GPS).
Part of #500.
2021-12-28 13:05:23 +01:00
Dennis Guse 45125bcda3 Refactor: rename LocationHandler to GPSHandler. 2021-12-28 13:05:23 +01:00
Dennis Guse 3359a30907 TrackRecordingService: first process the TrackPoint, then update the notification. 2021-12-28 13:05:23 +01:00
dependabot[bot] 6f822afc71 Bump reactivecircus/android-emulator-runner from 2.21.0 to 2.22.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.21.0 to 2.22.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.21.0...v2.22.0)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-27 06:44:32 +01:00
Dennis Guse 230e97147c Update bug report template. 2021-12-25 19:54:59 +01:00
Román Ginés b4ce99440a AggregatedStatisticsActivity: added filter option (by category, start and/or end date).
Fixes #1039.
2021-12-24 11:50:32 +01:00
Dennis Guse 4d333bbafa Merge pull request #1056 from OpenTracksApp/whaoo#1050 2021-12-22 22:29:09 +01:00
Dennis Guse 0ee1c77680 Sensors: added Wahoo Blue SC. 2021-12-22 22:27:25 +01:00
Dennis Guse 183b47a1ea Release: v3.23.0 2021-12-21 22:48:35 +01:00
Dennis Guse 6fe6cee475 BLE: CSC remove workarounds as those are not necessary.
The implementation of OpenTracks for the CSC parsing was broken and fixed in 35de5b6b26

Fixes #1046.
2021-12-21 22:00:38 +01:00
Dennis Guse 52228d44a9 Cleanup. 2021-12-21 21:55:41 +01:00
mondstern bc84e8cb9a Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (466 of 466 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-12-21 20:53:19 +01:00
mondstern fb9e67ae85 Translated using Weblate (Estonian)
Currently translated at 100.0% (466 of 466 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2021-12-21 20:53:19 +01:00
mondstern 8877f3fe14 Translated using Weblate (Czech)
Currently translated at 100.0% (466 of 466 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-12-21 20:53:18 +01:00
mondstern 963a37b877 Translated using Weblate (Italian)
Currently translated at 100.0% (466 of 466 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2021-12-21 20:53:18 +01:00
Dennis Guse 3be1348df1 Merge pull request #1047 from OpenTracksApp/movingTime#1046
Restore moving time implementation via idle/non-idle TrackPoints.
Fixes #1046.
2021-12-21 20:52:59 +01:00
Dennis Guse 530967f4f6 Moving time: disable test on API23. 2021-12-21 17:46:23 +01:00
Dennis Guse 25e590da02 Moving time: re-implement idle/non-idle TrackPoints.
Simplify computation of TrackStatistics.

Part of #1046.
2021-12-19 22:01:35 +01:00
Dennis Guse 0be4b25508 Moving time: fix test.
Part of #1046.
2021-12-19 21:56:53 +01:00
Dennis Guse 4c7d9384fb Revert "Only record a TrackPoint if the traveled distance is greater than recording distance interval."
This reverts commit 08ba7d50c7.

Fix #1046.
2021-12-19 21:56:53 +01:00
Dennis Guse 101701c6ff CI: use Android 23 and 30. 2021-12-19 21:56:39 +01:00
Allan Nordhøy 8f003e2f7f Fastlane: reworked description 2021-12-19 21:54:55 +01:00
Dennis Guse 03d825d2ec Cleanup: reference resources manually. 2021-12-19 21:54:13 +01:00
dependabot[bot] 0977d34889 Bump mockito-android from 4.1.0 to 4.2.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-17 07:41:26 +01:00
Quang Trung 6dee9884ff Translated using Weblate (Vietnamese)
Currently translated at 100.0% (466 of 466 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-12-15 21:39:24 +01:00
ThePPK 7b44b42def Translated using Weblate (Polish)
Currently translated at 92.2% (71 of 77 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/pl/
2021-12-15 21:39:24 +01:00
ThePPK ad712f28c6 Translated using Weblate (Polish)
Currently translated at 100.0% (466 of 466 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pl/
2021-12-15 21:39:24 +01:00
Peter Storch b287967bc4 fix persistable directory permissions 2021-12-15 21:39:10 +01:00
dependabot[bot] 29c72802aa Bump orchestrator from 1.4.0 to 1.4.1
Bumps orchestrator from 1.4.0 to 1.4.1.

---
updated-dependencies:
- dependency-name: androidx.test:orchestrator
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 08:07:06 +01:00
FTno f5241e8046 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (466 of 466 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-12-13 18:21:06 +01:00
Xosé M 1e720b2fa7 Translated using Weblate (Galician)
Currently translated at 100.0% (466 of 466 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-12-13 18:21:06 +01:00
Román Martínez 19382f19c4 Aggregated stats for only selected tracks. 2021-12-12 21:38:08 +01:00
Dennis Guse 14b8ab21db Add Github funding 2021-12-09 17:25:33 +01:00
dependabot[bot] 00b0e1face Bump gradle from 7.0.3 to 7.0.4
Bumps gradle from 7.0.3 to 7.0.4.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-09 08:15:48 +01:00
Román Martínez 7f9057c519 Added profiles for custom layouts.
Users can add severals custom layouts and select one of them in recording fragment. The last selected layout is the one that will be use in the next recording.
Fixes #938.
2021-12-07 18:07:25 +01:00
Dennis Guse 02cec48ae4 Merge pull request #1036 from OpenTracksApp/npe#1035
Fix NPE #1035
2021-12-04 22:23:27 +01:00
Dennis Guse 0d45efdf07 Cleanup. 2021-12-04 21:47:43 +01:00
Dennis Guse b6d935cf34 Bugfix: prevent NPE as handler should not be executed anymore.
Fixes #1035.
2021-12-04 21:47:43 +01:00
mondstern 3228f58187 Translated using Weblate (Estonian)
Currently translated at 100.0% (457 of 457 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2021-12-03 19:06:43 +01:00
Dennis Guse 1e27542aea Bugfix: free memory in onDestroy(). 2021-11-29 21:33:12 +01:00
mondstern fd7892bdf7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (457 of 457 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-11-29 08:15:25 +01:00
mondstern 2ae8a753c9 Translated using Weblate (Estonian)
Currently translated at 99.1% (453 of 457 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2021-11-29 08:15:25 +01:00
Peter Storch bb7efaa87c fix #1025 exportdir failed to create document
fix #254 illegal filename characters
2021-11-29 08:15:08 +01:00
mondstern 2eab7425f2 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (457 of 457 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-11-26 23:06:46 +01:00
FTno a19bbd6153 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (457 of 457 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-11-26 23:06:45 +01:00
mondstern b523b8af9e Translated using Weblate (French)
Currently translated at 92.2% (71 of 77 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/fr/
2021-11-24 20:06:44 +01:00
mondstern e9a71a10f6 Translated using Weblate (Vietnamese)
Currently translated at 97.1% (444 of 457 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-11-24 20:06:43 +01:00
silkevicious a0d69b589b Translated using Weblate (Italian)
Currently translated at 100.0% (457 of 457 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2021-11-24 20:06:42 +01:00
mondstern 71af495835 Translated using Weblate (French)
Currently translated at 100.0% (457 of 457 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-11-24 20:06:41 +01:00
mondstern ed4fb30b35 Translated using Weblate (Czech)
Currently translated at 100.0% (457 of 457 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-11-24 20:06:40 +01:00
mondstern 7f1c014bf8 Translated using Weblate (Galician)
Currently translated at 100.0% (457 of 457 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-11-24 00:06:57 +01:00
FTno affa72fad7 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (457 of 457 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-11-22 18:24:14 +01:00
FTno 14a14cd91f Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-11-22 18:24:14 +01:00
dependabot[bot] ff89d2c5ec Bump mockito-android from 4.0.0 to 4.1.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 18:24:07 +01:00
Peter Storch 54f1690478 Change versionCode for nightlies to commit count 2021-11-20 23:25:17 +01:00
Dennis Guse 681058c3e6 i18n: move translatable settings strings into strings.xml 2021-11-20 22:05:08 +01:00
Dennis Guse d93e025963 BLE sensors: clear data when disconnected.
Part of #1027.
2021-11-20 19:43:38 +01:00
Dennis Guse 1f0a99c49a Recording: ignore TrackPoints that contain sensor data and do not fulfill recording distance interval.
Follow-up to 08ba7d50c7

Part of #1027.
2021-11-20 19:43:38 +01:00
Román Martínez 976d4f848f Bugfixed: illegal state exception crashed fixed. Fixes #1022. 2021-11-18 17:15:53 +01:00
dependabot[bot] 540a3340b3 Bump appcompat from 1.3.1 to 1.4.0
Bumps appcompat from 1.3.1 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-18 12:06:56 +01:00
mondstern 2b4c68f3ec Translated using Weblate (Vietnamese)
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-11-16 22:42:36 +01:00
mondstern 90d55e419e Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-11-16 22:42:36 +01:00
mondstern ac31f4fd6a Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-11-16 22:42:36 +01:00
mondstern 32a75bb479 Translated using Weblate (Galician)
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-11-16 22:42:36 +01:00
mondstern d32f1e05ec Translated using Weblate (French)
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-11-16 22:42:36 +01:00
mondstern defd6aed85 Translated using Weblate (Spanish)
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2021-11-16 22:42:36 +01:00
vsevjednom-cz 7463dc703c Translated using Weblate (Czech)
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-11-16 22:42:36 +01:00
mondstern 2ab04da936 Translated using Weblate (Czech)
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-11-16 22:42:36 +01:00
Dennis Guse 6b84d3b9ba Nightly build: icon has now a black background.
Fixes #952.
2021-11-16 22:42:30 +01:00
vsevjednom-cz 78b57cdc67 Voice announcements: normalize non-TTS audio replacement 2021-11-15 22:40:30 +01:00
Dennis Guse 35de5b6b26 Cleanup: BLE cycling speed/distance sensor parsing should be the other way around./
Was seemingly still working...
2021-11-15 18:53:14 +01:00
Dennis Guse d6da5f0862 Release: v3.22.0 2021-11-14 21:28:31 +01:00
Dennis Guse c3d55127fe Bugfix: running sensor data total is distance is UINT_32. 2021-11-14 21:20:24 +01:00
Román Martínez b1032f898a New field for recording layout: clock.
With this change fields can be: short, wide, clock short or clock wide.
Fixes #1015.
2021-11-14 16:27:37 +01:00
Dennis Guse d4a3762641 Merge remote-tracking branch 'weblate/main' 2021-11-13 20:10:19 +01:00
Dennis Guse ce5eec6a68 Bugfix: prevent NPE when disabling voice announcements while recording.
Fixes #940.
2021-11-13 20:07:32 +01:00
FTno cf71829bec Translated using Weblate (Norwegian Bokmål)
Currently translated at 92.1% (70 of 76 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/nb_NO/
2021-11-11 08:50:24 +01:00
FTno 39606ccd9f Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-11-11 08:50:24 +01:00
Dennis Guse 9dd67e4db7 CI: nightly build with flexible file names. 2021-11-11 08:50:02 +01:00
Peter Storch 212345dea1 Set distinct versionCode and name for nightlies 2021-11-11 08:50:02 +01:00
Dennis Guse 08ba7d50c7 Only record a TrackPoint if the traveled distance is greater than recording distance interval.
Code seemed to be a leftover from the removed idle/non-idle functionality.

Fixed #1007.

Co-authored-by: vlmendz <91810638+vlmendz@users.noreply.github.com>
2021-11-08 22:42:14 +01:00
Dennis Guse 62401b2c5c Cleanup. 2021-11-07 22:19:02 +01:00
Dennis Guse 7cfdacecc3 UI: Remove "Sensor:" prefix from speed description. 2021-11-07 17:58:28 +01:00
mondstern 8f2e234c63 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-11-04 23:06:38 +01:00
mondstern dcd101a20a Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-11-04 23:06:38 +01:00
mondstern cb5f3ace5a Translated using Weblate (Galician)
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-11-04 23:06:37 +01:00
mondstern 8e889fbce2 Translated using Weblate (Czech)
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-11-04 23:06:36 +01:00
mondstern ec390c4a81 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (439 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-11-04 01:55:09 +01:00
Vinicius 30e9e930ab Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.7% (438 of 439 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-11-03 06:08:52 +01:00
mondstern 3719d9ac8f Translated using Weblate (Czech)
Currently translated at 98.8% (429 of 434 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-11-03 06:08:51 +01:00
dependabot[bot] e33cfa8666 Bump actions/checkout from 2.3.5 to 2.4.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-03 06:08:33 +01:00
Dennis Guse 8ff1db6a23 README: add link to Amazon App Store 2021-11-02 22:03:09 +01:00
Dennis Guse a9228017fc Setting: add option to adjust idle speed.
New default: 0.5km/h (replaces 0.5mp/h).

Fixes #1004.
2021-11-01 22:36:29 +01:00
Román Martínez 41e5e71804 Bugfix: intervals expected gain and loss to be null or not (both or neither). But only one of them could be null. Fixes #996. 2021-10-31 18:12:28 +01:00
Dennis Guse 9f858168f8 Release: v3.21.0 2021-10-29 07:54:59 +02:00
Andrij Mizyk cfdcea2d88 Translated using Weblate (Ukrainian)
Currently translated at 92.6% (402 of 434 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2021-10-29 05:58:50 +02:00
Quang Trung 2d2db41c5d Translated using Weblate (Vietnamese)
Currently translated at 100.0% (434 of 434 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-10-29 05:58:50 +02:00
Xosé M 2c73d0645a Translated using Weblate (Galician)
Currently translated at 100.0% (434 of 434 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-10-29 05:58:50 +02:00
☆Verdulo ed1027eccc Translated using Weblate (Esperanto)
Currently translated at 92.0% (69 of 75 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/eo/
2021-10-29 05:58:49 +02:00
Dennis Guse 0dec17eba5 Bugfix: prevent NPE in onDestroy. 2021-10-29 05:58:22 +02:00
dependabot[bot] 774d701a09 Bump reactivecircus/android-emulator-runner from 2.20.0 to 2.21.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.20.0 to 2.21.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.20.0...v2.21.0)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 20:18:39 +02:00
Dennis Guse 23bcbf09a5 GPX importer supports speed without namespace (compatibility with other tools).
Fixed #774.
2021-10-20 21:50:51 +02:00
Dennis Guse 115966cbdf Bugfix: NPE using a cycling sensor. 2021-10-20 19:44:47 +02:00
Dennis Guse 1862bcc6f4 Cleanup. 2021-10-19 17:53:08 +02:00
Dennis Guse 900910e9f7 While recording: show cadence and speed from different sensor types correctly.
Fixes #970.
2021-10-19 17:53:08 +02:00
Dennis Guse 45571c68c9 Rename TrackPoint's cycling cadence to cadence as it may contain running data.
Part of #970.
2021-10-19 17:53:08 +02:00
Román Martínez 083b620e41 GPS data recording: remove idle/non-idle changes due to reported speed greater than 0.5mph.
This avoids that to storing GPS locations if the user r actually is not moving (likely bad GPS reception).

Fixes #968.

Co-authored-by: vlmendz <91810638+vlmendz@users.noreply.github.com>
Co-authored-by: Dennis Guse <dennis.guse@alumni.tu-berlin.de>
2021-10-18 23:26:07 +02:00
Dennis Guse 2f7a56bb17 Bugfix: importing files without speed resulted in moving time 0s and max speed of 0.
Fixes #982.
2021-10-18 18:41:53 +02:00
dependabot[bot] d8988663cb Bump actions/checkout from 2.3.4 to 2.3.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 12:42:34 +02:00
FTno c742dae6e0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (434 of 434 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-10-16 10:23:21 +02:00
FTno 292437e6bd Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (429 of 429 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-10-16 10:23:20 +02:00
J. Lavoie 8e9cde7222 Translated using Weblate (French)
Currently translated at 100.0% (429 of 429 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-10-16 10:23:20 +02:00
Dennis Guse d07ab3cc22 TrackRecordingManager: do not store altitude changes twice (previous …
…TrackPoint's storage was delayed).

Fixes #969.
2021-10-16 10:23:09 +02:00
Dennis Guse 90493ae498 TrackRecordingManager: do not store sensor distance twice (previous TrackPoint's storage was delayed).
Fixes #969.
2021-10-16 10:23:09 +02:00
Dennis Guse f6b994572a TrackRecordingManager: cache last stored TrackPoint. 2021-10-16 10:23:09 +02:00
Dennis Guse 24826ff442 TrackRecordingManager: cleanup. 2021-10-16 10:23:09 +02:00
Dennis Guse d97e5ab1ef TrackRecordingManager: only keep lastTrackPoint if was not stored. 2021-10-16 10:23:09 +02:00
Dennis Guse 52a110d998 Bugfix: reset on SensorDataSet should only take place if the TrackPoint was stored
Fixes #969.
2021-10-16 10:23:09 +02:00
Román Martínez 12e18b0bcd Bugfix: activity type preference has to update the icon when user change the activity type. Fixes #985. 2021-10-15 22:16:17 +02:00
Román Martínez 66dac4b0ca Reorganize settings into multiple pages. The main page has icons, titles and summaries. Fixes #960. 2021-10-15 22:04:54 +02:00
Dennis Guse 1bb8cbb82a Running sensor Stryd works.
Fixes #962.
2021-10-15 07:57:29 +02:00
Dennis Guse 2f5b7b63e4 Opening from notification: pressing back goes to TrackListActivity.
Fixes #928.
2021-10-14 18:33:44 +02:00
Ristello 58ca78b976 Removed interface AppConfig, since it is technically not needed. 2021-10-13 22:02:38 +02:00
Ristello 8079a25a42 Use an in-memory database when running instrumented tests.
- added new TestRunner and new TestApplication
- The TestRunner loads TestApplication as the apps Application instance when running the tests
- added new interface AppConfig to retrieve the database name
- changed Startup (Application) so that it implements AppConfig
- changed CustomSQLiteOpenHelper so that it retrieves the database name from the Application instance
- Startup provides the production database name
- TestApplication provides null which yields an in-mememory database
2021-10-13 22:02:38 +02:00
Dennis Guse 0527e4ab14 Cleanup: move AnnouncementUtils to VoiceAnnouncement.
Part of #963
2021-10-12 22:24:51 +02:00
Dennis Guse b6b4c5aa39 Cleanup: move PreferencesUtils into settings package.
Part of #963
2021-10-12 22:24:51 +02:00
Dennis Guse 8c5c9d7947 Cleanup: extract preference functionality from StringUtils to PreferenceHelper.
Part of #963.
2021-10-12 22:24:51 +02:00
Dennis Guse eac3d4b3db Cleanup: SharedPreference as static variable.
Fixes #961.
2021-10-12 22:24:51 +02:00
dependabot[bot] d7bc550b29 Bump gradle from 7.0.2 to 7.0.3
Bumps gradle from 7.0.2 to 7.0.3.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 22:16:13 +02:00
Dennis Guse d76d5673a8 Bugfix: running sensor's data should be null if not connected.
Fixes #950.
2021-10-09 14:24:50 +02:00
dependabot[bot] 847be686ea Bump mockito-android from 3.12.4 to 4.0.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.12.4 to 4.0.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.4...v4.0.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 07:12:11 +02:00
Dennis Guse 1e3445cfa2 Nightly build: app name with suffix.
Part of #952.
2021-10-05 19:23:00 +02:00
Román Martínez d0f7939f1a Added phones with barometric sensor information. 2021-10-01 16:16:16 +02:00
vsevjednom-cz 000b8149f8 Translated using Weblate (Czech)
Currently translated at 99.0% (425 of 429 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-09-28 11:06:25 +02:00
Quang Trung 05ffa5a373 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (429 of 429 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-09-25 00:06:30 +02:00
Vinicius e92f1107aa Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (429 of 429 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-09-25 00:06:30 +02:00
Quang Trung 2ad1fab670 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (427 of 427 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-09-22 22:30:43 +02:00
mondstern 8c04129ef9 Translated using Weblate (Vietnamese)
Currently translated at 98.3% (420 of 427 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-09-22 22:30:43 +02:00
Mario 400d9fe948 Translated using Weblate (Spanish)
Currently translated at 100.0% (427 of 427 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2021-09-22 22:30:42 +02:00
Mario 5d79510750 Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (427 of 427 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es_419/
2021-09-22 22:30:42 +02:00
vsevjednom-cz 18bb64580f Translated using Weblate (Slovak)
Currently translated at 71.6% (306 of 427 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sk/
2021-09-22 22:30:42 +02:00
vsevjednom-cz 7adebfc0d1 Translated using Weblate (Czech)
Currently translated at 97.8% (418 of 427 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-09-22 22:30:42 +02:00
Román Martínez 2178ff97d3 Release: v3.20.2 2021-09-22 22:30:16 +02:00
Timo Schwarzer f070495fb4 Ask for permission before using Bluetooth 2021-09-22 22:14:53 +02:00
Román Martínez d99fb5ea47 Cadence set to 0 when connected but user is not pedaling. Fixes #931.
Speed set to 0 when connected but last value is outdated. Fixes #930.
Bug: overflow when reset sensors (cadence and speed). Fixes #833.
Moving time stops when is not moving (the last track point is not moving) and restarts when last track point is moving.
2021-09-21 18:07:23 +02:00
Román Martínez d69a726e0e Renaming variables. 2021-09-18 16:17:29 +02:00
Román Martínez e0111c2ffd Gain and loss are integers. 2021-09-18 16:17:29 +02:00
Timo Schwarzer 487bd6c3a0 Set FLAG_IMMUTABLE for PendingIntents
This fixes a crash on Android 12, since it explicitly requires setting either FLAG_MUTABLE or FLAG_IMMUTABLE
2021-09-07 23:18:14 +02:00
Román Martínez 40aab9444a Time interval setting is in minutes. 2021-09-06 22:06:48 +02:00
Dennis Guse 82b460b57b Release: v3.20.1 2021-09-03 19:46:51 +02:00
Mario 68baad16e2 Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (427 of 427 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es_419/
2021-09-02 21:55:28 +02:00
Dennis Guse 26ed9b24d3 CI: build nightly on push.
Fixes #894.
2021-09-02 21:55:25 +02:00
dependabot[bot] 9f6089e7f1 Bump gradle from 7.0.1 to 7.0.2
Bumps gradle from 7.0.1 to 7.0.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 21:55:15 +02:00
FTno d0eef44bf8 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (427 of 427 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-08-31 08:45:48 +02:00
Mario eead3b5721 Translated using Weblate (Spanish)
Currently translated at 100.0% (427 of 427 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2021-08-31 06:47:45 +02:00
Mario b8f0c59198 Translated using Weblate (Spanish (Latin America))
Currently translated at 99.5% (425 of 427 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es_419/
2021-08-31 06:47:45 +02:00
vsevjednom-cz 8f408dceba Translated using Weblate (Slovak)
Currently translated at 68.7% (292 of 425 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sk/
2021-08-31 06:47:45 +02:00
vsevjednom-cz d1dfaa5443 Translated using Weblate (Czech)
Currently translated at 96.7% (411 of 425 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-08-31 06:47:45 +02:00
vsevjednom-cz b2da849e25 Translated using Weblate (Czech)
Currently translated at 95.7% (407 of 425 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-08-31 06:47:45 +02:00
Xosé M 88579be0a2 Translated using Weblate (Galician)
Currently translated at 100.0% (427 of 427 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-08-31 06:47:45 +02:00
FTno 70d971d8fd Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (427 of 427 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-08-31 06:47:45 +02:00
mondstern 70b0dac4b6 Translated using Weblate (Tagalog)
Currently translated at 72.7% (297 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/tl/
2021-08-31 06:47:45 +02:00
Carl Dea 038e8d3e06 Using Zulu builds of OpenJDK in GH actions
The AdoptOpenJDK has been discontinued since July 2021. When using Zulu you get all the latest updated (TCK Tested) builds for all versions of OpenJDK.
2021-08-31 06:46:34 +02:00
Dennis Guse 932bb5ed5a KMLTrackExporter: uses NumberFormat to export sensor data.
Fixes #832.
2021-08-30 17:48:01 +02:00
Dennis Guse 8f2d1722ad Announcements: can be triggered by time and distance (instead of either).
Fixes #921.
2021-08-30 17:24:51 +02:00
Dennis Guse 9cb3d8c1bb Finished renaming: TrackPointCreator was still referenced as HandlerServer. 2021-08-30 17:24:51 +02:00
Dennis Guse fa02ba9c69 Voice announcements: if TTS is not available play a sound file.
Fixes #862.
2021-08-30 17:24:51 +02:00
Dennis Guse 4f31607e3e Voice announcements are now triggered by the TrackRecordingService's timer that is also used for UI updates. 2021-08-30 17:24:51 +02:00
Dennis Guse b5165de7f0 PeriodicTaskExecutor: use a Handler instead of Timer. 2021-08-30 17:24:51 +02:00
Dennis Guse b32e87e10b PeriodTaskFactory: refactor interfaces. 2021-08-30 17:24:51 +02:00
dependabot[bot] 29a1daa177 Bump reactivecircus/android-emulator-runner from 2.19.1 to 2.20.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.19.1 to 2.20.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.19.1...v2.20.0)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 17:23:53 +02:00
Dennis Guse d5cfd118f6 Cleanup. 2021-08-28 19:00:06 +02:00
Dennis Guse 5981340bb9 TrackRecordingManager: only keeps reference to TrackId. 2021-08-28 19:00:06 +02:00
dependabot[bot] f562d51d9a Bump mockito-android from 3.12.3 to 3.12.4
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.12.3 to 3.12.4.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.3...v3.12.4)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-26 12:15:22 +02:00
Dennis Guse d77b9243af RecordingStatus provides methods for status changes. 2021-08-25 22:58:45 +02:00
dependabot[bot] 2c7e665206 Bump mockito-android from 3.12.1 to 3.12.3
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.12.1 to 3.12.3.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.1...v3.12.3)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-25 07:00:23 +02:00
Dennis Guse 1aa6b94f19 Revert "Translated using Weblate (Slovenian)"
This reverts commit 8f39bf13
2021-08-24 18:38:12 +02:00
Dennis Guse 68c447f77e Removed AdaptiveLocationListenerPolicy.
Fixes #886.
2021-08-24 18:26:09 +02:00
Román Martínez 6b3a2eae5e Added Garmin HRM-Dual heart rate sensor 2021-08-23 13:13:11 +02:00
dependabot[bot] 3869dba72b Bump mockito-android from 3.12.0 to 3.12.1
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.0...v3.12.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 12:02:42 +02:00
Dennis Guse 5594a125d0 Release: v3.20.0 2021-08-22 22:08:23 +02:00
Román Martínez 13380afef0 TrackRecordingManager only updates track's statistics every time a new track point is inserted. Fixes #916. 2021-08-22 20:01:38 +02:00
Román Martínez 9c4c8131f5 Recording stats layout customizable.
Users can select the order, visibility and importance (primary or secondary) of all stats for recording layout from the Settings.
Also, users can select the number of columns per row in the recording layout: 1, 2 or 3.
Finally, show altitude/coordinate from settings have been removed (not needed anymore).
Fixes #659.
Fixes #302.
Fixes #820.
2021-08-21 19:40:31 +02:00
dependabot[bot] 7f10ae5c3f Bump mockito-android from 3.10.0 to 3.12.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.10.0 to 3.12.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.10.0...v3.12.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-20 07:37:15 +02:00
dependabot[bot] 1fa45a3393 Bump gradle from 7.0.0 to 7.0.1
Bumps gradle from 7.0.0 to 7.0.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-19 10:11:22 +02:00
Dennis Guse f1b0c83196 Merge branch 'translations' 2021-08-16 22:17:29 +02:00
Dennis Guse f0f7bca54b Translations: fix fr. 2021-08-16 22:16:58 +02:00
mondstern 8f39bf139c Translated using Weblate (Slovenian)
Currently translated at 71.5% (292 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sl/
2021-08-16 22:15:27 +02:00
mondstern 85585969bd Translated using Weblate (Russian)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ru/
2021-08-16 22:15:27 +02:00
mondstern 976e7be370 Translated using Weblate (French)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-08-16 22:15:27 +02:00
Jaroslav Lichtblau 48dc64d4d7 Translated using Weblate (Czech)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-08-16 22:15:27 +02:00
Pablo 16e69e850b Translated using Weblate (Spanish (Latin America))
Currently translated at 98.2% (401 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es_419/
2021-08-16 22:15:27 +02:00
FTno 5ece301ac0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.5% (70 of 71 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/nb_NO/
2021-08-16 22:15:27 +02:00
☆Verdulo a5e500cdb1 Translated using Weblate (Esperanto)
Currently translated at 97.1% (69 of 71 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/eo/
2021-08-16 22:15:27 +02:00
Román Martínez 8433ed82fe Release: v3.19.1 2021-08-15 20:19:08 +02:00
Dennis Guse 7c7defa233 Merge pull request #912 from OpenTracksApp/raceCondition
Bugfix: LocationHandler should ignore locations after stopping.
2021-08-15 15:53:30 +02:00
Dennis Guse 1f84e44a8d Bugfix: LocationHandler should ignore locations after stopping. 2021-08-15 14:30:57 +02:00
Dennis Guse 858a8f20a8 Merge pull request #910 from OpenTracksApp/translations
Translations
2021-08-14 20:36:20 +02:00
Dennis Guse 6761c41dbf Translations: removed invalid plurals. 2021-08-14 19:46:40 +02:00
FTno 59e55be214 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.5% (70 of 71 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/nb_NO/
2021-08-09 20:06:09 +02:00
☆Verdulo 1b68cba1ba Translated using Weblate (Esperanto)
Currently translated at 97.1% (69 of 71 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/eo/
2021-08-09 20:06:08 +02:00
mondstern 32f47340a9 Translated using Weblate (Latvian)
Currently translated at 99.0% (404 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/lv/
2021-08-09 20:06:07 +02:00
mondstern e25814c674 Translated using Weblate (Lithuanian)
Currently translated at 98.2% (401 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/lt/
2021-08-09 20:06:05 +02:00
FTno 522baa5193 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-08-09 11:54:21 +02:00
mondstern b597b56b84 Translated using Weblate (Romanian)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ro/
2021-08-07 19:37:23 +02:00
mondstern d956e8d3f0 Translated using Weblate (Romanian)
Currently translated at 99.0% (404 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ro/
2021-08-07 19:37:23 +02:00
mondstern 274781ccfa Translated using Weblate (Romanian)
Currently translated at 83.3% (340 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ro/
2021-08-07 19:37:23 +02:00
mondstern e7e3ef23ff Translated using Weblate (Lithuanian)
Currently translated at 97.5% (398 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/lt/
2021-08-07 19:37:23 +02:00
Quang Trung 3289fa27e4 Translated using Weblate (Vietnamese)
Currently translated at 88.7% (362 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-08-07 19:37:23 +02:00
mondstern 96fc074a4b Translated using Weblate (Ukrainian)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2021-08-07 19:37:23 +02:00
mondstern eaab09747c Translated using Weblate (Swedish)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sv/
2021-08-07 19:37:23 +02:00
mondstern bdb2a9dbc6 Translated using Weblate (Russian)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ru/
2021-08-07 19:37:23 +02:00
mondstern 7e26571124 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-08-07 19:37:23 +02:00
mondstern 33b23a6e8f Translated using Weblate (Polish)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pl/
2021-08-07 19:37:23 +02:00
mondstern 584adc7c57 Translated using Weblate (Dutch)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nl/
2021-08-07 19:37:23 +02:00
mondstern 667da76c4f Translated using Weblate (Italian)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2021-08-07 19:37:23 +02:00
mondstern df6a3a7f04 Translated using Weblate (Hungarian)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/hu/
2021-08-07 19:37:23 +02:00
mondstern b254f5e40b Translated using Weblate (Galician)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-08-07 19:37:23 +02:00
mondstern 7a9c3efb3b Translated using Weblate (French)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-08-07 19:37:23 +02:00
mondstern 53dd7ada1f Translated using Weblate (Finnish)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2021-08-07 19:37:23 +02:00
mondstern 6a5edcbdef Translated using Weblate (Basque)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/eu/
2021-08-07 19:37:23 +02:00
mondstern 6e954261bb Translated using Weblate (Estonian)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2021-08-07 19:37:23 +02:00
mondstern 277061ad27 Translated using Weblate (Spanish)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2021-08-07 19:37:23 +02:00
mondstern c03f9fc792 Translated using Weblate (Danish)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/da/
2021-08-07 19:37:23 +02:00
mondstern 657b82b57a Translated using Weblate (Czech)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-08-07 19:37:23 +02:00
mondstern 4608edec56 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/bg/
2021-08-07 19:37:23 +02:00
FTno b086c30696 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-08-07 19:37:23 +02:00
mondstern 7eca033a8e Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (408 of 408 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-08-07 19:37:23 +02:00
Dennis Guse 6f3efd9ff2 Bugfix: reset TrackRecordingManager properly.
Fixes #901.
2021-08-07 19:37:14 +02:00
A Rabbit 7a2741e508 Fix: README 2021-08-06 16:42:22 +02:00
Román Martínez 017eee8b68 Bugfix: generated fields for include and merge tags. Fixes #902. 2021-08-05 18:01:34 +02:00
Dennis Guse 024d7f8652 PlayStore: describe metadata upload. 2021-08-04 17:11:29 +02:00
Dennis Guse 05c3a89682 Release: v3.19.0 2021-08-01 18:53:12 +02:00
Dennis Guse a3872581bb Cleanup: Renamed HandlerServer to TrackPointCreator. 2021-08-01 18:40:38 +02:00
Dennis Guse e75451dab3 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (407 of 407 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2021-08-01 18:22:52 +02:00
Dennis Guse 2897171132 Translated using Weblate (Thai)
Currently translated at 71.7% (292 of 407 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/th/
2021-08-01 18:22:51 +02:00
Dennis Guse ed2f506b7b Translated using Weblate (Serbian)
Currently translated at 71.0% (289 of 407 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sr/
2021-08-01 18:22:51 +02:00
Dennis Guse 1e2ba3798d Translated using Weblate (Malay)
Currently translated at 71.7% (292 of 407 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ms/
2021-08-01 18:22:51 +02:00
Dennis Guse a0a8ef9016 Translated using Weblate (Moldavian)
Currently translated at 71.4% (291 of 407 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ro_MD/
2021-08-01 18:22:51 +02:00
Dennis Guse e1f4406674 Translated using Weblate (Latvian)
Currently translated at 70.7% (288 of 407 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/lv/
2021-08-01 18:22:51 +02:00
Dennis Guse d9b7f77bbb Translated using Weblate (Catalan)
Currently translated at 72.2% (294 of 407 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ca/
2021-08-01 18:22:51 +02:00
Dennis Guse e60dcbe539 Translated using Weblate (Spanish (Latin America))
Currently translated at 98.5% (401 of 407 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es_419/
2021-08-01 18:22:51 +02:00
Dennis Guse fc0cec6157 Share picture: if sharing a track, a share picture (PNG) is created in addition.
Fixes #363.
2021-08-01 18:22:42 +02:00
Dennis Guse 0ac34e0638 Sensor parsing: fixed test.
Part of #891.
2021-07-31 19:00:32 +02:00
Dennis Guse 242147e491 Sensor: adding Running Speed and Cadence.
Fixes #891.
2021-07-31 18:44:42 +02:00
Dennis Guse eba7a7fd89 Settings: use already available custom summary. 2021-07-31 17:54:57 +02:00
Dennis Guse 348f74c4b3 Cleanup. 2021-07-31 17:54:57 +02:00
Dennis Guse d898d51f1a Merge remote-tracking branch 'weblate/main' into main 2021-07-31 07:23:56 +02:00
Dennis Guse 6e9c95f232 Translations: removed unused ones. 2021-07-31 07:19:41 +02:00
Vinicius 9c7f458802 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (70 of 70 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/pt_BR/
2021-07-31 06:49:31 +02:00
mondstern f52b153e3a Translated using Weblate (Slovenian)
Currently translated at 100.0% (70 of 70 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/sl/
2021-07-31 06:49:30 +02:00
mondstern 145cbf870b Translated using Weblate (Swedish)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sv/
2021-07-31 06:49:30 +02:00
mondstern 8e52574378 Translated using Weblate (Slovenian)
Currently translated at 99.0% (440 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sl/
2021-07-31 06:49:30 +02:00
Dennis Guse e3ca1b7f21 Translations: fixed linting errors. 2021-07-31 06:44:02 +02:00
mondstern 2cdae4f460 Translated using Weblate (Lithuanian)
Currently translated at 100.0% (70 of 70 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/lt/
2021-07-29 22:55:05 +02:00
Allan Nordhøy 422e171406 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.5% (69 of 70 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/nb_NO/
2021-07-29 22:55:05 +02:00
mondstern 130581da6f Translated using Weblate (Swedish)
Currently translated at 98.5% (69 of 70 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/sv/
2021-07-29 22:55:05 +02:00
mondstern 9cd212f6b1 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2021-07-29 22:55:05 +02:00
mondstern 08701dcbf9 Translated using Weblate (Swedish)
Currently translated at 98.8% (439 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sv/
2021-07-29 22:55:05 +02:00
mondstern 0f7f332087 Translated using Weblate (Russian)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ru/
2021-07-29 22:55:05 +02:00
mondstern 9eed5aa70f Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-07-29 22:55:05 +02:00
mondstern ea8cd9b6fc Translated using Weblate (Polish)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pl/
2021-07-29 22:55:05 +02:00
mondstern 0ef40e7fab Translated using Weblate (Dutch)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nl/
2021-07-29 22:55:05 +02:00
FTno 919ecbbffb Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-07-29 22:55:05 +02:00
mondstern 21369860a7 Translated using Weblate (Lithuanian)
Currently translated at 96.8% (430 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/lt/
2021-07-29 22:55:05 +02:00
mondstern 7bad6a106a Translated using Weblate (Italian)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2021-07-29 22:55:05 +02:00
mondstern bdf0c91714 Translated using Weblate (Hungarian)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/hu/
2021-07-29 22:55:05 +02:00
Xosé M 453cbd705e Translated using Weblate (Galician)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-07-29 22:55:05 +02:00
mondstern 0669eadc01 Translated using Weblate (French)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-07-29 22:55:05 +02:00
mondstern 7a661cb521 Translated using Weblate (Finnish)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2021-07-29 22:55:05 +02:00
mondstern bb7cba0e47 Translated using Weblate (Basque)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/eu/
2021-07-29 22:55:05 +02:00
mondstern 1402563702 Translated using Weblate (Estonian)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2021-07-29 22:55:05 +02:00
mondstern 4d8c8e4ec9 Translated using Weblate (German)
Currently translated at 99.5% (442 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-07-29 22:55:05 +02:00
mondstern ef7f36d49e Translated using Weblate (Danish)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/da/
2021-07-29 22:55:05 +02:00
mondstern e2ebf04621 Translated using Weblate (Czech)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-07-29 22:55:05 +02:00
mondstern 029b60efff Translated using Weblate (Bulgarian)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/bg/
2021-07-29 22:55:05 +02:00
Allan Nordhøy 70bfa3e862 Translated using Weblate (English)
Currently translated at 100.0% (70 of 70 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/en/
2021-07-29 22:55:05 +02:00
FTno 9f1087c9e6 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-07-29 22:55:05 +02:00
mondstern c64bae827b Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (444 of 444 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-07-29 22:55:05 +02:00
mondstern 05bde1cf33 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2021-07-29 22:55:05 +02:00
mondstern 13c65b25ae Translated using Weblate (Serbian)
Currently translated at 73.0% (323 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/sr/
2021-07-29 22:55:05 +02:00
mondstern 0ab0f5d7a3 Translated using Weblate (Russian)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ru/
2021-07-29 22:55:05 +02:00
mondstern 70ca0d50e2 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-07-29 22:55:05 +02:00
mondstern 8da64ad28d Translated using Weblate (Polish)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pl/
2021-07-29 22:55:05 +02:00
mondstern 48d19aaa67 Translated using Weblate (Dutch)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nl/
2021-07-29 22:55:05 +02:00
mondstern 63bb512e3a Translated using Weblate (Italian)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2021-07-29 22:55:05 +02:00
mondstern 3205c9de8a Translated using Weblate (Indonesian)
Currently translated at 79.6% (352 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/id/
2021-07-29 22:55:05 +02:00
mondstern bda1603e87 Translated using Weblate (Hungarian)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/hu/
2021-07-29 22:55:05 +02:00
mondstern 28d2f42096 Translated using Weblate (French)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-07-29 22:55:05 +02:00
mondstern d83bc0b32a Translated using Weblate (Finnish)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2021-07-29 22:55:05 +02:00
mondstern 87508fca3f Translated using Weblate (Basque)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/eu/
2021-07-29 22:55:05 +02:00
mondstern 3250be9480 Translated using Weblate (Estonian)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2021-07-29 22:55:05 +02:00
mondstern 3848dd8fbd Translated using Weblate (Spanish)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2021-07-29 22:55:05 +02:00
mondstern 022cf5835b Translated using Weblate (Danish)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/da/
2021-07-29 22:55:03 +02:00
mondstern 325681c6cd Translated using Weblate (Bulgarian)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/bg/
2021-07-29 22:55:03 +02:00
Dennis Guse 54be1b74fb Lint: fix AGP7.0.0 found linting errors. 2021-07-29 22:54:57 +02:00
Dennis Guse fd1a53d1a6 CI: lint instead of CodeQL. 2021-07-29 22:54:57 +02:00
Dennis Guse 19f6a477c4 Upgrade to Android Gradle Plugin 7.0.0 (incl. Java11). 2021-07-29 22:54:57 +02:00
Dennis Guse 94babc9cd2 CI: Use JDK11. 2021-07-29 22:54:57 +02:00
Dennis Guse 26414b0c7c Upgrade to API level 31 (Android12).
Fixes #803.
2021-07-29 22:54:57 +02:00
Dennis Guse 956031264f Settings: use separate titles for cycling-only sensors. 2021-07-25 19:18:34 +02:00
Dennis Guse 7d8ac1f411 Merge remote-tracking branch 'weblate/main' into main 2021-07-25 10:29:53 +02:00
Dennis Guse a4121319fa Tests: close cursor. 2021-07-25 10:27:22 +02:00
Xosé M 1fdf1dd607 Translated using Weblate (Galician)
Currently translated at 100.0% (442 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-07-22 17:18:41 +02:00
☆Verdulo 7759d1f9b0 Translated using Weblate (Esperanto)
Currently translated at 98.5% (69 of 70 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/eo/
2021-07-22 17:18:41 +02:00
Quang Trung 43b114b64b Translated using Weblate (Vietnamese)
Currently translated at 77.3% (342 of 442 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-07-22 17:18:41 +02:00
Dennis Guse a808c52d48 Bugfix: recording layout constraint was not correct. 2021-07-22 17:18:31 +02:00
Dennis Guse bb90c53057 Simplified voice announcement interface.
Part of #822.
2021-07-22 17:18:31 +02:00
Dennis Guse bd5bf530f0 TrackRecordingService: extracted storing data into TrackRecordingManager.
Part of #822.
2021-07-22 17:18:31 +02:00
Dennis Guse a4580fc84e Cleanup. 2021-07-22 17:18:31 +02:00
Dennis Guse 9ab34eb846 TrackRecordingService: EGM2008 computation should only be done for UI.
Reverting 16483d4261ff780f940fe4ea223957c898023e14
2021-07-22 17:18:31 +02:00
Dennis Guse 997ddbb4f1 ExportImportTest: made tests deterministic (simulate GPS/sensors).
Fixes #761.
2021-07-22 17:18:31 +02:00
Dennis Guse 86a0054c24 Bugfix: TrackStatistics' total time was not restored correctly, when having pause/stop and then resume. 2021-07-22 17:18:31 +02:00
Dennis Guse 3bd00c906a LocationHandler.onStop(): reset state. 2021-07-22 17:18:31 +02:00
Dennis Guse 684419e86e Version info: show only git describe --tags.
The commitId is included if there are commits after this tag.
2021-07-22 17:18:31 +02:00
Dennis Guse d42d1214ea While recording: UI updates altitude, speed, and bearing to most recently received value.
Fixes #866.
2021-07-22 17:18:31 +02:00
Dennis Guse db24639829 Cleanup: horizontal accuracy is now a Distance (and named consistently). 2021-07-22 17:18:31 +02:00
Dennis Guse 0f6480197b Cleanup. 2021-07-22 17:18:31 +02:00
Dennis Guse cce62c4c47 CI: store logs as artifact. 2021-07-22 17:18:31 +02:00
Dennis Guse bfdc04fbd9 CI: use orchestrator to continue tests after crash + set overall timeout. 2021-07-22 17:18:31 +02:00
Dennis Guse 18702bb6b3 Cleanup. 2021-07-22 17:18:31 +02:00
Dennis Guse 65e920e8b6 ExportImportTest: made tests deterministic.
Fixes #761.
2021-07-22 17:18:31 +02:00
Dennis Guse 7d24262b38 TrackRecordingService: generate timestamps for TrackPoints in HandlerServer.
Part of #822.
2021-07-22 17:18:31 +02:00
Dennis Guse 223ad70d36 TrackRecordingService: move BluetoothRemoteSensorManager and AltitudeSumManager to HandlerServer.
Part of #822.
2021-07-22 17:18:31 +02:00
Dennis Guse 7f618da7a6 TrackPointAssert: provide better error messages on assertion failure. 2021-07-22 17:18:31 +02:00
Dennis Guse 0332b9eb87 ExportImportTest: only cleanup if necessary. 2021-07-22 17:18:31 +02:00
Dennis Guse 29aefff788 Cleanup: remove HandlerInterface. 2021-07-22 17:18:31 +02:00
Dennis Guse c9478ea38d HandlerServer: disable serviceExecutor to simplify testing for now.
Part of #882.
2021-07-22 17:18:31 +02:00
Dennis Guse 1255ec8111 TrackRecordingService: extract EGM2008CorrectionManager into HandlerServer.
Part of #882.
2021-07-22 17:18:31 +02:00
Dennis Guse f9d3108cb2 Extract EGM2008CorrectionManager.
Part of #882.
2021-07-22 17:18:31 +02:00
dependabot[bot] e18d6b942d Bump appcompat from 1.3.0 to 1.3.1
Bumps appcompat from 1.3.0 to 1.3.1.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-22 07:45:57 +02:00
dependabot[bot] cc5ced6383 Bump reactivecircus/android-emulator-runner from 2.19.0 to 2.19.1
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.19.0 to 2.19.1.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.19.0...v2.19.1)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-21 07:50:54 +02:00
Dennis Guse 163879487c CI: Disable API level 29 as this creates timeouts. 2021-07-20 22:54:02 +02:00
Dennis Guse d7dd9f7c1b CI: only build on push.
Avoid triggering two builds.
2021-07-20 22:53:37 +02:00
Dennis Guse 1259c42d28 TrackRecordingService: notification should not vibrate.
Fixes #611.
2021-07-11 23:05:05 +02:00
Dennis Guse 9bccbe79a4 Typo in italian translation.
Fixes #879.
2021-07-11 16:54:24 +02:00
Dennis Guse 401e07d7e7 Cleanup. 2021-07-09 23:17:18 +02:00
Dennis Guse bfbe868487 Release: v3.18.6 2021-07-08 22:50:34 +02:00
vanous 1c29f23c1d Translated using Weblate (Czech)
Currently translated at 100.0% (459 of 459 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-07-08 22:42:07 +02:00
Dennis Guse f081a57348 Voice announcements: remove OpenTracks prefix.
Part of #867.
2021-07-08 22:42:03 +02:00
Dennis Guse a5cdf21322 Translations: move plural to individual locales (TTS).
Part of #867.
2021-07-08 19:44:38 +02:00
Dennis Guse 6d0f1ba773 Cleanup using AndroidStudio's analyze function. 2021-07-08 07:40:10 +02:00
Dennis Guse eb541f29f1 Translations: remove unused plural tracks.
Part of #867.
2021-07-08 07:32:35 +02:00
Dennis Guse 1e905f4f31 Translations: move file plural to individual locales (TTS).
Part of #867.
2021-07-06 17:37:52 +02:00
Dennis Guse 63b7aecdb7 Translations: move file plural to individual locales (TTS).
Part of #867.
2021-07-06 07:37:01 +02:00
A Rabbit 797f7b74d5 Translation: update Chinese translation 2021-07-06 06:38:40 +02:00
Dennis Guse f2d276c246 TrackRecordingService: on recording end, we have a race condition while shutting down. 2021-07-05 19:41:25 +02:00
Vinicius 02b273c102 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/pt_BR/
2021-07-05 18:47:44 +02:00
Vinicius 42490114e5 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (524 of 524 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-07-05 18:47:44 +02:00
FTno 3a1e2b358b Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (524 of 524 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-07-05 18:47:43 +02:00
Dennis Guse c68a52b5fb UI: show altitude with one decimal digit.
Part of #850.
2021-07-05 18:47:33 +02:00
Dennis Guse 40cc2e73c9 Translations: move file plural to individual locales.
Part of #867.
2021-07-05 18:39:41 +02:00
dependabot[bot] c1b59e8c18 Bump material from 1.3.0 to 1.4.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.3.0...1.4.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 12:07:47 +02:00
Dennis Guse aa411c2c76 Cleanup: remove unused translations. 2021-07-05 12:02:55 +02:00
Dennis Guse 77f03dcc28 Translation: use Android's cancel/ok.
Fix #868.
2021-07-04 21:41:05 +02:00
Dennis Guse 54fa2903ed Translation: use Android's cancel/ok.
Fix #868.
2021-07-04 21:34:44 +02:00
Dennis Guse 3840f57317 Cleanup. 2021-07-04 19:48:44 +02:00
Dennis Guse 87e0980695 Bugfix: prevent NPE on endRecording (race condition). 2021-07-04 16:53:10 +02:00
Dennis Guse af8d9c08ab IntervalStatistics: format gain/loss like on StatisticsRecordingFragment. 2021-07-04 16:53:10 +02:00
Dennis Guse c9231a7640 Add copy constructor to SensorDataSet to avoid undesired changes. 2021-07-04 16:53:10 +02:00
Dennis Guse acb2044a43 TrackStatisticsUpdater: simplify/ test initialization.
Fixes #863.
2021-07-04 16:53:10 +02:00
Dennis Guse c07d6124f9 TrackRecordingService: simplify altitude and remoteSensor handling. 2021-07-04 16:53:10 +02:00
Dennis Guse 8991d7bf0d Temporary TrackStatistics should also contain gain/loss from barometric sensor. 2021-07-04 16:53:10 +02:00
Dennis Guse c289fd174d Cleanup. 2021-07-04 16:53:10 +02:00
Dennis Guse 5899235b2b Tests: create TrackPoint instead of Location. 2021-07-04 16:53:10 +02:00
Dennis Guse 3cb04a1ca0 TrackPointAssert: always check location. 2021-07-04 16:53:10 +02:00
Dennis Guse 9fb5cf33ca TrackPointAssert: GPX speed is only exported with one decimal. 2021-07-04 16:53:10 +02:00
Dennis Guse a20cc17215 TrackPointAssert: removed helper methods. 2021-07-04 16:53:10 +02:00
Dennis Guse 0edb72aaed Tests: created TrackPointAssert to unify verification (incl. speed). 2021-07-04 16:53:10 +02:00
Dennis Guse 1f83b71336 Tests: created TrackPointAssert to unify verification. 2021-07-04 16:53:10 +02:00
Dennis Guse 4c8e87614f Altitude gain/loss: start with null instead of 0f. 2021-07-04 16:53:10 +02:00
Dennis Guse 6bb85227ac Disable test as it fails.
See #817.
2021-07-04 16:53:10 +02:00
Dennis Guse 5045b9a222 TrackPoint: only take data from location if present.
This functionality is used by KML/KMZ imports.
2021-07-04 16:53:10 +02:00
Dennis Guse 5c72855ec5 Cleanup: lint warnings - remove unused/ malformatted translation. 2021-07-02 22:21:59 +02:00
Dennis Guse 90f0d438d2 Cleanup: lint warnings. 2021-07-02 22:16:35 +02:00
mondstern eb9d483d3e Translated using Weblate (Basque)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/eu/
2021-07-02 21:05:59 +02:00
mondstern 6f7a3e7069 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/vi/
2021-07-02 21:05:58 +02:00
Markus Benning 690914e176 Translated using Weblate (German)
Currently translated at 99.6% (523 of 525 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-07-02 21:05:58 +02:00
dependabot[bot] 4856f5d213 Bump runner from 1.3.0 to 1.4.0
Bumps runner from 1.3.0 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.test:runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 06:36:09 +02:00
mondstern 221f711f1d Translated using Weblate (Swedish)
Currently translated at 98.5% (68 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/sv/
2021-07-01 19:50:52 +02:00
mondstern 7485b5555e Translated using Weblate (Esperanto)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/eo/
2021-07-01 19:50:52 +02:00
mondstern a6717be586 Translated using Weblate (Slovenian)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/sl/
2021-07-01 19:50:52 +02:00
mondstern 690034d667 Translated using Weblate (Slovak)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/sk/
2021-07-01 19:50:52 +02:00
mondstern 924be9b707 Translated using Weblate (Italian)
Currently translated at 98.5% (68 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/it/
2021-07-01 19:50:52 +02:00
mondstern de7e6ccfb2 Translated using Weblate (Finnish)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/fi/
2021-07-01 19:50:52 +02:00
mondstern aefb13dda7 Translated using Weblate (Czech)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/cs/
2021-07-01 19:50:52 +02:00
mondstern bbe3eda989 Translated using Weblate (Hungarian)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/hu/
2021-07-01 19:50:52 +02:00
mondstern d2dc3140ec Translated using Weblate (Estonian)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/et/
2021-07-01 19:50:52 +02:00
mondstern f635697cc8 Translated using Weblate (Danish)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/da/
2021-07-01 19:50:52 +02:00
mondstern de351f329e Translated using Weblate (Bulgarian)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/bg/
2021-07-01 19:50:52 +02:00
mondstern 84c2c8e962 Translated using Weblate (Dutch)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/nl/
2021-07-01 19:50:52 +02:00
mondstern c9519d9bd3 Translated using Weblate (Indonesian)
Currently translated at 98.5% (68 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/id/
2021-07-01 19:50:52 +02:00
mondstern 191a6e836a Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/zh_Hans/
2021-07-01 19:50:52 +02:00
mondstern 42f6dea112 Translated using Weblate (Russian)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/ru/
2021-07-01 19:50:52 +02:00
mondstern 8fb5356043 Translated using Weblate (Portuguese)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/pt/
2021-07-01 19:50:52 +02:00
mondstern 1f4251a68a Translated using Weblate (Polish)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/pl/
2021-07-01 19:50:52 +02:00
mondstern 6d7cedbaf9 Translated using Weblate (Arabic)
Currently translated at 98.5% (68 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/ar/
2021-07-01 19:50:52 +02:00
mondstern bc37f90c2e Translated using Weblate (French)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/fr/
2021-07-01 19:50:51 +02:00
mondstern c7ccdc0bb2 Translated using Weblate (Spanish)
Currently translated at 100.0% (69 of 69 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/es/
2021-07-01 19:50:51 +02:00
vsevjednom-cz ec98a67f44 Translated using Weblate (Czech)
Currently translated at 99.6% (522 of 524 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-07-01 19:50:51 +02:00
Dennis Guse e65b8989d3 Show on map: offer KML instead of KMZ (translations + Activity name) 2021-07-01 19:50:38 +02:00
Dennis Guse 8656681e1d Android12: ACCESS_FINE_LOCATION now also requires to ask for ACCESS_COARSE_LOCATION.
Part of #803.
2021-07-01 19:35:41 +02:00
Dennis Guse afbd3aa997 Android12: upgrade Bluetooth permissions.
Part of #803.
2021-07-01 19:35:41 +02:00
dependabot[bot] f16b6d9fe7 Bump junit from 1.1.2 to 1.1.3
Bumps junit from 1.1.2 to 1.1.3.

---
updated-dependencies:
- dependency-name: androidx.test.ext:junit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 19:04:42 +02:00
dependabot[bot] 8973ff77bf Bump gradle from 4.2.1 to 4.2.2
Bumps gradle from 4.2.1 to 4.2.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 19:03:20 +02:00
dependabot[bot] 2c9e8c7465 Bump core from 1.3.0 to 1.4.0
Bumps core from 1.3.0 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.test:core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 19:03:01 +02:00
dependabot[bot] b319ce805d Bump espresso-core from 3.3.0 to 3.4.0
Bumps espresso-core from 3.3.0 to 3.4.0.

---
updated-dependencies:
- dependency-name: androidx.test.espresso:espresso-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 19:02:51 +02:00
dependabot[bot] 2c1bad8c2c Bump rules from 1.3.0 to 1.4.0
Bumps rules from 1.3.0 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.test:rules
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 19:02:43 +02:00
Dennis Guse ed10868716 Show on map: offer KML instead of KMZ. 2021-06-28 23:03:59 +02:00
Dennis Guse 6749f484e8 Export: removed KML/KMZ format variants
* KML/KMZ with track only (contained only coordinates)
* KML/KMZ with track details (did not contain markers and sensor data)
2021-06-28 23:03:59 +02:00
Román Martínez 32891fbf94 Workaround for no barometric sensor: intervals shows dashes (-) for gain and loss. Fixes #791. 2021-06-28 17:55:36 +02:00
dependabot[bot] 1d7c71ec8d Bump reactivecircus/android-emulator-runner from 2.18.0 to 2.19.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.18.0...v2.19.0)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 17:05:12 +02:00
Román Martínez d106993f2d Race condition fixed: deleting a recording track with post-execution export on. Fixes #847. 2021-06-27 19:18:11 +02:00
Dennis Guse 7ebd532edb Cleanup using AndroidStudio's code analyzer. 2021-06-24 18:47:49 +02:00
Dennis Guse 823dc1c12b Release: v3.18.5 2021-06-24 18:44:36 +02:00
Dennis Guse 26490f5a66 Launcher icon (API <26): does not have a background circle.
Rendering a multilayer image is not consistent (size).

Fixes #814.
2021-06-24 18:29:50 +02:00
Dennis Guse d299dbdf06 Also send speed to UI. 2021-06-24 12:02:22 +02:00
Dennis Guse b5555e302f Bugfix: TrackRecordingService now computes EGM2008 for UI (i.e., StatisticsRecordingFragment).
Fixes #828.
2021-06-24 12:02:22 +02:00
Dennis Guse 3030b4dfd9 Bugfix: TrackRecordingService needs to send data from lastTrackPoint in it's 1s updates.
This also removes UI updates if a GPS measurement is received as 1s update should be sufficient.

Fixes #828.
2021-06-24 12:02:22 +02:00
dependabot[bot] a5431b1cf5 Bump reactivecircus/android-emulator-runner from 2.17.0 to 2.18.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.17.0 to 2.18.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.17.0...v2.18.0)

---
updated-dependencies:
- dependency-name: reactivecircus/android-emulator-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 07:35:59 +02:00
serpico 9314221647 Translated using Weblate (Indonesian)
Currently translated at 79.3% (415 of 523 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/id/
2021-06-22 17:19:35 +02:00
Dennis Guse 9bb9d5c283 Voice announcement: make rate configurable.
Fixes #777.
2021-06-22 17:19:31 +02:00
Patrick Georgi 1095a1442f Fix typo in German translation
It's Geschwindigkeit, not Geshwindigkeit.
2021-06-22 17:00:22 +02:00
Dennis Guse d373fdaaeb Downgrade espresso-coret to 3.3.0; no need to use an alpha. 2021-06-20 17:43:05 +02:00
serpico 5278ba4d35 Translated using Weblate (French)
Currently translated at 98.5% (67 of 68 strings)

Translation: OpenTracks/App store metadata files
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/app-store-metadata-files/fr/
2021-06-17 23:36:18 +02:00
FTno 9b71b7f88c Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (523 of 523 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-06-17 23:36:18 +02:00
serpico bc96c2c05b Translated using Weblate (French)
Currently translated at 99.8% (522 of 523 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-06-17 23:36:18 +02:00
Dennis Guse e655762c72 EspressoCategoryUnitTest needs to set metricUnits. 2021-06-17 23:26:05 +02:00
Dennis Guse 71c385a1a9 Android12: add new Bluetooth connect permission.
Fixes #821.
2021-06-17 23:18:04 +02:00
Dennis Guse b947a727e7 Bugfix: while recording UI values were doubled.
Issue: copy constructor of  TrackStatisticsUpdater was not copying completely and the same reference used.
2021-06-17 23:08:06 +02:00
Román Martínez 470f23afa8 Bugfix: pace or speed header text is not showing in intervals.
Bugfix: viewModel checking onPause.
2021-06-17 14:36:30 +02:00
Dennis Guse 0a1f9dfe41 Cleanup. 2021-06-15 22:55:42 +02:00
Weblate 6fcd19bf2e Merge branch 'origin/main' into Weblate. 2021-06-15 22:43:54 +02:00
serpico 32d9705a4c Translated using Weblate (French)
Currently translated at 99.6% (521 of 523 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-06-15 18:08:46 +02:00
Xosé M 2ac66c08f2 Translated using Weblate (Galician)
Currently translated at 100.0% (523 of 523 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-06-15 18:08:46 +02:00
Dennis Guse 9234da4957 Release: v3.18.4 2021-06-15 17:53:30 +02:00
Román Martínez 24e18347a6 IntervalsFragment doesn't use TrackDataHub anymore. This improve intervals performance. Fixes #808. 2021-06-15 17:09:24 +02:00
serpico 3b776407fa Translated using Weblate (French)
Currently translated at 99.6% (521 of 523 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-06-15 17:08:24 +02:00
Xosé M 399f90a8f0 Translated using Weblate (Galician)
Currently translated at 100.0% (523 of 523 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-06-15 17:08:24 +02:00
Román Martínez 4c68592a0c Intervals are computated through TrackStatisticsUpdater. Fixes #703. 2021-06-15 17:08:16 +02:00
Román Martínez b2c2047ca2 Dennis Review. 2021-06-15 17:08:16 +02:00
Román Martínez 838671e2ce IntervalsFragment doesn't use TrackDataHub anymore. This improve intervals performance. Fixes #808. 2021-06-15 17:08:16 +02:00
Dennis Guse 47a340578f Bugfix: prevent crash when creating TRACKPOINT without location.
Introduced in 2f0449c420
2021-06-14 12:11:23 +02:00
Dennis Guse e9e48e4a79 Bugfix: cycling sensors report wheel count as UINT32 - data type must be long, int is too small.
Also forgot to fix tests.

Fixes #810.
2021-06-13 19:17:05 +02:00
Dennis Guse 40188774b1 Bugfix: cycling sensors report wheel count as UINT32.
Garmin Speed Sensor 2 actually counts forward: it was an UINT16 overflow problem (removed workaround).

Fixes #810.
2021-06-11 19:25:40 +02:00
Dennis Guse 2f0449c420 TrackRecordingService: compute temporary TrackStatistics for UI.
Fixes #810.
2021-06-11 19:25:40 +02:00
Dennis Guse 21376cd3da Speed and distance each only use one formatting rule.
Fixes #648.
2021-06-08 17:10:23 +02:00
Dennis Guse e28c385e52 Release: v3.18.3 2021-06-04 18:21:43 +02:00
Dennis Guse 8d4418a584 Revert "Bump mockito-android from 3.10.0 to 3.11.0"
This reverts commit 68c8839ebb.
2021-06-04 18:07:10 +02:00
mondstern 85c7314fa8 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2021-06-04 17:50:39 +02:00
mondstern 06a05c82bc Translated using Weblate (Polish)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pl/
2021-06-04 17:50:39 +02:00
mondstern 4d08729284 Translated using Weblate (Dutch)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nl/
2021-06-04 17:50:39 +02:00
mondstern 28bbf14efd Translated using Weblate (Italian)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2021-06-04 17:50:39 +02:00
mondstern 5686322aa6 Translated using Weblate (Hungarian)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/hu/
2021-06-04 17:50:39 +02:00
mondstern a6c06efb62 Translated using Weblate (Galician)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-06-04 17:50:39 +02:00
mondstern 80a5149207 Translated using Weblate (French)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-06-04 17:50:39 +02:00
mondstern 5b31213770 Translated using Weblate (Finnish)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2021-06-04 17:50:39 +02:00
mondstern 19cbbb90f9 Translated using Weblate (Basque)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/eu/
2021-06-04 17:50:39 +02:00
mondstern 39e4a697c0 Translated using Weblate (Estonian)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2021-06-04 17:50:39 +02:00
mondstern 196de0c3d4 Translated using Weblate (Danish)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/da/
2021-06-04 17:50:39 +02:00
mondstern 8aa02d009d Translated using Weblate (Czech)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-06-04 17:50:39 +02:00
Nikita Epifanov 9a89295b1f Translated using Weblate (Russian)
Currently translated at 99.6% (530 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ru/
2021-06-04 17:50:39 +02:00
Vinicius 4c3c93511f Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-06-04 17:50:39 +02:00
FTno bfd6517a61 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-06-04 17:50:39 +02:00
Dennis Guse 6334dcea04 KMLImporter: added test. 2021-06-04 17:50:34 +02:00
Dennis Guse 5b2d9a5773 Import: re-order TrackPoints by time, so statistics can be computed.
Fixes #796.
2021-06-04 17:50:34 +02:00
Dennis Guse f1ee0ea035 GPX exporter: cleanup. 2021-06-04 17:50:34 +02:00
Dennis Guse 57afedb3a8 Importer: re-organized tests.
Added test for when/gx:coords order for KML2.2 (for #790).
2021-06-04 17:50:34 +02:00
Dennis Guse 4e33ad4007 Cleanup: move instantiation of TrackImporter. 2021-06-04 17:50:34 +02:00
Dennis Guse eada954299 Cleanup: renaming Importer classes. 2021-06-04 17:50:34 +02:00
Dennis Guse 288fe27a57 Import: re-implement GPX parsing. 2021-06-04 17:50:34 +02:00
Dennis Guse 54e8fd3ee3 Import: re-implement KML parsing.
Fixes #790.
2021-06-04 17:50:34 +02:00
dependabot[bot] 68c8839ebb Bump mockito-android from 3.10.0 to 3.11.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.10.0...v3.11.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 17:49:08 +02:00
Román Martínez 12e764c44a Bugfix: EGM2008 label has to belong to stats_altitude_group to be hidden and showed according to user settings. 2021-06-01 21:04:38 +02:00
dependabot[bot] 50eff0d7e8 Bump reactivecircus/android-emulator-runner from 2.16.0 to 2.17.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2.16.0 to 2.17.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2.16.0...v2.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 17:08:02 +02:00
Dennis Guse ee96226faf Bugfix: avoid ConcurrentModificationException exception in ChartView. 2021-05-31 16:52:40 +02:00
Dennis Guse f5ec91f0eb Launcher icon and splashscreen: use inset instead of separate drawable. 2021-05-29 19:36:42 +02:00
Dennis Guse b0575c0f5b Launcher icon: use vector (layer-list for API21+ and adaptive-icon for API26+). 2021-05-29 19:36:42 +02:00
Dennis Guse ccfcd3b306 TrackDataHub: do not send more TrackPoints after stop(). 2021-05-29 19:31:28 +02:00
Dennis Guse 7929d219ac Cleanup: TrackDataHub does not need started. 2021-05-29 19:31:28 +02:00
Dennis Guse d6f4d3f599 Cleanup:
TrackDataHub handles listeners itself.
2021-05-29 19:31:28 +02:00
Dennis Guse 4171d9cc4c Cleanup. 2021-05-28 07:58:57 +02:00
Dennis Guse 9366c031b3 Fix translation. 2021-05-27 18:24:47 +02:00
Allan Nordhøy 3454fe0cfa Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-05-27 10:31:04 +02:00
Pablo 3ad2d725be Translated using Weblate (Spanish)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2021-05-27 10:31:04 +02:00
Pablo d3400dbdfb Translated using Weblate (Spanish (Latin America))
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es_419/
2021-05-27 10:31:04 +02:00
J. Lavoie dc4d2ecd89 Translated using Weblate (French)
Currently translated at 100.0% (532 of 532 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-05-27 10:31:04 +02:00
FTno a1feb7d0d5 Update strings.xml 2021-05-27 10:30:57 +02:00
Román Martínez 5cad99b237 Cleanup unused code. 2021-05-25 20:00:37 +02:00
gordonel fb8a4de79b doc: add Rotor 2INpower cycling powermeter 2021-05-24 16:57:35 +02:00
Dennis Guse b1b0a45f53 ChartFragment: re-added isResume() check. 2021-05-23 19:52:12 +02:00
Dennis Guse e580a03115 Cleanup ChartFragment. 2021-05-23 19:52:12 +02:00
Dennis Guse 591597e4e8 Release: v3.18.2 2021-05-22 21:12:07 +02:00
Dennis Guse 1d7820469c TrackDataHub: prevent crash due to race condition.
Fixes #787.
2021-05-22 12:49:51 +02:00
Román Martínez aa34f5d55b Bugfix: category change didn't update speed/pace correctly.
Espresso test added to check that unit is properly.
2021-05-21 21:01:31 +02:00
Dennis Guse e71ab28701 TrackRecordingService: avoid race condition while stopping a recording. 2021-05-19 18:36:41 +02:00
Dennis Guse ae001c73dd Simplify TrackDataHub interface. 2021-05-19 18:36:41 +02:00
Dennis Guse 56ff7827df TrackRecordingService uses LiveData to transfer data.
Replaces pull from UI layer.

Fixes #173.
2021-05-19 18:36:41 +02:00
Dennis Guse 2cdf122e8c Release: v3.18.1 2021-05-19 18:16:45 +02:00
mondstern 495ef2fc6f Translated using Weblate (Ukrainian)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2021-05-19 17:15:57 +02:00
FTno ff561c1b25 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-05-19 17:15:57 +02:00
mondstern 7106f64a3c Translated using Weblate (Hungarian)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/hu/
2021-05-19 17:15:57 +02:00
mondstern 8420f9febb Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-05-19 17:15:57 +02:00
Xosé M 0744ba790f Translated using Weblate (Galician)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-05-19 17:15:57 +02:00
Dennis Guse 9a7f24bddc Update README. 2021-05-19 17:15:51 +02:00
dependabot[bot] ef47c86e7c Bump appcompat from 1.2.0 to 1.3.0
Bumps appcompat from 1.2.0 to 1.3.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-19 07:47:14 +02:00
Román Martínez 93f203bcf1 Track deletion is handled by a service that shows a progress bar on the notification bar. Fixes #735. 2021-05-17 19:45:26 +02:00
Dennis Guse 6b0ec72b9b TrackListActivity: re-enable search.
Fixes #757.
2021-05-16 14:35:10 +02:00
Dennis Guse d46cea6150 Update AndroidManifest.xml 2021-05-16 14:34:42 +02:00
Dennis Guse 0e3ffa58f0 Disable hasFragileUserData for production.
Should fix #685 and #129.
2021-05-16 14:34:42 +02:00
Dennis Guse c00d769188 SensorDataCycling: use Distance. 2021-05-16 08:35:47 +02:00
Dennis Guse 00489a121a Bugfix: TrackStatisticsUpdater was computing distance incorrectly.
While using a cycling speed and distance sensor, the updater was not using the distance from the most recent trackpoint but rather the one considered last moving.

Fixes #762.
2021-05-16 08:35:47 +02:00
Dennis Guse d7f339c6f8 Settings: disable voice announcement setting if not TTS available.
Fixes #763.
2021-05-16 08:34:20 +02:00
Dennis Guse da28ea3e95 Cleanup. 2021-05-16 00:08:15 +02:00
Dennis Guse 9872658f81 Update AndroidStudio config files for 4.2.1 2021-05-14 19:52:12 +02:00
dependabot[bot] b6b155f19c Bump gradle from 4.2.0 to 4.2.1
Bumps gradle from 4.2.0 to 4.2.1.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-14 19:08:37 +02:00
Dennis Guse 067f31ac21 Bugfix: ControllerFragment did not work in landscape mode.
Introduced in ed6daeb48b
2021-05-13 12:42:05 +02:00
dependabot[bot] 3f0ce27870 Bump mockito-android from 3.9.0 to 3.10.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.9.0...v3.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 08:19:07 +02:00
Dennis Guse 438f8fe273 TrackListActivity: disable search as it is not working if not shown as Action. 2021-05-13 06:37:24 +02:00
Dennis Guse 392c02a56f Cleanup. 2021-05-13 06:27:16 +02:00
Quang Trung 6dca3bea58 Translated using Weblate (Vietnamese)
Currently translated at 80.3% (426 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-05-12 07:40:32 +02:00
mondstern 13034c8bb3 Translated using Weblate (Polish)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pl/
2021-05-12 07:40:32 +02:00
mondstern 1175ce270e Translated using Weblate (Dutch)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nl/
2021-05-12 07:40:32 +02:00
mondstern 02cad98a4f Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-05-12 07:40:32 +02:00
mondstern d6b38a390e Translated using Weblate (Italian)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2021-05-12 07:40:32 +02:00
J. Lavoie 98deed8ef7 Translated using Weblate (Italian)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2021-05-12 07:40:32 +02:00
J. Lavoie 9983168cb9 Translated using Weblate (French)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-05-12 07:40:32 +02:00
mondstern 7b5f29db09 Translated using Weblate (French)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-05-12 07:40:32 +02:00
J. Lavoie 49efd04326 Translated using Weblate (Finnish)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2021-05-12 07:40:32 +02:00
mondstern 3159c62eb2 Translated using Weblate (Spanish)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2021-05-12 07:40:32 +02:00
Max Schallert 0e8811d8c9 Translated using Weblate (German)
Currently translated at 97.5% (517 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-05-12 07:40:32 +02:00
J. Lavoie 4126e36f1c Translated using Weblate (German)
Currently translated at 97.5% (517 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-05-12 07:40:32 +02:00
mondstern b7e2df9f2f Translated using Weblate (Czech)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-05-12 07:40:32 +02:00
Max Schallert 055093772d Translated using Weblate (German)
Currently translated at 97.1% (515 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-05-12 07:40:32 +02:00
J. Lavoie 7f8b49814b Translated using Weblate (German)
Currently translated at 97.1% (515 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-05-12 07:40:32 +02:00
Max Schallert 5cc0e06fbb Translated using Weblate (German)
Currently translated at 95.6% (507 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-05-12 07:40:32 +02:00
J. Lavoie 311a2550e5 Translated using Weblate (German)
Currently translated at 95.6% (507 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-05-12 07:40:32 +02:00
J. Lavoie 4311b29833 Translated using Weblate (German)
Currently translated at 95.6% (507 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-05-12 07:40:32 +02:00
Max Schallert 86121ac27a Translated using Weblate (German)
Currently translated at 95.6% (507 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-05-12 07:40:32 +02:00
Dennis Guse ed6daeb48b TrackController is now ControllerFragment. 2021-05-12 07:39:47 +02:00
dependabot[bot] af72960cf6 Bump reactivecircus/android-emulator-runner from 2 to 2.16.0
Bumps [reactivecircus/android-emulator-runner](https://github.com/reactivecircus/android-emulator-runner) from 2 to 2.16.0.
- [Release notes](https://github.com/reactivecircus/android-emulator-runner/releases)
- [Changelog](https://github.com/ReactiveCircus/android-emulator-runner/blob/main/CHANGELOG.md)
- [Commits](https://github.com/reactivecircus/android-emulator-runner/compare/v2...v2.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 07:39:11 +02:00
dependabot[bot] 99767d0c0b Bump actions/checkout from 2 to 2.3.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-12 07:39:01 +02:00
Dennis Guse 1fc0a552c7 ChartView: improve performance. 2021-05-11 07:42:17 +02:00
Dennis Guse 18dd1de1f9 TrackDataHub: prevent race condition. 2021-05-08 19:31:16 +02:00
Dennis Guse ae3078304d Release: v3.18.0 2021-05-08 14:53:40 +02:00
Dennis Guse 48b6438c06 Bugfix: TrackDataHub needs to use the same TrackStatisticsUpdater for a whole track (incl. newly received TrackPoints).
Fixes #745.

Introduced in https://github.com/OpenTracksApp/OpenTracks/commit/887d4700d4f8fbf10563834e7498388a3213007e
2021-05-08 14:40:32 +02:00
Dennis Guse e822172f58 Cleanup. 2021-05-08 14:40:32 +02:00
Dennis Guse a3aee403a1 CI: run tests on more API Android levels. 2021-05-06 19:33:18 +02:00
Dennis Guse aac2ad4165 Removed invalid Russian translation (ImpliedQuantity). 2021-05-06 18:33:03 +02:00
mondstern 76d5e5780c Translated using Weblate (Finnish)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2021-05-06 18:07:44 +02:00
mondstern 931fd7514a Translated using Weblate (Basque)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/eu/
2021-05-06 18:07:44 +02:00
mondstern d1570ad700 Translated using Weblate (Estonian)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2021-05-06 18:07:44 +02:00
mondstern 04fff89f68 Translated using Weblate (Danish)
Currently translated at 100.0% (530 of 530 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/da/
2021-05-06 18:07:44 +02:00
mondstern b57fd368ae Translated using Weblate (Russian)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ru/
2021-05-06 18:07:44 +02:00
chipechop 58d6a3b5a9 Update strings.xml
Hi, 
I'm new, here.

I changed some translations that didn't fit or were not correct (hr is h in italian).

I'm enthusiast of your app: it's just perfect.

Cheers!
2021-05-06 18:07:39 +02:00
dependabot[bot] 289a5273a9 Bump mockito-android from 3.8.0 to 3.9.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.8.0...v3.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 07:54:02 +02:00
Dennis Guse 120e20a0ea Avoid crash on older Android when stopping a track. 2021-05-05 21:50:26 +02:00
Dennis Guse 2843d19450 UI presents altitude in EGM2008. 2021-05-05 18:01:07 +02:00
Dennis Guse 50127e311a Introduced value object for Altitude. 2021-05-05 18:01:07 +02:00
Dennis Guse f83a1b3a4c EGM2008: add to UI in StatisticsRecordingFragment. 2021-05-05 18:01:07 +02:00
Dennis Guse 65ecbc4521 EGM2008: add reference to about activity. 2021-05-05 18:01:07 +02:00
Dennis Guse fa50db08c3 EGM2008: added undulation data and bilinear computation.
Includes data structure for caching.

Part of #224.
2021-05-05 18:01:07 +02:00
Dennis Guse b395c19832 Bugfix: voice announcements need to use KM/Miles (instead of m/feet).
Fixes #722.
2021-05-05 17:59:08 +02:00
Dennis Guse 7e6ffbabd2 Build: replace JCenter with MavenCentral; requires upgrade to AndroidStudio 4.2.X.
Fixes #653.
2021-05-05 12:45:23 +02:00
dependabot[bot] 6b43d341d0 Bump gradle from 4.1.3 to 4.2.0
Bumps gradle from 4.1.3 to 4.2.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-05 12:02:45 +02:00
Dennis Guse 8af0fb3250 Bugfix: TrackDataHub did not account for recordingDistanceInterval.
Introduced in 887d4700d4
2021-05-03 22:13:23 +02:00
Dennis Guse 49219de46a GPSStatus: update initial and final status. 2021-05-03 22:13:23 +02:00
Dennis Guse 1baf652b81 Bugfix: ChartFragment needs to show elevation in M/FT. 2021-05-03 22:13:23 +02:00
Dennis Guse 6723bfb979 TrackRecordingService: provide status updates via LiveData.
Fixes #719
2021-05-03 22:13:23 +02:00
Nikita Epifanov 8357b234d2 Translated using Weblate (Russian)
Currently translated at 81.4% (431 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ru/
2021-05-01 20:03:23 +02:00
mondstern 9de9fbd058 Translated using Weblate (Russian)
Currently translated at 81.2% (430 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ru/
2021-05-01 20:03:23 +02:00
Dennis Guse 6da6fc6004 Upgrade to Gradle 7.0 2021-05-01 20:03:19 +02:00
Dennis Guse 114fc31be0 KmzImporter: process doc.kml as stream (instead of in memory copy).
Also simplified exception handling.
2021-05-01 20:01:06 +02:00
Dennis Guse ae795a76fa Removed TrackImporter interface. 2021-05-01 20:01:06 +02:00
Dennis Guse 92004b0ec7 Cleanup: refactored importers. 2021-05-01 20:01:06 +02:00
Dennis Guse f277347529 ExportImportTest: be realistic by creating actual files. 2021-05-01 20:01:06 +02:00
Dennis Guse ad1aa06407 Cleanup: extracted SAX2 import from AbstractFileTrackImporter. 2021-05-01 20:01:06 +02:00
Dennis Guse 3b92303511 Cleanup: move GPX-specific importer code to GPX importer. 2021-05-01 20:01:06 +02:00
Dennis Guse e62faa1253 Reproducible build: disable PNG crunching.
Part of #418.
2021-05-01 19:27:25 +02:00
dependabot[bot] d3900f4dad Bump espresso-core from 3.4.0-alpha05 to 3.4.0-alpha06
Bumps espresso-core from 3.4.0-alpha05 to 3.4.0-alpha06.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 12:09:04 +02:00
badger40 00b8834795 Update README_TESTED_SENSORS.md 2021-04-28 07:41:00 +02:00
Dennis Guse 1672a5c722 Release: v3.17.3 2021-04-27 21:03:44 +02:00
Román Martínez bf552a9219 Bugfix: crash deleting when activity restarts. Fixes #705. 2021-04-27 19:54:02 +02:00
Dennis Guse 348f697b56 TrackRecordingActivity needs to update TrackDataHub onResume().
Part of #719.
2021-04-27 19:02:53 +02:00
Dennis Guse 887d4700d4 TrackDataHub computes TrackStatistics and passes it to listeners.
Part of #719.
2021-04-27 19:02:53 +02:00
Dennis Guse 391dfd30e2 TrackDataHub does not need to register for status changes of TrackRecordingService.
This is handled by TrackRecordingActivity alone.
Part of #719.
2021-04-27 19:02:53 +02:00
Dennis Guse b416857001 TrackRecordingService log warnings if unexpected methods are invoked. 2021-04-27 19:02:53 +02:00
Dennis Guse df3720ef0d Bugfix: TrackDataManager.unregisterTrackDataListener was not removing listener. 2021-04-27 19:02:53 +02:00
Román Martínez b784a47af6 Bugfix: track stats always show pace. Fixes #726. 2021-04-25 15:21:08 +02:00
Dennis Guse 0f3156e71b i18n: French error message has no zero. 2021-04-22 18:36:45 +02:00
Dennis Guse 0035c85922 AboutActivity: back via top left arrow is working now.
Fixes #727.
2021-04-22 18:23:18 +02:00
Román Martínez 976a50ca15 Bugfixed spanish translation. Fixes #725. 2021-04-22 09:52:46 +02:00
mondstern c0ad53eef1 Translated using Weblate (Portuguese)
Currently translated at 78.6% (416 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt/
2021-04-21 19:57:41 +02:00
Quang Trung 1192b02c0a Translated using Weblate (Vietnamese)
Currently translated at 78.6% (416 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-04-21 19:57:41 +02:00
mondstern 7a3abe9962 Translated using Weblate (Hungarian)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/hu/
2021-04-21 19:57:41 +02:00
mondstern 60b989c13a Translated using Weblate (French)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-04-21 19:57:41 +02:00
mondstern 340f16dc99 Translated using Weblate (French)
Currently translated at 91.1% (482 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-04-21 19:57:41 +02:00
Max Schallert 7cf29f7cea Translated using Weblate (German)
Currently translated at 95.4% (505 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-04-21 19:57:41 +02:00
dial25sd e39352cc9e Translated using Weblate (German)
Currently translated at 95.4% (505 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-04-21 19:57:41 +02:00
Dennis Guse e2964e805e Bugfix: NPE in voice announcements using pace.
Fixes #724.
2021-04-21 19:57:29 +02:00
Dennis Guse 8cab43d558 Release: v3.17.2 2021-04-19 19:38:31 +02:00
Dennis Guse 13f2a09652 Bugfix: AnnouncementPeriodicTask does not need to register as TrackRecordingService.Listener. 2021-04-19 19:29:51 +02:00
Dennis Guse 7d4072c0d8 Cleanup: ChartPoint uses null instead of NaN. 2021-04-18 17:50:16 +02:00
Dennis Guse 310b35713d ChartFragmentTest: added test for small changes. 2021-04-18 14:39:48 +02:00
Dennis Guse 7e6237de3a Release: v3.17.1 2021-04-17 22:40:05 +02:00
Román Martínez 772dad4837 announce called after getting recordingTrackId. Fixed a potencial race condition. 2021-04-17 22:26:23 +02:00
Román Martínez 99126fa357 Distance interval bugfixed: interval options are km/mi values. 2021-04-17 21:16:32 +02:00
Román Martínez b2c91d7592 registerListener for barometric sensor uses SENSOR_DELAY_FASTEST instead of nanoseconds. Fixes #714. 2021-04-17 19:34:05 +02:00
Rodrigo Oliveira 3c5a1be16b Fix #711: declare TextToSpeech.Engine.INTENT_ACTION_TTS_SERVICE on queries element
This enables the use of TextToSpeech engine on Android 11.
Ref.: https://developer.android.com/reference/android/speech/tts/TextToSpeech
2021-04-17 19:31:26 +02:00
Dennis Guse 01d83deefd Release: v3.17.0 2021-04-13 20:40:51 +02:00
Dennis Guse bc2a3ddee3 IntervalStatistics/Announcement: use Distance. 2021-04-13 19:18:18 +02:00
Dennis Guse da70fca389 Bugfix: TrackStatistics handles SEGMENT_START_AUTOMATIC properly. 2021-04-13 19:18:18 +02:00
Dennis Guse 67bbd9ca24 Bugfix: GPX exported altitude loss instead as distance. 2021-04-13 19:18:18 +02:00
Dennis Guse 5e1293fc82 For delays/timers: use Duration. 2021-04-13 19:18:18 +02:00
Dennis Guse 610da5a106 Statistics*Fragment: keep reference to track instead of TrackStatistics and category. 2021-04-13 19:18:18 +02:00
Dennis Guse 2b5744ccc1 Code cleanup. 2021-04-13 19:18:18 +02:00
Dennis Guse f0341e831f Github Actions: somehow the emulator has not enough memory.
Fixes #599.
2021-04-13 19:18:18 +02:00
Dennis Guse 99e5dfbe72 Github Actions: somehow the emulator has not enough memory.
Fixes #599.
2021-04-13 19:18:18 +02:00
Dennis Guse 0fb43f6530 Test: fix failing Export/Import tests.
While recording with the sensor is used while on import only the GPS distance is available.
Introduced in a5158a55d9

Fixes #670.
2021-04-13 19:18:18 +02:00
Dennis Guse 6f9c788965 Value objects distance and speed.
#679
2021-04-13 19:18:18 +02:00
Quang Trung f2b1d2a386 Translated using Weblate (Vietnamese)
Currently translated at 77.8% (412 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/vi/
2021-04-13 04:33:26 +02:00
mondstern 18789a0729 Translated using Weblate (Polish)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pl/
2021-04-10 17:03:01 +02:00
mondstern d0f99be9d3 Translated using Weblate (French)
Currently translated at 86.5% (458 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fr/
2021-04-10 17:03:01 +02:00
Dennis Guse a899be4598 Use Duration for Markers (instead of long).
Now also tests.
2021-04-10 00:08:54 +02:00
Dennis Guse 1e518a4c35 Use a non-static Binder for TrackRecordingService.
Fixes #98.
2021-04-09 18:34:23 +02:00
Dennis Guse 1c6012596e Use Duration for Markers (instead of long). 2021-04-09 18:34:03 +02:00
Román Martínez 978206dee4 IntervalsFragment/IntervalStatisticsModel refactoring: better performance with AndroidViewModel (it doesn't recreate the model every track point done anymore).
Also, it doesn't jump anymore. Fixes #669.
2021-04-08 19:46:40 +02:00
Peter Storch 8713eb3d0c fix #698 added activity icon for kayaking 2021-04-07 13:30:14 +02:00
racuna d450e045b1 U: README_TESTED_SENSORS.md
A: Amazfit Neo
2021-04-06 18:13:21 +02:00
Dennis Guse 9f87f67153 While recording show coordinates by default. 2021-04-05 22:05:31 +02:00
Dennis Guse 3a073a3b0a Code cleanup. 2021-04-04 23:31:36 +02:00
Dennis Guse bc1b4e3cd2 Rename elevation to altitude (without translations).
Fixes #678.
2021-04-04 17:45:38 +02:00
Román Martínez e09b04308c Track recording service handles the status of recording: track's id, pause and GPS status.
Created an interface for all components that want to know about recording status through the service.
All interface's methods are optional so every component can implement what they need.
Fixes #388.
2021-04-04 13:15:42 +02:00
Román Martínez f3cf1a2571 Should instant export after workout if user set a directory and post_workout_export_enabled_key is True. Fixes #694. 2021-04-03 17:18:40 +02:00
Dennis Guse 7be4ac436c ChartView: missing (sensor) data does not draw until the end.
Fixes #42.
2021-04-03 15:27:11 +02:00
Mateusz Korniak 405120a78b Pl translation update.
Pl voice notification fixes.
2021-04-02 18:06:34 +02:00
Dennis Guse e86aeace79 Fix strings.xml for Ukrainian. 2021-03-31 21:56:59 +02:00
mondstern afe5c6ee92 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2021-03-31 21:54:11 +02:00
mondstern 055764b462 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-03-31 21:54:10 +02:00
mondstern 360738f4c8 Translated using Weblate (Dutch)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nl/
2021-03-31 21:54:10 +02:00
mondstern 3bd3e8fd9b Translated using Weblate (Italian)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2021-03-31 21:54:10 +02:00
mondstern 5cf421cf42 Translated using Weblate (Galician)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-03-31 21:54:10 +02:00
mondstern 455522a03d Translated using Weblate (Finnish)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2021-03-31 21:54:09 +02:00
mondstern b4c258c686 Translated using Weblate (Estonian)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2021-03-31 21:54:09 +02:00
mondstern 05ee54d58c Translated using Weblate (Spanish)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2021-03-31 21:54:09 +02:00
mondstern 28fbcdd2ca Translated using Weblate (Danish)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/da/
2021-03-31 21:54:08 +02:00
mondstern 0231343aa8 Translated using Weblate (Czech)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-03-31 21:54:08 +02:00
Max Schallert 852885cca1 Translated using Weblate (German)
Currently translated at 95.0% (503 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-03-30 17:33:21 +02:00
Dennis Guse d3c1247617 Bugfix: GPX TrackPointExtension/v2 broken.
Fixes #684.
2021-03-28 18:29:10 +02:00
Dennis Guse 0b30ecabb1 Release: v3.16.0 2021-03-24 22:35:33 +01:00
mondstern 107cc14a2d Translated using Weblate (Ukrainian)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2021-03-24 17:23:33 +01:00
mondstern 6d3d8bb83c Translated using Weblate (Basque)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/eu/
2021-03-24 17:23:33 +01:00
Michael Munzert 9c8e0335ef Translated using Weblate (German)
Currently translated at 90.1% (477 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-03-24 17:23:33 +01:00
FTno 8c648c69e8 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (529 of 529 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-03-24 17:23:33 +01:00
Valentine A 4422464f8d Translated using Weblate (Ukrainian)
Currently translated at 100.0% (526 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/uk/
2021-03-24 17:23:33 +01:00
mondstern d094531779 Translated using Weblate (Polish)
Currently translated at 88.2% (464 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pl/
2021-03-24 17:23:33 +01:00
mondstern a01341d235 Translated using Weblate (Basque)
Currently translated at 100.0% (526 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/eu/
2021-03-24 17:23:33 +01:00
mondstern 83065dad39 Translated using Weblate (Estonian)
Currently translated at 100.0% (526 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/et/
2021-03-24 17:23:33 +01:00
Dennis Guse 68ba3e0c2a Bugfix: announcements should consider hours when computing minutes.
Fixes #674.
2021-03-24 17:23:27 +01:00
Dennis Guse 3f21edc44c Cleanup. 2021-03-21 20:01:57 +01:00
Dennis Guse aefd1a6a35 Fixed test. 2021-03-21 19:58:18 +01:00
Dennis Guse 74fa73e4a4 TrackList: show aggregated stats icon in the first slot.
Fixes #657.
2021-03-20 22:21:18 +01:00
Dennis Guse 0a006d64f9 AnnouncementPeriodicTask: acquire sharedprefences on start (so it can be restarted).
Introduced in 15fbd90ca4.
Fixes #665.
2021-03-20 15:31:57 +01:00
dependabot[bot] 997ab6060e Bump gradle from 4.1.2 to 4.1.3
Bumps gradle from 4.1.2 to 4.1.3.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-19 08:19:53 +01:00
Román Martínez 6d926ca7a8 Notification manager shows GPS accuracy, distance and speed. Fixes #584 and #483. 2021-03-18 21:49:55 +01:00
dependabot[bot] 3c1f1a9ba5 Bump espresso-core from 3.4.0-alpha04 to 3.4.0-alpha05
Bumps espresso-core from 3.4.0-alpha04 to 3.4.0-alpha05.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-16 17:56:23 +01:00
Dennis Guse ed5da55fba Hack: Garmin Speed 2 might count backwards. 2021-03-15 17:27:41 +01:00
Dennis Guse d1e9649505 Garmin Speed 2: added workaround if cadence instead of speed is provided. 2021-03-15 17:27:41 +01:00
Dennis Guse 2431d60171 Cleanup. 2021-03-15 17:27:41 +01:00
Dennis Guse e08f5e7273 Cleanup: AnnouncementPeriodicTask uses TrackPointsIterator. 2021-03-15 17:27:41 +01:00
Dennis Guse 7d2a6fff59 TrackPointIterator: removed manual batching as it should not be necessary. 2021-03-15 17:27:41 +01:00
Dennis Guse a5158a55d9 Use distance from cycling speed sensors.
Fixes #505.
2021-03-15 17:27:41 +01:00
Dennis Guse 15fbd90ca4 Performance: Keep reference to sharedPreferences.
So far, we opened the SharedPreferences very often, which is very slow; also happened in the UI thread a lot.

Fixes #642.
2021-03-15 12:01:32 +01:00
mondstern eebc33f60c Translated using Weblate (Dutch)
Currently translated at 100.0% (526 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nl/
2021-03-14 19:22:32 +01:00
mondstern ba2a755fb7 Translated using Weblate (Italian)
Currently translated at 100.0% (526 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2021-03-14 19:22:32 +01:00
mondstern 344c50a20c Translated using Weblate (Finnish)
Currently translated at 100.0% (526 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2021-03-14 19:22:32 +01:00
mondstern 9a9a610321 Translated using Weblate (Spanish)
Currently translated at 100.0% (526 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2021-03-14 19:22:32 +01:00
mondstern 8af427ea48 Translated using Weblate (Danish)
Currently translated at 100.0% (526 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/da/
2021-03-14 19:22:32 +01:00
Dennis Guse 7b7d7c8061 GPX: export and import power data.
Fixes #638.
2021-03-14 19:22:29 +01:00
Román Martínez 7d6919d3f9 Bug fixed: ImportService send a list of Track.Id. 2021-03-14 19:22:05 +01:00
Román Martínez 7eceb979c3 Merge pull request #646 from OpenTracksApp/exportTrackName#512
Track exported names: UUID, track's name and extension
2021-03-14 18:43:28 +01:00
Román Martínez bd48944ad5 Track export name: first UUID, name and extension (<First 32bits UUID>_<track's name>.<extension>). Fixes #512. 2021-03-14 18:42:27 +01:00
Dennis Guse 503cba1315 Import: allow import multiple select files.
Fixes #559.
2021-03-14 12:48:27 +01:00
Dennis Guse a313cb6244 Enabling StrictMode for debugging simplified. 2021-03-12 20:15:50 +01:00
Román Martínez 7f0c6309c0 Merge pull request #634 from OpenTracksApp/ui#566
Recorded fragment shows name, desc, start datetime.
2021-03-12 19:55:12 +01:00
Román Martínez 02c578327d Shared element transition (from List to Recorded). 2021-03-12 19:37:35 +01:00
Román Martínez 7fec0dcff4 StatisticsRecordedFragment does not need to check null for track/trackStatistics. Fixes #635. 2021-03-12 19:37:35 +01:00
Román Martínez 34eb7a833a Statistics recorded fragment shows activity's information (name, description, start datetime).
Re-arrange stats putting the focus on moving stats.
Fixes #566.
2021-03-12 19:37:35 +01:00
Román Martínez 5db3aa7ac1 Lowercase units for sensors and unit next to value. 2021-03-12 19:37:35 +01:00
mondstern 47fd7c51a9 Translated using Weblate (Finnish)
Currently translated at 98.6% (519 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2021-03-11 21:16:40 +01:00
mondstern 2f6f0b4e17 Translated using Weblate (German)
Currently translated at 90.1% (474 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-03-11 21:16:40 +01:00
mondstern 41b794f66b Translated using Weblate (Finnish)
Currently translated at 97.9% (515 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2021-03-11 21:16:40 +01:00
paulle e2c592367a Translated using Weblate (German)
Currently translated at 88.9% (468 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/de/
2021-03-11 21:16:40 +01:00
Hatsune Miku 7a24c56474 Translated using Weblate (Sinhala)
Currently translated at 0.3% (2 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/si/
2021-03-11 21:16:40 +01:00
Hatsune Miku 3f6bd6926a Added translation using Weblate (Sinhala) 2021-03-11 21:16:40 +01:00
Dennis Guse 508af45449 Refactored TrackImporter interface. 2021-03-11 21:16:36 +01:00
Dennis Guse 0f89cd7875 GPX: support multiple tracks.
Fixes #617.
2021-03-11 21:16:36 +01:00
Dennis Guse 29b522b8a2 Cleanup. 2021-03-11 21:16:24 +01:00
Dennis Guse 14e63a1a54 Release: v3.15.4 2021-03-09 21:44:02 +01:00
Román Martínez e559583d23 Voice announcement in seconds instead of minutes. Fixes #640. 2021-03-09 20:14:54 +01:00
Dennis Guse 3b9711d82e Release: v3.15.3 2021-03-08 18:16:18 +01:00
Dennis Guse 114fc8255f KML export: remove #start (was broken due to #316) and #end (included track statistics) placemarks.
Fixes #629.
2021-03-08 18:11:36 +01:00
Dennis Guse 26e655d58f Cleanup. 2021-03-08 18:11:36 +01:00
Dennis Guse 815b6a3cf1 StatisticsRecordingFragment: set speed=0 when TrackPoint is outdated. 2021-03-07 22:28:53 +01:00
Dennis Guse 3dc8a724d8 Bug: StatisticsRecordingFragment: speed and location where sometimes 0.
Fixes #628.
2021-03-07 22:28:53 +01:00
Dennis Guse 70f571cd09 CI: avoid OutOfMemoryError.
Fixes #599.
2021-03-07 19:46:37 +01:00
Dennis Guse 3f5c3a5c08 Bugfix: Close cursor. 2021-03-06 18:27:24 +01:00
Dennis Guse a13465391f Import: replaced SAXParserException as it only shows the message of it's cause. 2021-03-06 18:13:06 +01:00
Dennis Guse 97454b5369 Statistics*Fragment now updates the units on track category change. 2021-03-04 19:18:31 +01:00
Dennis Guse f6a47c4594 Statistics*Fragement now uses SharedPreferenceListener instead of accessing preferences repeatedly. 2021-03-04 19:18:31 +01:00
Dennis Guse fce76230e1 TrackDataListener now passes most recent TrackPoint to onNewTrackPointsDone(). 2021-03-04 19:18:31 +01:00
Dennis Guse fdf4336a9b Cleanup. 2021-03-04 19:18:31 +01:00
Dennis Guse 844c6e9609 TrackPoint: moved methods into class. 2021-03-04 19:18:31 +01:00
Manuel Zangl 784942ffd2 Fixed longitudeText in StatisticsRecordingFragment 2021-03-04 17:38:42 +01:00
Román Martínez edf4ccc941 It computes the average for heart rate, cadence, and power (duration-based average) and the maximum for heart rate and cadence. 2021-03-02 19:55:18 +01:00
Dennis Guse d90258294f Release: v3.15.2 2021-03-01 19:42:16 +01:00
mondstern 01f4c13307 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (526 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-02-28 20:56:11 +01:00
FTno 873956426d Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (526 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-02-28 20:56:11 +01:00
Xosé M 4128c54960 Translated using Weblate (Galician)
Currently translated at 100.0% (526 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-02-28 20:56:11 +01:00
mondstern 9978bddf21 Translated using Weblate (Czech)
Currently translated at 100.0% (526 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-02-28 20:56:11 +01:00
Nikita Epifanov a9726b9a94 Translated using Weblate (Russian)
Currently translated at 81.5% (429 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/ru/
2021-02-28 20:56:11 +01:00
Crystal-RainSlide 05ba52bab5 Translated using Weblate (Chinese (Simplified))
Currently translated at 80.7% (425 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/zh_Hans/
2021-02-28 20:56:11 +01:00
FTno ca95f40e77 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (526 of 526 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-02-28 20:56:11 +01:00
mondstern 5cb85c4383 Translated using Weblate (Italian)
Currently translated at 98.4% (513 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2021-02-28 20:56:11 +01:00
mondstern d0a477b112 Translated using Weblate (Finnish)
Currently translated at 94.4% (492 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/fi/
2021-02-28 20:56:11 +01:00
mondstern ec365a18ca Translated using Weblate (Danish)
Currently translated at 88.2% (460 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/da/
2021-02-28 20:56:11 +01:00
mondstern 0ff735e559 Translated using Weblate (Czech)
Currently translated at 100.0% (521 of 521 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2021-02-28 20:56:11 +01:00
Dennis Guse 8a35835791 GPX export: re-implemented basic support for multiple tracks.
Fixes #614.
2021-02-28 20:56:05 +01:00
Dennis Guse e3569dab56 Release: v3.15.1 2021-02-27 18:40:05 +01:00
Dennis Guse 4040e3f45b Bugfix: crash on recording start due to show latitude/longitude option.
Fixes #613.
2021-02-27 18:37:42 +01:00
Dennis Guse eac7efba64 Upgrade desugar lib. 2021-02-26 21:30:08 +01:00
dependabot[bot] 21a3971a56 Bump mockito-android from 3.7.7 to 3.8.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.7.7 to 3.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.7.7...v3.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 08:07:43 +01:00
Dennis Guse 4e4a9abf6f Localization: fix/remove translation for wheel circumference (instead of wheel size).
Fixes #605.
2021-02-22 23:11:06 +01:00
Román Martínez a9624f72e7 Track recorded stats shows sensor data from trackpoints table.
Heart rate: maximum and average.
Cadence: maximum and average.
Power: average.
Fixes #525 and #502.
2021-02-14 17:34:19 +01:00
Dennis Guse bb38d274fb Voice announcements: cleanup. 2021-02-13 14:27:54 +01:00
Dennis Guse 418f092db9 Release: v3.15.0 2021-02-12 23:29:58 +01:00
Dennis Guse fa12086951 GPX: only export TrackPoints with lat/lng. (#591)
GPX: only export TrackPoints with lat/lng.
Thus, segmentation (manual/automatic) cannot be restored on import.
This also affects the TrackStatistics.
2021-02-09 19:00:28 +01:00
dependabot[bot] 4a340380ac Bump espresso-core from 3.4.0-alpha03 to 3.4.0-alpha04
Bumps espresso-core from 3.4.0-alpha03 to 3.4.0-alpha04.

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-09 18:50:10 +01:00
Dennis Guse cd4e0abd6f SensorData: use Instant instead of long. 2021-02-07 23:16:12 +01:00
dependabot[bot] 854c8727e5 Bump material from 1.2.1 to 1.3.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.2.1...1.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-05 16:52:57 +01:00
Román Martínez 2f3d9a29f3 Fixed a bug: TrackDataHub will send to listeners all TrackPoints every time a change on trackpoints table was observed. Fixes #582. 2021-01-30 23:15:54 +01:00
Dennis Guse 18cdbe94a9 i18n: app_name cannot be translated anymore.
Fixes #581.
2021-01-30 21:33:17 +01:00
Dennis Guse 18e179cfe3 Merge remote-tracking branch 'weblate/main' into main 2021-01-30 21:24:20 +01:00
Román Martínez 63e3c7a4e7 Updated README file with new screenshots. 2021-01-29 16:04:28 +01:00
Xosé M c6deca9bbd Translated using Weblate (Galician)
Currently translated at 100.0% (522 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2021-01-29 16:03:27 +01:00
Vinicius 9ef6ae5e25 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (522 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2021-01-29 16:03:27 +01:00
Román Martínez 29b1ded68c Updated README file with new screenshots. 2021-01-29 16:03:16 +01:00
Román Martínez 6239e2fcad New screenshots and script to convert SVG to PNG. 2021-01-29 15:56:34 +01:00
Dennis Guse bdfcd9c89f TrackStatistics: merge previous segment whenever a new starts/ends.
(also adapting the test).
2021-01-24 22:49:40 +01:00
Dennis Guse f8f78d28dd TrackStatistics: merge previous segment whenever a new starts/ends. 2021-01-24 22:21:37 +01:00
Dennis Guse cbe469d5e4 Import: empty tracks cannot be imported as TrackStatistics cannot be restored.
#316.
2021-01-24 22:21:37 +01:00
Dennis Guse e0553f812f Import: segments might contain no TrackPoints.
#316.
2021-01-24 22:21:37 +01:00
Dennis Guse 5aa016b5b9 Import: compute TrackStatistics onTrackEnd.
ExportImportTest were not checking TrackStatistics correctly.

#316.
2021-01-24 22:21:37 +01:00
Dennis Guse c3741611dc TrackStatisticsUpdater updates only by adding TrackPoints.
#316.
2021-01-24 22:21:37 +01:00
Dennis Guse d157e94220 Marker refactoring.
Location values are stored directly.
2021-01-24 22:21:37 +01:00
Dennis Guse 022d8146fe TrackDataHub always sends via handler. 2021-01-24 22:21:37 +01:00
Dennis Guse 912fd1aa2f TrackStatistics startTime/stopTime is null on creation. 2021-01-24 22:21:36 +01:00
Dennis Guse 1d46981717 Cleanup. 2021-01-24 22:21:36 +01:00
Dennis Guse e990b413cd Replace long time_ms with Instant and Duration, respectively.
Fixes #561.
2021-01-24 22:21:36 +01:00
Dennis Guse 3bbcbfe202 Dashboard API: send protocol version v2. 2021-01-24 22:21:36 +01:00
Dennis Guse 9d8f49f1dc Segments: document new TrackPoint segment structure.
#316.
2021-01-24 22:21:36 +01:00
Dennis Guse 9f6d6711e5 Segments: on import restore manual segment start/end if resume/pause trackpoints were exported. 2021-01-24 22:21:36 +01:00
Dennis Guse f635d56ceb Cleanup. 2021-01-24 22:21:36 +01:00
Dennis Guse ab47320216 Segments: import/export is working incl. restoring TrackStatistics.
KML exports sensor data if actually present.

#316.
2021-01-24 22:21:36 +01:00
Dennis Guse 47b2d0748a Segments: only insert one trackpoint and set the type.
Existing data is not migrated.
#316.
2021-01-24 22:21:36 +01:00
Dennis Guse bc66cd33a9 Use system time instead of GPS-provided time.
#316.
2021-01-24 22:21:36 +01:00
Dennis Guse fcc17413e3 Segments: use TrackPoint.type.
So, far specific latitude for segment start/end (i.e., PAUSE/RESUME) was used.
#316.
2021-01-24 22:21:36 +01:00
Dennis Guse 163af2dab2 Release: v3.14.3 2021-01-24 22:08:26 +01:00
Dennis Guse 393e2022a1 Bugfix: database downgrade from 30 to 29 removed required elevation_gain column. 2021-01-24 22:06:48 +01:00
Dennis Guse 793928a5a6 Release: v3.14.2 2021-01-24 21:27:25 +01:00
Dennis Guse 50bb0b14b4 Segments: database upgrade/downgrade functionality for version 30; version 29 is still used.
This will store segment data in TrackPoint.type.
This commit will enable downgrading to previous version.

#316.
2021-01-24 21:14:50 +01:00
Román Martínez 8a08e7b2b5 Creates thumbnail from marker's photos for marker's list.
These thumbnails are created and loaded async using cache from free memory available.
Fixes #545.
2021-01-24 17:43:18 +01:00
FTno e9e9fdcc3f Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (522 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-01-20 07:52:54 +01:00
FTno 83c471ccb6 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (522 of 522 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-01-20 07:52:54 +01:00
FTno 17479c438b Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.6% (514 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-01-20 07:52:54 +01:00
FTno 943c80f9ec Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.6% (514 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-01-20 07:52:54 +01:00
FTno 23751306a4 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.4% (513 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2021-01-20 07:52:54 +01:00
dependabot[bot] 78b712a291 Bump gradle from 4.1.1 to 4.1.2
Bumps gradle from 4.1.1 to 4.1.2.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-20 07:52:48 +01:00
dependabot[bot] f8432adaa0 Bump mockito-android from 3.7.0 to 3.7.7
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.7.0 to 3.7.7.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.7.0...v3.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 17:27:56 +01:00
Dennis Guse 80b26f2a04 MarkerDetail accepts Marker.Id also as long.
Fixes #567.
2021-01-17 17:54:07 +01:00
Dennis Guse 41e6e80cfc Statistics: fix position of moving time. 2021-01-16 23:09:15 +01:00
dependabot[bot] 7e72b29c3f Bump espresso-core from 3.4.0-alpha02 to 3.4.0-alpha03
Bumps espresso-core from 3.4.0-alpha02 to 3.4.0-alpha03.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-14 12:28:38 +01:00
Román Martínez 860df0197e ImportActivity offers to open track option (when only one track is imported). Fixes #558. 2021-01-10 20:40:14 +01:00
Román Martínez f1d791a62c Import/Export summary messages improved (only show useful data). 2021-01-10 20:40:14 +01:00
Dennis Guse e9551bea36 Introduced TrackPoint.Id. 2021-01-10 20:25:59 +01:00
Dennis Guse 577b978a5c Cleanup. 2021-01-10 20:25:59 +01:00
Dennis Guse a689b6eb2c Cleanup: removed descending iterator for TrackPoints. 2021-01-10 20:25:59 +01:00
Dennis Guse ccd93dd17d Track.Id must now always be valid (if present). 2021-01-10 20:25:59 +01:00
Dennis Guse f4fe1d8d97 Marker.Id must now always be valid (if present). 2021-01-10 20:25:59 +01:00
Dennis Guse d1290c8f22 Prevent re-import should be translatable. 2021-01-09 12:51:12 +01:00
dependabot[bot] a340cb57de Bump mockito-android from 3.6.28 to 3.7.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.6.28 to 3.7.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.6.28...v3.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-06 18:56:18 +01:00
Dennis Guse 75b8f3b9cf Release: v3.14.1 2021-01-03 13:25:19 +01:00
Jaroslav Lichtblau 9462221a28 Translated using Weblate (Czech)
Currently translated at 100.0% (516 of 516 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/cs/
2020-12-31 12:34:58 +01:00
FTno af82eae8a4 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.4% (511 of 514 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2020-12-31 12:34:58 +01:00
Román Martínez 1c4946e85b Move RuntimeException to ImportParseExceptio so app is not crashes and import process go on. Fixes #557. 2020-12-31 12:34:38 +01:00
Román Martínez fd1b7b8af9 Added opentracks:gain and opentracks:loss information in GPX files. Fixes #555. 2020-12-26 20:30:10 +01:00
Dennis Guse eb02c4c469 Marker images can now be shared from the list directly via the context menu (like tracks).
Fixes #495.
2020-12-25 18:36:41 +01:00
Román Martínez 4714171e21 Added elevation loss via barometer (like elevation gain). Fixes #547. 2020-12-25 18:19:01 +01:00
Dennis Guse 4bff376442 pt-BR: plural vs lint. 2020-12-20 00:17:00 +01:00
Dennis Guse c14413cbe7 CodeQL action: removed now unecessary step. 2020-12-20 00:03:42 +01:00
Vinicius 778fb4b346 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (507 of 507 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pt_BR/
2020-12-19 23:16:02 +01:00
Xosé M 130552f0eb Translated using Weblate (Galician)
Currently translated at 100.0% (507 of 507 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2020-12-19 23:16:02 +01:00
FTno 41eca663e8 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (507 of 507 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2020-12-19 23:16:02 +01:00
FTno 6c79702075 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.0% (502 of 507 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2020-12-19 23:16:02 +01:00
FTno 6d109a1c5a Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.0% (497 of 507 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2020-12-19 23:16:02 +01:00
FTno b71904a3bd Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.4% (494 of 507 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2020-12-19 23:16:01 +01:00
bortox ef28784682 Translated using Weblate (Italian)
Currently translated at 100.0% (507 of 507 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/it/
2020-12-19 23:16:01 +01:00
FTno 05b7242191 Translated using Weblate (Norwegian Bokmål)
Currently translated at 93.4% (474 of 507 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2020-12-19 23:16:01 +01:00
Xosé M 94c69f92a6 Translated using Weblate (Galician)
Currently translated at 100.0% (506 of 506 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/gl/
2020-12-19 23:16:01 +01:00
mitakjakub 8f12ba3d48 Translated using Weblate (Polish)
Currently translated at 86.1% (436 of 506 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/pl/
2020-12-19 23:16:01 +01:00
Román Martínez 190a572951 Translated using Weblate (Spanish)
Currently translated at 100.0% (506 of 506 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/es/
2020-12-19 23:16:01 +01:00
FTno 7ae8809101 Translated using Weblate (Norwegian Bokmål)
Currently translated at 93.6% (474 of 506 strings)

Translation: OpenTracks/opentracks.src-main-res-values-strings-xml--main
Translate-URL: https://weblate.bubu1.eu/projects/OpenTracks/opentracks/nb_NO/
2020-12-19 23:16:01 +01:00
Dennis Guse 19a7ef3217 Activity icon now properly tint'ed in detail activity. 2020-12-19 18:29:34 +01:00
Dennis Guse f261e8ab9d Cleanup. 2020-12-17 23:16:09 +01:00
Dennis Guse a41160229d Implement basic EspressoUI test. 2020-12-17 23:16:09 +01:00
Dennis Guse 2fa8b998f9 Code cleanup using AndroidStudio's analyze feature. 2020-12-17 19:59:53 +01:00
Román Martínez 99847dbed9 Just tiny changes. 2020-12-17 19:15:35 +01:00
Román Martínez 483736637e Refactoring MarkerEditActivity. Logic has been moved to a ViewModel. 2020-12-17 19:15:35 +01:00
Dennis Guse e133743547 Actionbar: icon provides back functionality (except in TrackListActivity). 2020-12-17 18:56:42 +01:00
Dennis Guse eb2c2b4d78 As of ADT 14 as well as Gradle Plugin 5.0 those are not final anymore.
Fixes #544.

Missed in 1862e38a20
2020-12-15 23:36:03 +01:00
Dennis Guse 1409537e56 AggregatedStatistics: fixed ViewHolder pattern. 2020-12-15 22:53:52 +01:00
Dennis Guse 76c3699518 Intervals: list height should match parent. 2020-12-15 22:46:01 +01:00
Dennis Guse 5675dc800d Aggregated stats: ordered by number number of tracks per category. 2020-12-13 22:44:44 +01:00
Dennis Guse e1e7c24d9f Aggregated stats: icon now primary color, value centered. 2020-12-13 18:40:06 +01:00
Dennis Guse 2733071a4d Aggregated stats: simplified layout. 2020-12-13 18:14:39 +01:00
Dennis Guse 2255624235 Cleanup: rename waypoint to marker (tests). 2020-12-13 18:05:08 +01:00
Dennis Guse 55fa6d2d79 Code cleanup using AndroidStudio. 2020-12-13 18:05:08 +01:00
Dennis Guse 96371336f4 MarkerDetailFragment: load markerId once in onCreate(). 2020-12-13 17:12:03 +01:00
Dennis Guse 1862e38a20 Compare resourceIds via if rather than switch.
As of ADT 14 as well as Gradle Plugin 5.0 those are not final anymore.
Fixes #544.
2020-12-12 22:14:51 +01:00
Dennis Guse 397e056f6f Release: v3.14.0 2020-12-10 22:52:02 +01:00
Dennis Guse eb79f2277a ChartView let's parent handle TouchEvents if not zoomed. 2020-12-06 22:35:44 +01:00
Román Martínez ae8833d21b ViewPager migrate to ViewPager2. Fixes #522.
Swiping between tabs work. Fixes #105.
2020-12-06 22:35:44 +01:00
Dennis Guse e8017a4e9d Bugfix: In preferences, the Bluetooth search icon was only animated after opening the dialog a 2nd time. 2020-12-06 00:09:24 +01:00
Dennis Guse cea180f871 Code cleanup using AndroidStudio's Analyze feature. 2020-12-05 23:22:15 +01:00
Dennis Guse be1b6ece9d IntervalsFragment: generate UI values from strings.xml (i18n). 2020-12-05 23:11:29 +01:00
Vanous 0592863d3c add Huami devices into Readme Tested Sensors 2020-12-05 15:42:09 +01:00
Dennis Guse 18bc100d5a BLE sensors: Miband3's is now considered a heart rate sensor during discovery.
Some BLE devices do not announce all there supported services in the BLE advertisement packages.
Android's ScanFilter decides based upon this information only.
When connecting to such a device (and trigger service discovery), the service can still be used.

Fixes #447.
2020-12-05 12:36:57 +01:00
Peter Storch 4476a15558 throw Exception when no doc.kml file found in kmz 2020-11-29 13:56:22 +01:00
Peter Storch 215c28be85 fix #537 ignore waypoint markers with invalid
coordinates on import.

I've also added a unit test with such an export file.
2020-11-29 13:56:22 +01:00
Dennis Guse a429fbe4df Interval list: RTL and localized formatting (only default strings.xml). 2020-11-28 15:05:49 +01:00
Dennis Guse 6b470c7fdc Intervals: change label from elevation to gain. 2020-11-28 15:05:49 +01:00
Dennis Guse 6b690f38ad Charts: text size is resolved from styles.
Fixes #524.
2020-11-28 15:05:49 +01:00
Dennis Guse f138826d60 Text in charts now scales using Android's global settings.
Fixes #524.
2020-11-28 15:05:49 +01:00
Dennis Guse 14ac29095d Removed unused theme. 2020-11-28 15:05:49 +01:00
Dennis Guse a3f4de7d18 Interval list: table header in accent color. 2020-11-28 15:05:49 +01:00
Dennis Guse 6392e88dc7 Enable RTL. 2020-11-28 15:05:49 +01:00
FTno 1e913d6bb5 Update strings.xml
Typos in source strings - Issue #530
2020-11-26 07:35:34 +01:00
dependabot[bot] ced8454f59 Bump mockito-android from 3.6.0 to 3.6.28
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.6.0 to 3.6.28.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.6.0...v3.6.28)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-25 12:15:57 +01:00
Román Martínez 974a5afeb1 Only clean if parse error is out of <trk> 2020-11-25 06:39:07 +01:00
Román Martínez 9c9bdde6b9 Import files by track in memory (avoid clean track when error). Fixes #473. 2020-11-25 06:39:07 +01:00
Dennis Guse ca2bc6426c Release: v3.13.2 2020-11-22 20:21:50 +01:00
Dennis Guse 81097aac40 Bugfix: crash in landscape mode in TrackController due to wrong background. 2020-11-22 20:21:11 +01:00
Dennis Guse a74b5fc743 Cleanup. 2020-11-21 18:42:32 +01:00
Dennis Guse e996ad0a0c Release: v3.13.1 2020-11-21 10:37:25 +01:00
Dennis Guse 0f726958e0 Revert "Shrinking all APK builds without obfuscation. Fixes #433."
Introduced #523.

This reverts commit 34834120
2020-11-21 10:34:15 +01:00
Peter Storch 3a84520819 removed duplicate export 2020-11-20 21:56:39 +01:00
Dennis Guse 8328069b9d README: add human tech badge :)
Fixes #521.
2020-11-20 21:51:45 +01:00
Peter Storch b2df79caf2 fix #516 post workout export fails silently (#520)
Change the post workout export to use the ExportService (JobIntentService) and directing the user to the SettingsActivity in case the export failed to check the export directory.
2020-11-20 20:59:52 +01:00
Dennis Guse 6bcb8db40c Release: v3.13.0 2020-11-17 22:21:24 +01:00
Román Martínez 974baaf611 Marker Bugfixes: markers deletion didn't work and track import didn't include marker's photos. Fixes #514.
Marker edition bugfixed: orphan photos are deleted.
2020-11-17 22:02:26 +01:00
Dennis Guse fd77e77bb9 TrackController: readded stop button's pressed state.
Removed in 18546fd3cc
2020-11-17 21:49:21 +01:00
Dennis Guse 1e8beff015 TrackController: refactor button (delayed action) UI and use handler. 2020-11-17 21:43:12 +01:00
Dennis Guse 96bc347374 Activity icon uses now an image instead of a spinner (which was only used as an icon).
Fixed #503.
2020-11-17 21:43:12 +01:00
dependabot[bot] 8f144d4a97 Bump desugar_jdk_libs from 1.1.0 to 1.1.1
Bumps [desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-13 07:26:29 +01:00
Dennis Guse 3c3641376d Added power meter infos to READMEs. 2020-11-12 17:12:44 +01:00
Dennis Guse 35f4427aec Merge pull request #444 from OpenTracksApp/cyclingPower
Bluetooth Sensor: add cycling powermeter.
2020-11-12 12:00:13 +01:00
Dennis Guse 5a0cb10838 Bugfix: cadence and speed now can compare when data is not set. 2020-11-11 21:25:56 +01:00
Dennis Guse bf92851c97 Show sensor data's unit. 2020-11-11 21:08:39 +01:00
Dennis Guse 55c45b2050 Bugfix: SensorDataCycling.toString() should use attributes instead of their getters. 2020-11-11 21:08:39 +01:00
Román Martínez d01715444f Adaptive recording layout for sensors (heart rate, cycling cadence and cycling power). 2020-11-11 21:08:39 +01:00
Dennis Guse 634a7a4321 Bluetooth Sensor: add cycling powermeter. 2020-11-11 21:08:39 +01:00
Dennis Guse e5911a79ab Translation: Norwegian used wrong language code.
Introduced in 56aab12110
Fixes #515.
2020-11-11 20:07:59 +01:00
dependabot[bot] a78b3eb66d Bump gradle from 4.1.0 to 4.1.1
Bumps gradle from 4.1.0 to 4.1.1.

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-11 07:53:54 +01:00
Román Martínez 28890abd47 Bugfix: view changed from wrong thread. Fixes #509. 2020-11-09 20:19:08 +01:00
Dennis Guse 0a466d240b Wrap searchQuery in SQLite wildcards. 2020-11-09 18:56:25 +01:00
Dennis Guse 9ef312fc93 Search is now handled by TrackListActivity and MarkerListActivity.
* data is loaded via cursor,
* removed custom ranking (handled in database),
* search text is wrapped with wildcards, and
* search view can be closed by back button.

Fixes #492.
2020-11-09 18:56:25 +01:00
Dennis Guse 56aab12110 Noway's translation was included twice. 2020-11-09 18:55:38 +01:00
Dennis Guse c394448273 Removed Transifex configuration. 2020-11-09 18:41:38 +01:00
Dennis Guse 95671f4927 Translation is now on Weblate. 2020-11-09 18:27:38 +01:00
Dennis Guse 348341204e Shrinking all APK builds without obfuscation.
Fixes #433.
2020-11-09 12:09:37 +01:00
Román Martínez 82f5c127ee Bugfix: NPE in import. Fixes #506. 2020-11-08 14:33:31 +01:00
Dennis Guse dd490f528e Cursors must be closed. 2020-11-08 00:37:01 +01:00
Christoph Wurst 27731319f0 Fix internet access typo in readme
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-07 10:05:41 +01:00
Christoph Wurst 86bfe6d0ce Fix formatting of md lists, remove trailing whitespaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-07 09:21:55 +01:00
Christoph Wurst ea8bbb0b36 Update list of tested sensors with Polar H10 and Garmin SPD/CAD
Adds three tested sensors
* "Polar H10" heart rate sensor
* "Garmin Cadence Sensor 2" cadence sensor
* "Garmin Speed Sensor 2" speed sensor

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-07 09:21:55 +01:00
dependabot[bot] c02fdd3bba Bump desugar_jdk_libs from 1.0.10 to 1.1.0
Bumps [desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 1.0.10 to 1.1.0.
- [Release notes](https://github.com/google/desugar_jdk_libs/releases)
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-04 07:46:08 +01:00
Dennis Guse d16cbe04a5 Release: v3.12.0 2020-11-03 20:11:21 +01:00
Peter Storch 90a8fc898a fix #491 crash export on android 11 2020-11-03 19:57:19 +01:00
Dennis Guse 8d141b1324 TrackListActivity now loads marker count via join rather than a 2nd select.
Fixes #328.
2020-11-01 21:53:11 +01:00
Peter Storch 43e0f33776 optimize multiple track deletion
After #480 got implemented, we can now delete multiple tracks in one go and only cause DB vacuum once.
2020-11-01 21:11:58 +01:00
Román Martínez e4270b983a ExportActivity bugfix: setContentView was missing. 2020-11-01 13:21:53 +01:00
Dennis Guse 0209a90e01 Code cleanup. 2020-11-01 08:38:47 +01:00
Dennis Guse 0f92a37146 Use ViewBinding for activities. 2020-11-01 08:20:26 +01:00
Dennis Guse 9cebb1013c Implement ViewBindings for Fragments. 2020-10-31 22:21:49 +01:00
Dennis Guse 6ac0db7238 Move handling of sensor removal (from settings) in BluetoothConnectionManager.BluetoothConnectionManager. 2020-10-31 22:21:49 +01:00
Dennis Guse 3c1ab01df6 SensorData uses null internally instead of NaN. 2020-10-31 22:21:49 +01:00
Dennis Guse b6850eb46f BluetoothSensorManager: on initiate connect to sensor, report address to be shown on UI.
Fixes #64.
2020-10-31 22:21:49 +01:00
Dennis Guse 08b9cb31fa StatisticsRecordingFragment does not need to check GPS accuracy. 2020-10-31 21:38:57 +01:00
Dennis Guse 9541a92657 Small cleanups and improvements code. 2020-10-31 20:39:37 +01:00
Román Martínez acc2627bde Activity with progress and summary for import all option. Fixes #471.
ErrorListDialog shared by ExportActivity and ImportActivity.
2020-10-31 20:39:37 +01:00
Dennis Guse 48c3695b5d Database enforces foreign key constraints incl. cascading deletes. (#480)
* Database enforces foreign key constraints incl. cascading deletes.
Fixes #317.
2020-10-30 21:26:13 +01:00
Dennis Guse 2b280f050c SharedContentProvider now uses parent ContentProvider directly instead of ContentProviderUtils. 2020-10-30 21:25:41 +01:00
dependabot[bot] 68f34d9682 Bump constraint-layout from 2.0.3 to 2.0.4
Bumps constraint-layout from 2.0.3 to 2.0.4.

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-30 09:07:44 +01:00
Dennis Guse f56820e132 Documentation: added TrackPoint descriptions regarding track segments. 2020-10-29 19:10:39 +01:00
dependabot[bot] 0f5d72f098 Bump constraint-layout from 2.0.2 to 2.0.3
Bumps constraint-layout from 2.0.2 to 2.0.3.

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-28 23:08:14 +01:00
dependabot[bot] accbc5a8ac Bump mockito-android from 3.5.15 to 3.6.0
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.5.15 to 3.6.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.15...v3.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-27 08:12:20 +01:00
Dennis Guse 0bc9f6a042 Update README_TESTED_SENSORS.md
Fixes #468.
2020-10-26 18:24:42 +01:00
Peter Storch bbb91fedc5 fix #470 Unable to parse kml in kmz 2020-10-22 19:22:46 +02:00
Peter Storch 433ab01ece Track.Id.toString returns string representation of id 2020-10-22 19:17:53 +02:00
Peter Storch 88e1a95da7 fix NPE introduced in #466 2020-10-22 19:08:52 +02:00
Román Martínez d4483819eb ImportActivity intent filters. (#466)
* ImportActivity intent filters.

* add intent_filter to work with Locus and OsmAnd

* extent intent filters

Co-authored-by: Peter Storch <peter.storch@gmail.com>
2020-10-21 22:52:39 +02:00
Román 917b8f4056 Edit texts: select all on focus and capitalize by words/sentences. Fixes #461. 2020-10-20 21:31:43 +02:00
Román 70c1379778 Export All: ask to the user when conflicts (track already exported in the selected directory) and show a summary. Fixes #451. 2020-10-20 12:07:58 +02:00
dependabot[bot] 5a60f40308 Bump mockito-android from 3.5.13 to 3.5.15
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.5.13 to 3.5.15.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.13...v3.5.15)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-20 08:23:36 +02:00
Peter Storch df9589697a idea config files with android studio upgrade 2020-10-19 22:42:53 +02:00
Dennis Guse 27443cc716 Updated translations. 2020-10-17 12:45:48 +02:00
Dennis Guse 654be751a7 Theming: day/night mode is defaults to system. 2020-10-16 20:08:12 +02:00
Dennis Guse 3a8f3e46c7 Refactor post-workout export. 2020-10-16 12:23:39 +02:00
thrillfall b270c45691 - add default export directory
- add instant post workout track export
2020-10-16 12:23:39 +02:00
dependabot[bot] 257d8c1276 Bump gradle from 4.0.2 to 4.1.0
Bumps gradle from 4.0.2 to 4.1.0.

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 21:41:15 +02:00
Dennis Guse 8521b98f4b Bitcoin addresses are lower case (Bech32). 2020-10-13 21:24:59 +02:00
Dennis Guse eaf655f6e7 Upgrade gradle wrapper to 6.5 2020-10-13 18:15:47 +02:00
Dennis Guse 24c7f3fd7a Add option to donate via Bitcoin. 2020-10-13 18:07:28 +02:00
Román a4bab656e4 New screenshots. 2020-10-11 13:57:39 +02:00
Román 679c1d7e3e Intervals: TrackDataHub instead of ContentProvider. Fixes #453. 2020-10-11 12:12:44 +02:00
Román 0036934fb3 Intervals: added elevation gain and only shows speed or pace, depending on settings. 2020-10-11 12:12:44 +02:00
Román c508747203 Bugfix: import gpx file added heart rate like a speed because a break missing. 2020-10-08 12:39:31 +02:00
dependabot[bot] 0f4c0079d7 Bump gradle from 4.0.1 to 4.0.2
Bumps gradle from 4.0.1 to 4.0.2.

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-07 12:55:35 +02:00
dependabot[bot] 9e6bb1c511 Bump constraint-layout from 2.0.1 to 2.0.2
Bumps constraint-layout from 2.0.1 to 2.0.2.

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-07 12:55:17 +02:00
Dennis Guse a42bdf32e1 Release: v3.11.1 2020-10-06 08:16:58 +02:00
Dennis Guse c29d69b44d Cleanup. 2020-10-05 22:59:21 +02:00
Román 547b1d07bd Bugfix: interval stats announced incorrectly because an error in last interval computing. Fixes #443. 2020-10-05 20:08:07 +02:00
Dennis Guse 22a1dfd354 README: removed link to Maps.ME due to the amount of embedded trackers. 2020-10-04 12:51:14 +02:00
Dennis Guse be81e758c6 License: use non-Markdown, so Github-API identifies it. 2020-09-26 23:16:19 +02:00
Dennis Guse b3117e6410 Release: v3.11.0 2020-09-26 20:23:32 +02:00
Dennis Guse 47ab109c2b F-Droid now signs APKs with v2, so installing on Android 11 works.
More info: #421
This reverts commit ee22fd8e
2020-09-26 19:56:22 +02:00
Dennis Guse bc04efbaac Bugfix: for export all write permissions are required.
Android 11 enforces this (and it is good practice).
Fixes #439.
2020-09-26 19:52:48 +02:00
Román fbb9d21e73 TrackRecordingActivity keeps Track.Id value instead of track object. Every time the track is needed it gets it. Fixes #435. 2020-09-26 16:47:51 +02:00
dependabot[bot] f5308e4287 Bump mockito-android from 3.5.11 to 3.5.13
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.5.11 to 3.5.13.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.11...v3.5.13)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-25 18:20:32 +02:00
Dennis Guse 15b5920e3b README: add F-Droid version shield 2020-09-25 12:37:58 +02:00
Dennis Guse d09aaab398 Theming: import/export finished dialog needs to be AndroidX. 2020-09-24 22:45:20 +02:00
pappapisshu f7008e2362 Update strings.xml
Fixed italian translation.
2020-09-24 17:16:54 +02:00
Dennis Guse e939778beb Refactor: use marker instead of waypoint.
Fixes #389.
2020-09-23 17:16:34 +02:00
Dennis Guse 8643b50bd1 Bugfix: application context does not provide access to theme attributes. 2020-09-23 12:12:34 +02:00
Dennis Guse 74e42525d4 Cleanup. 2020-09-23 08:11:10 +02:00
Dennis Guse 833a387574 Theming: splashscreen uses dark background color. 2020-09-23 08:05:40 +02:00
Dennis Guse e574c67ad6 Theming: activity icons are now in textColorPrimary.
And replaced spinner in StatisticsRecordedFragment.
2020-09-23 07:36:15 +02:00
Dennis Guse ce38d5e891 Theming: define colorAccent. 2020-09-23 07:36:15 +02:00
Dennis Guse 3a44da4a9d Theming: stats labels use color accent. 2020-09-23 07:36:15 +02:00
Dennis Guse eba9106db5 Theming: delete dialog needs to be Androidx for proper theming. 2020-09-23 07:36:15 +02:00
Dennis Guse 4501226562 Theming: reduce font size of lists first line. 2020-09-23 07:36:15 +02:00
Dennis Guse b974193564 Theming: delete dialog uses delete icon. 2020-09-23 07:36:15 +02:00
Dennis Guse 0b3e447258 Theming: charts use theme text colors. 2020-09-23 07:36:15 +02:00
Dennis Guse 9908cc02a2 Theming: added color.xml for night styling. 2020-09-23 07:36:15 +02:00
Dennis Guse 4e67011d7c Theming: style selected list items with transparent color. 2020-09-23 07:36:15 +02:00
Dennis Guse 5f93c0bab3 Theming: tabs use default indicator color. 2020-09-23 07:36:15 +02:00
Dennis Guse caec5e7c45 Theming: chart use default design background color. 2020-09-23 07:36:15 +02:00
Dennis Guse 240cb4b363 Theming: chart colors extracted. 2020-09-23 07:36:15 +02:00
Dennis Guse 91e8eb66b1 Theming: chart text is now rendered as FILL_AND_STROKE. 2020-09-23 07:36:15 +02:00
Dennis Guse 27bd69ec62 Code cleanup. 2020-09-23 07:36:15 +02:00
Dennis Guse 553fd39e21 Theming: make SplashScreen fullscreen. 2020-09-23 07:36:15 +02:00
Dennis Guse 733ee1c6e6 Theming: move TrackEdit to material design text fields. 2020-09-23 07:36:15 +02:00
Dennis Guse ef61c9597d Theming: activity chooser matches parent height. 2020-09-23 07:36:15 +02:00
Dennis Guse e874af791e Theming: removed all custom modifications to Holo theme. 2020-09-23 07:36:15 +02:00
Dennis Guse a4b2bb1aa0 Theming: tint all icons with colorControlNormal. 2020-09-23 07:36:15 +02:00
Dennis Guse bc9b20ffc8 Theming: marker detail uses default background. 2020-09-23 07:36:15 +02:00
Dennis Guse 6f212328a1 Theming: merged edit buttons into layout. 2020-09-23 07:36:15 +02:00
Dennis Guse a68cde7ac9 Theming: listView main item is now TextLarge. 2020-09-23 07:36:15 +02:00
Dennis Guse 5cab331058 Theming: removed custom spinner style. 2020-09-23 07:36:15 +02:00
Dennis Guse 6d25a10abd Theming: use default text color. 2020-09-23 07:36:15 +02:00
Dennis Guse d2516947f2 Theming: removed custom radio button style - use Material design. 2020-09-23 07:36:15 +02:00
Dennis Guse 4150d060ee Theming: enable day/night mode incl. app-wide setting. 2020-09-23 07:36:15 +02:00
Dennis Guse 1688076457 Theming: use AppCompat themes instead of Holo. 2020-09-23 07:36:15 +02:00
Román 5c1f669b2b Bugfix: spinner adapter needed notifyDataSetChanged to reload intervals with unit when user change from km to mi and the other way around. 2020-09-21 19:12:57 +02:00
Dennis Guse cc1e080ce1 Interval statistics: show unit in dropdown. 2020-09-20 19:05:32 +02:00
Dennis Guse 0dfd31a308 Code cleanup via Android Studio analyze.
Notably change: TrackPoint's copy constructor missed to copy the elevationGain.
2020-09-20 18:46:05 +02:00
dependabot[bot] bd13535d3c Bump mockito-android from 3.5.10 to 3.5.11
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.5.10 to 3.5.11.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.10...v3.5.11)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-18 08:07:00 +02:00
Dennis Guse 27386bb4f0 Localization: update via Transifex CLI. 2020-09-17 23:44:37 +02:00
Dennis Guse c6c07f03bf Localization: add configuration for Transifex CLI. 2020-09-17 23:43:28 +02:00
Dennis Guse b0ad08f7c5 Release: v3.10.0 2020-09-14 18:38:48 +02:00
Román d1957331b8 Intervals refactoring: added stack mode to the intervals adapter with two possibilities: stack from top and stack from bottom.
Stack from top for recorded intervals (the first lap in the top).
Stack from bottom for recording intervals (the last lap in the top).
2020-09-14 18:31:12 +02:00
Román ffedc04777 Intervals refactoring: avoid duplication code: IntervalsRecordingFragment is a version of IntervalsFragment. 2020-09-14 18:31:12 +02:00
Román 684762db58 Intervals refactoring: ListView instead of LinearLayout with a list of views. 2020-09-14 18:31:12 +02:00
thrillfall 5a44da3fb0 extract logic for creating DocumentFile for export to align naming 2020-09-14 17:25:29 +02:00
Dennis Guse 88cf46d999 Bugfix: another missed toString() in the id-refactoring. 2020-09-14 12:29:31 +02:00
Román 906b9413d1 Improved and simplified lap time/speed announcement message. 2020-09-13 19:30:17 +02:00
Dennis Guse 060c4f1529 Theming: add a SplashScreen for TrackListActivity. 2020-09-12 00:03:42 +02:00
Dennis Guse 7902aea849 Disable flacky test. 2020-09-12 00:01:56 +02:00
Sudeep Duggal ee22fd8ee8 Added workaround for allowing Android 11 install with only apk v1 signature 2020-09-10 08:28:55 +02:00
Román a6e275f8aa Several hidden bugfixes around Track.Id 2020-09-09 17:53:07 +02:00
Román a61468d600 Bugfix: String.valueOf doesn't work with Track.Id. Fixes #422. 2020-09-09 17:53:07 +02:00
thrillfall 78c26cb669 unify export filename logic 2020-09-09 17:50:00 +02:00
Dennis Guse 0d493c410e Merge branch 'barometer#10' into main 2020-09-06 22:34:54 +02:00
Dennis Guse 80dbbbc1ed Release: v3.9.5 2020-09-06 19:51:34 +02:00
Dennis Guse 81e8872a11 Added script for creating releases. 2020-09-06 19:49:42 +02:00
Román 6e1aba6fa0 Added barriers in stats recorded layout and stats recording layout. 2020-09-06 18:17:46 +02:00
Román 4220c62ac0 Bugfix: interval recording fragment has to keep select interval. 2020-09-06 12:21:39 +02:00
Dennis Guse 4b73567075 Bugfix: ClassCastException of Marker.Id 2020-09-06 08:06:29 +02:00
Dennis Guse fdff0d255a Autoformated drawables. 2020-09-06 00:09:39 +02:00
Dennis Guse e956cf14c4 Present speed only with one fractional digit. 2020-09-05 20:53:55 +02:00
Román a1646e1b76 Bugfix: bad equal comparison between Track.Id objects. 2020-09-05 15:46:49 +02:00
Dennis Guse 5099118dd7 Elevation gain: make it optional as Float - and if null, then the UI just shows "-".
In TrackStatistics the elevation gain is now nullable.
2020-09-05 12:39:23 +02:00
Dennis Guse 6845ce4984 Elevation gain: make it optional as Float.
So if no sensor data is provided, it is not stored in the database and not exported.
2020-09-05 12:39:23 +02:00
Dennis Guse e0d1ad4b52 Squash: fixed tests. 2020-09-05 12:39:23 +02:00
Dennis Guse 04b8d0f4a8 Import/Export: elevation gain per TrackPoint. 2020-09-05 12:39:23 +02:00
Román fe3bf61acb Squash: load TrackPoint elevationGain. 2020-09-05 12:39:23 +02:00
Román 577b9b4635 Alter table trackpoints: added elevation gain to the trackpoints table. 2020-09-05 12:39:23 +02:00
Dennis Guse 4b7de188fd Elevation gain adheres to visibility setting. 2020-09-05 12:39:23 +02:00
Román 3bfb212dc9 Bugfix: reset elevation every time track point is inserted. 2020-09-05 12:39:22 +02:00
Dennis Guse be7eb41cf3 Bugfix: previous total elevation gain was added twice. 2020-09-05 12:39:22 +02:00
Dennis Guse c7db4f528e Elevation gain: apply exponential smoothing and limit changes (defined change diff per sensor value). 2020-09-05 12:39:22 +02:00
Dennis Guse 8a14bc46f6 Implement elevation gain via barometer. 2020-09-05 12:39:22 +02:00
Dennis Guse 01ee1a1e49 Renamed DoubleBuffer to DoubleRingBuffer. 2020-09-05 12:39:22 +02:00
Dennis Guse 9d6c9676ab Refactoring to marker: content-package and fragments.
#389
2020-09-05 10:37:41 +02:00
Dennis Guse 19d8563a76 Refactoring to marker: TrackRecordingService.
#389
2020-09-05 10:20:16 +02:00
Dennis Guse 74e09e1fa9 Refactoring to marker: data class and ContentProviderUtils.
#389
2020-09-05 10:20:16 +02:00
Román 6533e3e170 Recording intervals received a null trackId because trackId is created in a Runnable.
Unit changed needs refreshing the intervals.
Fixes #406.
2020-09-05 10:18:01 +02:00
Dennis Guse bfeca771f8 Release v3.9.4 2020-09-05 01:41:01 +02:00
Dennis Guse f128111650 Code cleanup. 2020-09-05 01:19:59 +02:00
Dennis Guse 38fadda762 Bugfix: show on map via GPX/KML/KMZ was failing.
We were sending the trackId as intent extra (actually unused) and this trackId could not be unparceled.
Fixes #411.
2020-09-05 01:19:59 +02:00
Dennis Guse d6d40b01e6 Refactoring.
Also fixes #406.
2020-09-05 01:17:40 +02:00
dependabot[bot] bc051f5d81 Bump mockito-android from 3.5.9 to 3.5.10
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.5.9 to 3.5.10.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.5.9...v3.5.10)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-04 23:45:30 +02:00
dependabot[bot] 39bf2190a1 Bump material from 1.2.0 to 1.2.1
Bumps [material](https://github.com/material-components/material-components-android) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.2.0...1.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-03 16:55:31 +02:00
Román b88f81726b Bugfix: location handler didn't remove updates. Fixes #403. 2020-09-03 15:32:44 +02:00
Dennis Guse 24e6cdec62 Interval Stats: fixed NPE introduced in 25ef0ecad1.
Includes some refactoring.
2020-09-02 23:12:52 +02:00
Dennis Guse 951671b2f3 Update PULL_REQUEST_TEMPLATE.md 2020-09-02 22:20:50 +02:00
dependabot[bot] 21e30545a0 Bump mockito-android from 3.4.6 to 3.5.9
Bumps [mockito-android](https://github.com/mockito/mockito) from 3.4.6 to 3.5.9.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.6...v3.5.9)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-02 19:26:45 +02:00
Dennis Guse 946edb7e16 Update CONTRIBUTING.md 2020-09-02 19:24:33 +02:00
Román 89c44af374 Recorded stats: natural order for intervals. 2020-09-02 14:32:32 +02:00
Dennis Guse faad451e22 Added contribution guidelines 2020-09-02 08:10:55 +02:00
Dennis Guse 25ef0ecad1 Interval Stats: use a tab for recorded tracks as well. 2020-09-02 07:52:33 +02:00
Román efa6caca66 New style for spinner with text. 2020-09-02 07:52:33 +02:00
Román 5be4c107f4 Announcement: while recording report current interval pace or speed.
Fixes #134.
2020-09-02 07:52:33 +02:00
Román 65f42dd3e5 Interval Stats: improve code and fixed some UI issues. 2020-09-02 07:52:33 +02:00
Román 287d246777 Interval Stats: track's id it's not long anymore. 2020-09-02 07:52:33 +02:00
Román d56f652d0a Interval stats: while user is recording a track intervals are refreshed every 5 seconds.
Interval stats: completed the list of split intervals: 1, 2, 3, 4, 5, 10, 20 or 50 km or mi.
Fixes #87.
2020-09-02 07:52:33 +02:00
Román 1f1ef4445f Interval stats: added IntervalStatisticsTest. 2020-09-02 07:52:33 +02:00
Román 22a669a573 Interval stats: added a new tab in TrackRecordingActivity that shows the intervals on live. 2020-09-02 07:52:33 +02:00
Román f55cce5614 Interval stats: improve code. 2020-09-02 07:52:33 +02:00
Román a6c3cf1c28 Interval statistics: listen preferred units change (metric/imperial) and recreate intervals. 2020-09-02 07:52:33 +02:00
Román cbc803d038 Interval statistics: retain interval value after change orientation and recreation. 2020-09-02 07:52:33 +02:00
Román a8cefcd0fd Interval statistics: show accumulate in distance column. 2020-09-02 07:52:33 +02:00
Román 2b95dbab22 Adjusted intervals. 2020-09-02 07:52:33 +02:00
Román 7a923a947e Added intervals in StatisticsRecordedFragment with distance, speed and pace for all activity types.
Users can select the length of the interval (in a spinner with several options).
The intervals will be in km or mi depending on settings.
2020-09-02 07:52:33 +02:00
Román 19e35a7609 StatisticsRecordedFragment doesn't need TrackDataHub.
TrackRecordedActivity saves Track object instead of track's id.
2020-09-02 07:52:33 +02:00
Dennis Guse b8088169ee Settings: animate the Bluetooth icon.
Fixes #314.
2020-09-01 22:19:19 +02:00
Román a5594fbb7a Release v3.9.3 2020-08-31 12:47:33 +02:00
Román a733d87c37 Bugfix: export all failed trying to convert to string the Track.Id. 2020-08-31 12:25:58 +02:00
Dennis Guse 79d8ba9ef8 Configure Dependabot for Gradle and Github actions 2020-08-30 23:28:50 +02:00
Dennis Guse 3ee7d4504c Release v3.9.2 2020-08-30 23:05:51 +02:00
Dennis Guse 579509aad8 Upgrade dependencies. 2020-08-30 19:01:27 +02:00
Peter Storch 24ff73ab06 Fix force close on stop button for older devices (#393)
* correct thread handling in ButtonDelay

Discovered in #390 for devices with API Level 25. Not fixing the whole issue, but a first step.

* fix #390 crash when stopping for older devices

The VectorDrawable ic_button_stop.xml referenced from withing the AnimatedVectorDrawable ic_button_stop_anim.xml was a problem for older devices. Now the VectorDrawable is expanded (duplicated) inside the AnimatedVectorDrawable. Now it is working. Even with the animation.
2020-08-27 08:11:10 +02:00
Dennis Guse 60d5e7e515 Reset recordingTrackId on application Startup.
This is necessary if the TrackRecordingService crashed.
2020-08-23 17:36:30 +02:00
Dennis Guse c610758ae1 Move CursorLoader to ContentProviderUtils. 2020-08-23 00:09:02 +02:00
Dennis Guse 17d2755844 Bugfix: MarkerDetailActivity: compare waypointId properly using equals.
Introduced in bcbaf4985a
2020-08-23 00:08:58 +02:00
Dennis Guse 0ab14e0f3d Implement Track.Id and Waypoint.Id (with tests).
Fixes #276.
2020-08-22 23:18:48 +02:00
Dennis Guse bcbaf4985a Implement Track.Id and Waypoint.Id (without tests).
Fixes #276.
2020-08-22 23:18:48 +02:00
Dennis Guse b2e8713db0 Desugar: removed manual date parsing on API26. 2020-08-21 07:01:16 +02:00
Dennis Guse af60e1fdfb Enable Google's desugar plugin (enables stream/map etc.).
Fixes  #347.
2020-08-20 18:31:47 +02:00
Román 75043325ff Fix comment. 2020-08-19 22:04:40 +02:00
Dennis Guse 337e5b9e4d Release v3.9.1 2020-08-19 18:13:10 +02:00
Román 1ff986f1e6 Gps Status: bugfixes.
Bugfix 1: race condition issue fixed with a flag.
Bugfix 2: location time issue fixed setting the time every time a location is received.
2020-08-19 14:02:47 +02:00
thrillfall 6412bb9fcd remove useless parameter 2020-08-18 16:37:44 +02:00
thrillfall 8425997c29 add overload for exporter that takes single track 2020-08-18 16:37:44 +02:00
thrillfall f4b585b830 do not pass complete track data to exporter factory method just to knwo if there is more then one track to export 2020-08-18 16:37:44 +02:00
thrillfall 47c259fa9a move tracks array from class state to method argument 2020-08-18 16:37:44 +02:00
thrillfall 80208e3188 move condition for writing multitrack begin and end outside of methods 2020-08-18 16:37:44 +02:00
thrillfall 2655d3e773 fix decorator TrackExporter interface 2020-08-18 16:37:44 +02:00
Dennis Guse ca8814c478 Release v3.9.0 2020-08-16 20:37:38 +02:00
Dennis Guse 6a397922d2 Cleanup using IntelliJ's analyze code. 2020-08-16 20:13:09 +02:00
Dennis Guse ee062f8a38 Cleanup. 2020-08-16 20:13:09 +02:00
Dennis Guse c8bdf8e641 Wheel circumference is now a textfield accepting input as mm.
Fixes #278.
2020-08-16 20:12:20 +02:00
Dennis Guse 0b2bd6899f Pull request template: add note about adding new libraries. 2020-08-16 12:49:50 +02:00
Román 32d811b46e Bugfix: NPE fixed because listeners/client were null in some cases.
TrackRecordingService: before destroying it sends GPS Status NONE to all listeners.
Cleanup Logs used for debugging.
2020-08-16 07:27:44 +02:00
Román 80a8017a18 GPS Status: animation icon for ready but not fixed status (GPS bad signal). 2020-08-16 07:27:44 +02:00
Román 2b90bfd054 ServiceUtils deleted because it doesn't need anymore.
It uses gps status received from service.
2020-08-16 07:27:44 +02:00
Román 8cb6d63abe Cleanup and rename. 2020-08-16 07:27:44 +02:00
Román 9837680540 GPS Status: TrackListActivity uses the value of gps status from the service to select appropiate icon. 2020-08-16 07:27:44 +02:00
Román e2b741dd08 Added GPS Status to the service so activities can access to the GPS Status. 2020-08-16 07:27:44 +02:00
Peter Storch 18546fd3cc fix #241 stop button lock (#362)
* fix #241 stop button lock

Adds a delay and animation to the stop and pause buttons

- short vibration when starting to push the buttons
- long vibration when action was executed
- Toast to show "Hold to stop/pause recording"
2020-08-15 21:50:06 +02:00
Dennis Guse a87d2e5b09 Bugfix: prevent NPE.
Fixes #374.
2020-08-15 21:23:14 +02:00
Dennis Guse 3ae30e2468 Settings: do prevent import of already existing tracks by default. 2020-08-15 21:12:10 +02:00
Dennis Guse f821c8ba86 Fixed tests. 2020-08-15 21:12:10 +02:00
Dennis Guse 5c96774e79 ContentProvider can now lookup tracks via UUID. 2020-08-15 21:12:10 +02:00
Dennis Guse c26a5edc03 Make track import behavior on duplicate UUID configurable (default: import with a new UUID). 2020-08-15 21:12:10 +02:00
Dennis Guse f8afa9dbad Import/export track UUID (necessary for synchronization).
If a track with a UUID is presented in OpenTracks, it cannot be imported again (enforced by database constraint).
Fixes #307.
2020-08-15 21:12:10 +02:00
Dennis Guse db1167ead5 Find track by UUID. 2020-08-15 21:12:10 +02:00
Dennis Guse 0008673ab0 Add class diagram for export/import code. 2020-08-15 21:12:10 +02:00
Dennis Guse 59d4bfa4ac Export KML: report OpenTracks as generator. 2020-08-15 21:12:10 +02:00
Dennis Guse 04f146c641 Bugfix: formatting of pace was not formatted correctly (e.g., 4:60).
Fixes #370.
2020-08-15 20:19:46 +02:00
Dennis Guse ea97ff65df MarkerEditActivity: fixed NPE on orientation change. 2020-08-15 09:12:19 +02:00
Peter Storch 9827b3fc92 fix #371 mountain bike icon not shown 2020-08-12 20:53:58 +02:00
Peter Storch a35ed2e9b1 move debug resources into debug and cleanup build.gradle 2020-08-11 21:42:38 +02:00
Dennis Guse 26d2a861d7 Add missing bluetooth icon (SVG). 2020-08-10 16:31:38 +02:00
Dennis Guse 389ed9b362 Update dependencies. 2020-08-10 15:52:52 +02:00
Dennis Guse c5e5e862ad App launcher icon: moved arrow slightly too the left. 2020-08-10 15:52:11 +02:00
Dennis Guse b676fd6614 SearchEngineTest: do not use production database.
Partly fixes #143.
2020-08-10 15:39:53 +02:00
Peter Storch 0194efafbc added more .idea files to gitignore 2020-08-08 12:41:50 +02:00
Peter Storch 9ba1357dbb added new activity types (#360)
* added new activity types

- escooter
- inline_skating
- motorbike
- skate_boarding
- skiing
- snowboarding
- climbing
- sailing
- mtb
2020-08-08 12:38:51 +02:00
Dennis Guse 64b66a0c57 Github sponsor button points to OpenTracks-team (liberapay). 2020-08-07 16:15:36 +02:00
Dennis Guse 7787dae9f6 Bluetooth preference use vector icon. 2020-08-06 12:34:01 +02:00
Dennis Guse d0ca06f964 Switch Liberapay to separate OpenTracks-team. 2020-08-05 17:19:01 +02:00
Dennis Guse f7d1a53622 File open intent-filters now expose host (required by lint). 2020-08-05 12:49:30 +02:00
Dennis Guse 5f13d027af CI: CodeQL use custom build command. 2020-08-04 22:58:57 +02:00
Dennis Guse cf45a8079c Simplified getting the BluetoothAdapter. 2020-08-04 22:56:35 +02:00
Dennis Guse 9e553cc900 CI: enable CodeQL 2020-08-04 22:49:14 +02:00
transifex-integration[bot] 1f3466e4b2 Translate /src/main/res/values/strings.xml in eu
at least 95% translated updated for the source file '/src/main/res/values/strings.xml'
on the 'eu' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-08-03 21:49:12 +02:00
transifex-integration[bot] c813934bcb Translate /src/main/res/values/strings.xml in cs
at least 95% translated updated for the source file '/src/main/res/values/strings.xml'
on the 'cs' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-08-03 21:48:49 +02:00
transifex-integration[bot] 480202853d Translate /src/main/res/values/strings.xml in da
at least 95% translated updated for the source file '/src/main/res/values/strings.xml'
on the 'da' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-08-03 21:48:29 +02:00
transifex-integration[bot] 4c58bd81bb Translate /src/main/res/values/strings.xml in nl
at least 95% translated updated for the source file '/src/main/res/values/strings.xml'
on the 'nl' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-08-03 21:48:12 +02:00
transifex-integration[bot] 9f9b6966a8 Translate /src/main/res/values/strings.xml in et
at least 95% translated updated for the source file '/src/main/res/values/strings.xml'
on the 'et' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-08-03 21:47:41 +02:00
transifex-integration[bot] 52c97b63d5 Translate /src/main/res/values/strings.xml in fi
at least 95% translated updated for the source file '/src/main/res/values/strings.xml'
on the 'fi' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-08-03 21:47:24 +02:00
transifex-integration[bot] eee18ec7a4 Translate /src/main/res/values/strings.xml in fr
at least 95% translated updated for the source file '/src/main/res/values/strings.xml'
on the 'fr' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-08-03 21:46:53 +02:00
transifex-integration[bot] 4d444046de Translate /src/main/res/values/strings.xml in gl
at least 95% translated updated for the source file '/src/main/res/values/strings.xml'
on the 'gl' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-08-03 21:46:34 +02:00
transifex-integration[bot] 4d5e31b231 Translate /src/main/res/values/strings.xml in de
at least 95% translated updated for the source file '/src/main/res/values/strings.xml'
on the 'de' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-08-03 21:46:10 +02:00
transifex-integration[bot] 8544f7d20a Translate /src/main/res/values/strings.xml in es
at least 95% translated updated for the source file '/src/main/res/values/strings.xml'
on the 'es' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-08-03 21:45:16 +02:00
Dennis Guse 1feb5cbb65 Release v3.8.1 2020-08-03 08:03:13 +02:00
Dennis Guse 1d2fde6e69 DashboardAPI: report if track is recording and start Dashboard on same task.
Necessary for Picture-in-Picture mode.
2020-08-03 07:59:17 +02:00
Dennis Guse 20423121ee Dashboard API: only forward fullscreen setting, when recording. 2020-08-03 07:59:17 +02:00
Dennis Guse ebf7b0a0c3 TrackRecordingActivity: added setting for fullscreen.
Fixes #342.
2020-08-03 07:59:17 +02:00
Dennis Guse 1189a07794 TrackController: center time. 2020-08-02 16:36:03 +02:00
Román 63e9041922 Orientation change when edit marker has to update photo uri in waypoint for delete button update (hide/show). 2020-07-31 20:29:56 +02:00
Dennis Guse 699be450b0 Fixed too optimistic intent-filter for imports.
Fixes #340.
2020-07-29 23:19:32 +02:00
Dennis Guse 66b175c56c Updated dependencies. 2020-07-26 17:39:30 +02:00
Dennis Guse 81a7aca4a0 Release v3.8.0 2020-07-24 22:22:48 +02:00
Dennis Guse 065f42fbef GPX import/export: speed via TrackPointExtension/v2.
Fixed data type for heartrate/speed (no decimals) allowed.
Fixes #335.
Fixes #181.

GPXTrackWriter: set Trackpointv2 header correctly and export time in correct sequence.
2020-07-24 22:06:58 +02:00
ronajon c92371b36a GPX import/export: add heartrate and cadence via TrackPointExtension/v1. 2020-07-24 22:06:58 +02:00
Dennis Guse 97c46183c3 TrackRecordingServiceConnection: always bind (and start) the TrackRecordingService.
Seemed to be a memory optimization.
2020-07-21 19:44:39 +02:00
Dennis Guse c02b8fab53 HandlerServer: use executor service to send data to TrackRecordingService.
Fixes #329.
2020-07-21 19:43:51 +02:00
Dennis Guse 6540913d59 Moved R.string.stats_unit_key initialization into Startup. 2020-07-20 20:46:41 +02:00
Dennis Guse b70c3be5af Cleanup: static code analysis using AndroidStudio. 2020-07-20 20:05:45 +02:00
Dennis Guse 461f1c246b MarkerEditActivity: do not overwrite new photoUri with previous one. (#332)
Fixes #330.

Tested and it works 👍
2020-07-20 19:30:23 +02:00
Dennis Guse 6d091dfa81 Fixes NPE on MarkerEditActivity when taking a photo and trigger an orientation change. (#327)
Fixes #325.
2020-07-18 22:52:19 +02:00
Peter Storch 97ad6bc2f8 expose waypoints to dashboard
Necessary for https://github.com/OpenTracksApp/OSMDashboard/issues/48
2020-07-18 18:56:53 +02:00
Dennis Guse 93ee8a53ed Import from intent: also match file suffix as fallback. 2020-07-18 18:55:30 +02:00
Dennis Guse bf9b6d6627 Import: individual files chosen by an external app. 2020-07-18 18:55:30 +02:00
Dennis Guse 5f637952aa Replaced blue pushpin icon (png) with with orange icon (svg).
Fixes #115.
2020-07-18 18:51:34 +02:00
Román Martínez 17de8cea6f Service refactoring: move location management to the LocationHandle.
Tests refactoring: location and service tests re-worked.
2020-07-17 12:29:30 +02:00
Deus Figendi afea79476f united the gradiants in ic_marker_orange_pushpin 2020-07-16 22:57:44 +02:00
Deus Figendi 7215a2def0 Added an orange version of the ic_marker pushpin 2020-07-16 22:57:44 +02:00
Román b8d2d14d68 Preferred rate is used for aggregated stats. Fixes #321.
Lambda expression for Observer.
2020-07-15 21:43:55 +02:00
Dennis Guse a2b53c75f4 Release v3.7.6 2020-07-13 18:47:50 +02:00
Dennis Guse 7a5f69d3a5 Settings: default export format is now KMZ incl. data and pictures. 2020-07-13 18:19:34 +02:00
Dennis Guse 7fd9893560 TrackDeleteActivity: keep a wakelock while deletion is ongoing. 2020-07-13 18:19:34 +02:00
Román f209031df0 Pass extra TrackFileFormat enum like a Serializable instead of String (with String resulted in Null after get extra). 2020-07-13 18:19:34 +02:00
Dennis Guse 2dbab929ac Export: replaced async task with thread.
Almost identical to the import.
2020-07-13 18:19:34 +02:00
Dennis Guse e9eb764d12 Import: split ImportActivity into fragments.
The fragements keep the state while the activity is re-created (e.g., orientation change).
2020-07-13 18:19:34 +02:00
Dennis Guse 41a4a5527a Import: replaced async task with thread.
Extracted directory chooser into a separate activity.
2020-07-13 18:19:34 +02:00
Dennis Guse 4ded3c6bc8 TrackDelete: use a Thread and always require TrackIds. 2020-07-08 08:25:36 +02:00
Dennis Guse 51e573e475 TrackDelete: hide progress bar before finishing and add custom animations. 2020-07-08 08:25:36 +02:00
Dennis Guse 98c3169929 Track deletion UI: code cleanup. 2020-07-08 08:25:36 +02:00
Dennis Guse ff65a4d04f Track deletion shows an infinite progressbar.
Fixes #242.
2020-07-08 08:25:36 +02:00
Dennis Guse 278f49dec8 TrackRecordingActivity: removed start/resume toast message. 2020-07-07 18:13:37 +02:00
Dennis Guse d444e1ca3c TrackRecordingActivity: recreate activity properly. 2020-07-07 18:13:37 +02:00
Dennis Guse 13e07696b9 Re-implemented landscape mode.
Fixes #32.
2020-07-07 18:13:37 +02:00
Román Martínez 23c3a4d651 Import/Export speed in GPX and KML files. (#306)
Import/Export speed in GPX and KML files. Fixes #300.
2020-06-30 14:39:44 +02:00
Dennis Guse c9869bab0e Generate UUID for each track (necessary for synchronization).
Fixes #294.
2020-06-30 12:39:30 +02:00
Dennis Guse ecdb509371 Export/import test now verifies the TrackPoints. 2020-06-22 21:56:22 +02:00
transifex-integration[bot] de376a84f8 Apply translations in fr
translation completed for the source file '/fastlane/metadata/android/en-US/short_description.txt'
on the 'fr' language.
2020-06-21 18:19:11 +02:00
transifex-integration[bot] 9abd8bcaa6 Apply translations in de
translation completed for the source file '/fastlane/metadata/android/en-US/short_description.txt'
on the 'de' language.
2020-06-21 18:18:58 +02:00
Román Martínez 8ddadb8e6d Aggregated statistics: updated PlantUML and handle empty list. (#296) 2020-06-20 19:02:02 +02:00
transifex-integration[bot] 924ef3313e Translate /src/main/res/values/strings.xml in nl
translation completed for the source file '/src/main/res/values/strings.xml'
on the 'nl' language.
2020-06-16 19:33:52 +02:00
Dennis Guse 8cb68a6e64 Migrate to default branch main. 2020-06-15 12:10:26 +02:00
Dennis Guse 23f47f10f8 Release v3.7.5 2020-06-14 20:09:27 +02:00
Román Martínez 251fa17487 Merge pull request #271 from OpenTracksApp/all_statistics#112
Aggregated statistics by activity type.
2020-06-14 20:03:29 +02:00
Román bae3373fe9 Aggregated statistics by activity type. Fixes #112. 2020-06-14 19:57:07 +02:00
Dennis Guse 0a685a66e3 Added list of tested Bluetooth LE sensors.
Fixes #202.
2020-06-14 11:58:45 +02:00
Dennis Guse 5ca9ca857a Cleanup. 2020-06-13 23:07:58 +02:00
Dennis Guse d9dfa6d746 Dashboard API: add data transfer as GPX and removed unnecessary IntentChooser. 2020-06-13 17:56:59 +02:00
Dennis Guse 3a5220546e Dashboard API: fallback to "open as KMZ" implemented as proxy activity.
We are not allowed to query for installed packages as of Android R (API 30).
2020-06-13 17:56:59 +02:00
Dennis Guse 047d5c2340 Manifest reordered to fix warning. 2020-06-13 17:56:59 +02:00
Dennis Guse 725c21c0a1 Bugfix: parse URI with trackIds correctly. 2020-06-13 17:56:59 +02:00
Dennis Guse 7939e39fc1 Go for Android R (API level 30). 2020-06-13 17:56:59 +02:00
Dennis Guse a133bd8f9e Bugfix: adaptive icon was too large.
We now use the same as OSMDashboard.
Thanks Peter.
2020-06-13 00:08:00 +02:00
transifex-integration[bot] 1f9790cba8 Translate /src/main/res/values/strings.xml in gl
translation completed for the source file '/src/main/res/values/strings.xml'
on the 'gl' language.
2020-06-10 22:20:23 +02:00
Dennis Guse a3ba1e1490 Cleanup: use lambda instead of runnable. 2020-06-09 23:01:09 +02:00
Dennis Guse accb30152f Translations fixed. 2020-06-09 19:58:23 +02:00
Dennis Guse dc7daa6e8c App icon: be complaint with Android requirements. (#253)
Fixes #121.
2020-06-09 19:37:47 +02:00
Dennis Guse 1d8e788d53 Documentation: add internal data flow. 2020-06-09 19:36:54 +02:00
Dennis Guse 568b908b26 Removed unused strings. 2020-06-09 19:35:57 +02:00
transifex-integration[bot] 3ab63adb34 Translate '/src/main/res/values/strings.xml' in 'de' [manual sync] (#269)
* Translate /src/main/res/values/strings.xml in de

at least 95% translated for the source file '/src/main/res/values/strings.xml'
on the 'de' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2020-06-08 23:42:16 +02:00
transifex-integration[bot] 91692f345e Translate /src/main/res/values/strings.xml in fr
at least 95% translated for the source file '/src/main/res/values/strings.xml'
on the 'fr' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-06-08 23:32:34 +02:00
transifex-integration[bot] dbdb98a682 Translate /src/main/res/values/strings.xml in eu
at least 95% translated for the source file '/src/main/res/values/strings.xml'
on the 'eu' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-06-08 23:32:21 +02:00
transifex-integration[bot] df66cd5753 Translate /src/main/res/values/strings.xml in cs
at least 95% translated for the source file '/src/main/res/values/strings.xml'
on the 'cs' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-06-08 23:31:19 +02:00
transifex-integration[bot] 6e39dd37f8 Translate /src/main/res/values/strings.xml in da
at least 95% translated for the source file '/src/main/res/values/strings.xml'
on the 'da' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-06-08 23:31:08 +02:00
transifex-integration[bot] 7212f7be94 Translate /src/main/res/values/strings.xml in nl
at least 95% translated for the source file '/src/main/res/values/strings.xml'
on the 'nl' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-06-08 23:31:00 +02:00
transifex-integration[bot] 77fe494e6c Translate /src/main/res/values/strings.xml in et
at least 95% translated for the source file '/src/main/res/values/strings.xml'
on the 'et' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-06-08 23:30:55 +02:00
transifex-integration[bot] 2f491e8c10 Translate /src/main/res/values/strings.xml in es
at least 95% translated for the source file '/src/main/res/values/strings.xml'
on the 'es' language.

 Manual sync of partially translated files: untranslated content is included with an empty translation or source language content depending on file format
2020-06-08 23:30:48 +02:00
Dennis Guse f4fe7b1ab3 Import: convert all failed date parsing into SAXExceptions. 2020-06-08 22:51:01 +02:00
Peter Storch 7e444cbf31 Merge pull request #248 from OpenTracksApp/keep_screen_on_dashboard
forward keep screen on while recording preference to dashboard
2020-06-06 23:12:24 +02:00
Dennis Guse ed6ab9c53c Import: be lenient with missing timezone information.
Fixes #249.
2020-06-06 22:58:02 +02:00
Peter Storch f91ca3154c forward show on lockscreen to dashboard 2020-06-05 20:52:00 +02:00
Peter Storch bbfab1b201 forward keep screen on while recording preference to dashboard 2020-06-05 20:17:24 +02:00
Dennis Guse 1f2e3bcf70 Upgrade to Android Gradle plugin 4.0.0 2020-05-30 20:25:36 +02:00
Dennis Guse d1f3791f97 Release v3.7.4 2020-05-27 08:21:37 +02:00
Román 490b95a001 Merge branch 'split_trackdetail#171' 2020-05-25 13:28:36 +02:00
Román 12e6f03098 Recorded/Recording nested layouts converted to constraint layout. Fixes #15. 2020-05-25 13:06:36 +02:00
Román d86f42e2e9 Animation between recording and recorded activities. Update PlantUML with new changes. 2020-05-25 13:06:17 +02:00
Román 360d59d3de Split detail and record to simplify the code. Fixes #171. 2020-05-25 13:06:17 +02:00
Dennis Guse b617420290 Export: do not show progress of exported TrackPoints.
Only the overall number of tracks is shown now (similar to import).
2020-05-24 10:58:43 +02:00
Dennis Guse 53b267150b Export/Import: TrackFileFormat is now selected via settings only. 2020-05-24 10:58:43 +02:00
Dennis Guse 0dfd55ed52 Settings: added default sharing track file format.
Fixes #225.
2020-05-24 10:58:43 +02:00
Román daabd5381d Links in help and about are clickable. Also added scroll in about activity. Fixes #232. 2020-05-22 16:01:33 +02:00
Dennis Guse a842129e37 Bugfix: wheel circumference was not stored in correct preference key. 2020-05-13 21:46:48 +02:00
Dennis Guse e8b9c2bbc3 Release v3.7.3 2020-05-13 21:03:52 +02:00
Dennis Guse e55924dae3 Bugfix: Cadence/Speed computation incorrectly truncated time to long instead of float. 2020-05-13 20:34:16 +02:00
Dennis Guse e3a8143d58 Cleanup. 2020-05-13 20:34:16 +02:00
Dennis Guse 30310bb874 Localization: removed unused translations.
Fixed German labels for speed (were too long on Stats screen).
2020-05-13 20:34:16 +02:00
Dennis Guse 9f377b172d Upgraded to Gradle wrapper 6.3 2020-05-10 15:28:42 +02:00
Dennis Guse 23175902fb Release v3.7.2 2020-05-09 20:21:16 +02:00
Dennis Guse 706bd8b01f README: added link Transifex. 2020-05-09 20:21:16 +02:00
Dennis Guse dc4ac07e11 Cleanup. 2020-05-09 20:21:16 +02:00
Román 5be4129ba9 Edit marker: if user deletes photo then photo is deleted from internal storage too. Fixes #208. 2020-05-09 15:44:10 +02:00
Román f75a48ccab TrackRecordingService doesn't change the track's name when recording ends. Fixes #209. 2020-05-07 18:23:40 +02:00
Román Martínez 2815aa4b62 Merge pull request #203 from OpenTracksApp/starting_gps#200
Manually starting GPS and opening a recorded track bug fixed. Fixes #200.
2020-05-01 10:29:27 +02:00
transifex-integration[bot] 0383b0e1c7 Translate /src/main/res/values/strings.xml in nl
translation completed for the source file '/src/main/res/values/strings.xml'
on the 'nl' language.
2020-04-30 19:08:22 +02:00
Román 1601741495 Manually starting GPS and opening a recorded track bug fixed. Fixes #200. 2020-04-30 18:57:12 +02:00
john2020star be1fae956b Fix compatibility issue in styles_custom.xml (#201)
* Adding indeterminateTintMode="src_in"
* Add a new ThemeCustomNotTransparentto change the color of ProgressBar
2020-04-30 12:36:26 +02:00
Dennis Guse c7557d80bb Release v3.7.1 2020-04-28 22:59:38 +02:00
Dennis Guse ac28124664 Workaround for #200: hide start/stop GPS icon from TrackListActivity. 2020-04-28 22:38:50 +02:00
Dennis Guse 1deaf7650e Bugfix: pausing should only insert a non-null lastTrackpoint.
Found by Google Play Pre-Launch report.
2020-04-28 19:58:11 +02:00
Dennis Guse 9074fa1b6c Release v3.7.0 2020-04-28 18:36:08 +02:00
transifex-integration[bot] 5721a615a2 Translate '/src/main/res/values/strings.xml' in 'de' (#199)
* Translate /src/main/res/values/strings.xml in de

translation completed for the source file '/src/main/res/values/strings.xml'
on the 'de' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2020-04-28 18:34:28 +02:00
Dennis Guse fadcf1cd41 Pace/speed setting: changed label and renamed keys.
Also removed existing translations.
2020-04-28 08:23:18 +02:00
Dennis Guse a50b1ac78e Cleanup using Android Studio code analyzer. 2020-04-28 08:07:24 +02:00
Dennis Guse 9a7d4fdb36 TrackListActivity: removed start/stop GPS toast message.
Nowadays, we already have a notification in place.
2020-04-28 07:03:39 +02:00
Román Martínez 9fb51a689d Merge pull request #197 from OpenTracksApp/rgmf-issue#151
Merge issue#151.
2020-04-27 20:30:12 +02:00
Román 65bda35001 Preferred rate settings adapted to new code changes. 2020-04-27 20:25:16 +02:00
Dennis Guse 443ded86a5 Continuous integration: only test on API 29.
On Github Actions API 21 fails while it works locally.
2020-04-27 20:12:13 +02:00
Román 83b5ebb02c Added new option in Preferred rate setting: By Default.
With By Default option it will use pace or speed depending on activity type.
Fixes #151.
2020-04-27 20:02:55 +02:00
Román Martínez 240d8f6b6c Images/folders are deleted when tracks/waypoints are deleted.
This fixes #189.
2020-04-27 18:18:02 +02:00
Dennis Guse 39c5422341 Merge pull request #193 from OpenTracksApp/bluetooth
Bluetooth LE: add cycling cadence and speed sensor(s).
2020-04-27 18:14:39 +02:00
Dennis Guse 4893a2b743 Added cycling speed sensor.
Fixed speed and cadence computation.
Fixed that a sensor change in settings resulted in a disconnect for all connected sensors.
2020-04-27 07:17:46 +02:00
Dennis Guse 3408ea97f4 Refactoring: move TrackPointDataSet directly into TrackPoint. 2020-04-27 07:17:46 +02:00
Dennis Guse ddb17f61cb Bluetooth LE: implemented cycling cadence and speed sensors.
Cadence is working while speed still requires the wheel size.
2020-04-27 07:17:46 +02:00
Dennis Guse bbe182cf82 Removed handler between BluetoothConnectionManager and -RemoteSensorManager.
Toast messages should rather be sent from activities.
2020-04-27 07:17:46 +02:00
Dennis Guse b7b7bdf19b Workaround for GPS week rollover (happening every 19.7 years).
Fixes #155.

https://en.wikipedia.org/wiki/GPS_Week_Number_Rollover
2020-04-27 07:08:29 +02:00
Román Martínez 5681938a9e Merge pull request #188 from OpenTracksApp/import_export#180
Improve import/export
2020-04-23 08:21:55 +02:00
Román 74835dcef5 KMZ import/export: code improved. 2020-04-22 13:19:32 +02:00
Román ed0dc05366 KMZ exporting: marker images use waypoint id as a name. 2020-04-21 19:01:35 +02:00
Román 653eb8320a KMZ importing: look for images anywhere in KMZ file and only images referenced remain in external storage. 2020-04-21 19:01:35 +02:00
Román 54b9c4370b KML description: max/min elevation will not show if have invalid values (unknow). 2020-04-21 19:01:35 +02:00
Román fa9cb3903c KMZ exporting: checks waypoints images exists before parse kml. 2020-04-21 19:01:30 +02:00
Román 0f1d8500d1 KMZ importing: firstly copies images then parses kml (checks kml's href link to image is correct). 2020-04-21 19:00:03 +02:00
Dennis Guse 20d7fd2c03 Merge pull request #187 from OpenTracksApp/dev
Refactored TrackRecordingService.
2020-04-15 23:11:38 +02:00
Dennis Guse 1d838344dc TrackRecordingService: test inserting locations. 2020-04-15 22:37:31 +02:00
Dennis Guse fd826199e2 Tests for TrackRecordingService (pause/resume/restart). 2020-04-14 22:13:14 +02:00
Dennis Guse f485d90ef2 ContentProviderUtils.bulkInsertTrackPoint(): removed length parameter. 2020-04-14 19:42:17 +02:00
Dennis Guse ec39e67a09 Removed Waypoint default constructor used by testing.
This avoids a null check for Waypoint.getLocation().
2020-04-14 07:12:56 +02:00
Dennis Guse 1a86db0a8b Cleanup. 2020-04-13 20:23:40 +02:00
Dennis Guse 6a1fada22f TrackRecordingService: cleanup. 2020-04-13 20:23:22 +02:00
Dennis Guse 2898e06246 TrackRecordingService: move service restart handling into method. 2020-04-13 20:23:22 +02:00
Dennis Guse 0d87c65b49 TrackRecordingService: cleanup. 2020-04-13 20:23:22 +02:00
Dennis Guse 9b97cdfcd1 TrackRecordingService: cleanup.
if+return rather than if+else.
2020-04-13 20:23:22 +02:00
Dennis Guse 95feae846a Create helper functions for TrackPoints in TrackPointUtils. 2020-04-13 20:23:22 +02:00
Dennis Guse b09eeaede3 Release v3.6.2 2020-04-13 12:56:59 +02:00
Dennis Guse 35dec1634c Bugfix: charts were showing only the invalid TrackPoints.
Introduced in fbc902e830
2020-04-13 12:48:52 +02:00
Dennis Guse e49a425106 Release v3.6.1 2020-04-12 18:46:49 +02:00
Román adbad04867 URIs for waypoint's photos are correct. Fixes #183. 2020-04-12 18:27:20 +02:00
Dennis Guse 850bd2f887 Update Android gradle plugin. 2020-04-11 23:16:38 +02:00
Dennis Guse d240b457e2 Release v3.6.0 2020-04-10 14:55:04 +02:00
Dennis Guse 6d800caab1 While importing photos, check url carefully.
(cherry picked from commit 309c96e4789bd7623b84720a8c8f2bf297c95d59)
2020-04-10 14:42:11 +02:00
Román 7bf153db39 Avoid NullPointer in creating photoUrl when importing 2020-04-10 14:42:11 +02:00
Román 1b69f29751 Importing creates content:// for attached pictures. Also, exporting without points bug fixed and images href contains relative link. Fixes #166 and #176. 2020-04-10 14:42:11 +02:00
Dennis Guse dfc3837739 Settings: PrefsFragment could not be re-created. Fixes #179. 2020-04-08 08:10:46 +02:00
Dennis Guse 30e847866e Removed TravisCI it does not work as desired. 2020-04-07 21:01:54 +02:00
Dennis Guse fbc902e830 Cleanup using AndroidStudio code analyzer.
Moved to iterator for loops for ChartView and ChartFragment.
2020-04-05 21:56:26 +02:00
Dennis Guse 208f1d71ba Refactor ChartView/ChartFragment to use ChartPoint. 2020-04-05 21:56:26 +02:00
Dennis Guse 38a15a96b3 Cleanup. 2020-04-05 21:56:26 +02:00
Dennis Guse 46f8753746 Removed TrackDataType and simplified TrackDataManager. 2020-04-05 21:56:26 +02:00
Dennis Guse 70bc8f33b1 Do not expose TrackDataType to fragments. 2020-04-05 21:56:26 +02:00
Dennis Guse 6cd27ab096 Merged DataSourceManager into TrackDataHub. 2020-04-05 21:56:26 +02:00
Dennis Guse 5581b404f7 DataSourceManager now always registers for all changes. 2020-04-05 21:56:26 +02:00
Dennis Guse 2ef74eb908 Automated code cleanup using AndroidStudio. 2020-04-05 21:56:26 +02:00
Dennis Guse 16c654141f Renamed TripStatistics to TrackStatistics. 2020-04-05 21:56:26 +02:00
Dennis Guse dfc785f2fd Simplified internal data processing (class structure). 2020-04-05 21:56:26 +02:00
Dennis Guse f621cdf032 Removed grade internals completely. 2020-04-05 21:56:26 +02:00
Román 8b04d9c4a6 creates a segment like pause/continue. 2020-04-05 14:25:29 +02:00
Dennis Guse 364b4702e3 Waypoint requires a non-null location.
Remove setLocation() from Waypoint and TrackPoint.
2020-03-30 19:52:06 +02:00
Dennis Guse a98c16de28 Removed TrackPointFactory.
New TrackPoints are now always created and old ones not reused.
2020-03-30 19:52:06 +02:00
Dennis Guse 881bf1982a Removed TrackWriterTrackPointFactory.
Replaced with local variable for TrackPoint swapping.
2020-03-30 19:52:06 +02:00
Dennis Guse f340622977 Automated code analysis improvements. 2020-03-30 19:52:06 +02:00
Dennis Guse 194379295d TrackPoint has Location as delegate instead of inheritance. 2020-03-30 19:52:06 +02:00
Dennis Guse 901cffee97 Use TrackPoint instead of Location (and omit casting). 2020-03-30 19:52:06 +02:00
Román d93c2ec5f3 TrackDetailActivity starts an actual recording and a stopped recording can be resumed. Fixes #103 and #11. 2020-03-30 19:25:22 +02:00
Dennis Guse 306522863a Release v3.5.0 2020-03-21 23:18:57 +01:00
Dennis Guse e54d85e04d ChartFragment: unregister from preference changes on pause. 2020-03-21 20:54:49 +01:00
Dennis Guse cb30ad27c3 Removed that tracks store count of the locations. 2020-03-20 19:44:31 +01:00
Dennis Guse 8685c9cc88 Merge pull request #162 from rgmf/issue#89
Share pictures from marker.
2020-03-18 22:08:42 +01:00
Román a6f03d0f23 Share pictures from marker.
Fixes #89.
2020-03-18 19:33:57 +01:00
Dennis Guse e3c812b155 TrackDeleteActivity now has a transparant background. 2020-03-18 07:43:21 +01:00
Dennis Guse f149de9ce3 Merge pull request #167 from rgmf/issue#163
Add android:key in PreferenceCategory with expandable.
2020-03-17 21:54:08 +01:00
Dennis Guse 3447dd2569 Merge pull request #165 from OpenTracksApp/dbCleanup
Database cleanup and optimization
2020-03-17 21:44:28 +01:00
Dennis Guse b2b8c7fd54 Database upgrade (incl. tests): removed unused columns and added indices.
Fixes #108.
2020-03-17 21:39:10 +01:00
Román 486bcd0aec Add android:key in PreferenceCategory with expandable.
Fixes #163.
2020-03-17 10:57:04 +01:00
Dennis Guse c8a33201f5 Moved annoucement text generation into util class. 2020-03-16 21:43:23 +01:00
Dennis Guse 4a37c2cc7e Cleanup. 2020-03-16 21:43:23 +01:00
Dennis Guse d23db5bafd Charts use preferred units and rate.
Fixes #150.
2020-03-16 21:43:23 +01:00
Dennis Guse ac528f9a10 Use trackname for sharing files.
Fixes #130.
2020-03-16 21:43:23 +01:00
Dennis Guse 256eadd49d Added some french translation provided by @edern-appere.
Fixes #147.
2020-03-16 21:43:23 +01:00
Dennis Guse 64e58934a5 Settings: fix label for elevation (removed "Grade" as it is not shown anymore). 2020-03-16 21:43:23 +01:00
Dennis Guse 92dfadfdba Remove elevation min/max from UI as GPS-derived data often lead to invalid data (especially initial fix phase).
Fixes #148.
2020-03-16 21:43:23 +01:00
Román cbce70143b All marker management is now in MarkerEditActivity (including take photo and added gallery image to the marker).
Issue 122.
2020-03-11 19:59:15 +01:00
Román f4b9e3159e New screenshots for F-Droid/PlayStore. Fixes #132. 2020-03-11 19:40:57 +01:00
Dennis Guse 928781391d Release v3.4.0 2020-02-05 23:41:55 +01:00
Dennis Guse 05cd672464 Updated help text. 2020-02-05 23:41:50 +01:00
Dennis Guse d3109bbc37 Cleanup. 2020-02-05 23:08:17 +01:00
Dennis Guse eabdb7c721 Unify order of show on map and share menu entries. 2020-02-04 19:52:05 +01:00
Peter Storch ad990e8cd7 Forward multiple tracks to dashboard 2020-02-04 00:07:17 +01:00
Dennis Guse db3eef0104 Test: date comparison tends to be flaky. 2020-02-03 23:27:19 +01:00
Dennis Guse c4f1ba7962 Upgrade material design dependency.
Requires including androidx.documentfile directly.
2020-02-03 23:27:19 +01:00
Dennis Guse 7451fbd413 CI: enable testing via Github Actions. 2020-02-03 23:27:19 +01:00
Dennis Guse b6c55de55a CI: enable testing TravisCI on again. 2020-02-03 23:27:19 +01:00
Dennis Guse dd3ee6d99e Bugfix: match internal ContentURI correctly.
TrackPoint by TrackId was not working (and not used).
2020-02-03 21:32:06 +01:00
Dennis Guse bbb6a7c22c Bugfix: keep TrackRecordingService in foreground if paused. 2020-02-03 20:45:14 +01:00
Dennis Guse dc1b50a7bf Cleanup: move PAUSE_LATITUDE and RESUME_LATITUDE to TrackPointsColumn. 2020-02-03 20:45:14 +01:00
Dennis Guse 21bfb88e0b Bugfix: initialize fragments from bundle rather via constructor.
Introduced in 8b11e1d611
This fixes #127.
2020-02-03 19:51:04 +01:00
Dennis Guse aaab8adce9 ExportAsyncTask: always get a wakelock. 2020-02-03 19:51:04 +01:00
Dennis Guse df502f835c Release v3.3.2 2020-01-11 20:33:47 +01:00
Dennis Guse dd6a4cd153 Export: files are now overwritten. 2020-01-11 20:29:20 +01:00
Dennis Guse 76656997ef Sharing: check if a compatible app is installed rather than trying it. 2020-01-11 20:27:43 +01:00
Dennis Guse 32070a0bd6 Use java.time instead of custom code for parsing (requires API 26+).
This is a functional change on API26+ as a timezone identifier is required.
2020-01-11 19:31:58 +01:00
Dennis Guse b9420d4dde Removed LocationManagerConnector. 2020-01-11 19:31:58 +01:00
Dennis Guse 1b810e1294 TrackRecordingService: do not try to register location listener every minute. 2020-01-11 19:31:58 +01:00
Dennis Guse f16d59bff6 Cleanup. 2020-01-11 19:31:58 +01:00
Dennis Guse b5bf3aadc5 Refactored wake lock release. 2020-01-11 19:31:58 +01:00
Dennis Guse f6a27a1522 Documentation: add activities overview. 2020-01-11 19:31:58 +01:00
Dennis Guse 83758fcd72 Always cancel TrackRecordingService's notification. 2020-01-11 19:31:58 +01:00
Dennis Guse 070917bc0b Extracted TrackRecordingService's Binder. 2020-01-11 19:31:58 +01:00
Dennis Guse 543a04dfdd Cleanup. 2020-01-11 19:31:58 +01:00
Dennis Guse b4d5eb0eec Refactoring: SharedPreferences are not provided via DataSource anymore. 2020-01-11 19:31:58 +01:00
Dennis Guse 9f84cc4952 Use ContentUris.parseId(). 2020-01-11 19:31:58 +01:00
Dennis Guse 09fe35f1ca Cleanup. 2020-01-11 19:31:58 +01:00
Dennis Guse 27e50b2dd9 Moved ContentProvider into separate package. 2020-01-11 19:31:58 +01:00
Dennis Guse 971460848b Extracted LocationIterator from ContentProviderUtils.
Also refactored LocationFactory to TrackPointFactory.
2020-01-11 19:31:58 +01:00
Dennis Guse 8bc2937bb4 Extracted LocationIterator from ContentProviderUtils. 2020-01-11 19:31:58 +01:00
Dennis Guse 0e9b68c2a1 Cleanup. 2020-01-11 19:31:58 +01:00
Nathan Hearnsberger ba298c2afb Additional language support for export_with/without_photos (DE, ES). 2020-01-11 19:27:53 +01:00
Nathan Hearnsberger 79f5ed4dc3 Added KMZ without photos, photo details to export picker. 2020-01-11 19:27:53 +01:00
Dennis Guse bbb2f874ee Release v3.3.1 2020-01-03 18:11:57 +01:00
Dennis Guse 9af3759b07 Bugfix: app name (release) not shown.
Introduced in 6cc7271a41.
2020-01-03 17:54:15 +01:00
Dennis Guse 1f6fe6bf0c Android 10: on uninstall ask the user if the app data should be kept. 2020-01-03 17:50:07 +01:00
Dennis Guse 7b291e85d7 Renamed DeleteActivity to TrackDeleteActivity. 2020-01-03 17:04:51 +01:00
Dennis Guse 0f72066bc0 Add IntentChooser for dashboards. 2020-01-02 19:56:24 +01:00
Dennis Guse 70e0e7b216 Add README for data API. 2020-01-02 19:54:19 +01:00
Peter Storch 7e50bb1b6d Merge pull request #114 from pstorch/79_osm_plugin
integrate dashboard plugin
2020-01-02 17:56:07 +01:00
Peter Storch a3eb107068 integrate dashboard plugin mechanism
To be able to integrate the OSMDashboard https://github.com/OpenTracksApp/OSMDashboard,
which addresses #79. Also other Dashboards will be possible.
2020-01-02 17:45:01 +01:00
Dennis Guse 6133ef121a Release v3.3.0 2020-01-01 14:46:28 +01:00
Dennis Guse c6d24e9534 Pictures: removed MediaScanner. 2020-01-01 14:44:23 +01:00
Dennis Guse 441d3f721f Debug version: use a black logo. 2020-01-01 14:39:16 +01:00
Dennis Guse 3c212e4bcc Bugfix: for taking pictures; provide access to external/pictures. 2020-01-01 14:28:58 +01:00
Dennis Guse 50eb71bc1f Cleanup. 2020-01-01 14:16:02 +01:00
Dennis Guse 0806821b5f Fixed import/export message to show Storage Access Framework selected path. 2019-12-29 23:33:10 +01:00
Dennis Guse 36d0f17953 Removed french Congo translation (identical to values-fr). 2019-12-29 21:57:39 +01:00
Dennis Guse 700adb7972 Export dialog: removed "from folder" text. 2019-12-29 21:56:48 +01:00
Dennis Guse a156369f8b Import dialog: removed "from folder" text. 2019-12-29 21:32:01 +01:00
Dennis Guse c0f6dc511b Removed values-ar-rXB/strings.xml as it was for testing only. 2019-12-29 21:28:36 +01:00
Dennis Guse 63e1461eba Removed values-en-rXA/strings.xml as it was for testing only. 2019-12-29 20:59:30 +01:00
Dennis Guse 804e5f10c8 Removed values-bn/strings.xml as translations were invalid. 2019-12-29 20:53:37 +01:00
Dennis Guse 6cc7271a41 Build: debug version uses different icon and appLabel. 2019-12-29 20:46:46 +01:00
Dennis Guse f66194189b Removed translation description from values/strings.xml 2019-12-29 20:15:37 +01:00
Dennis Guse 5d97d6d492 Use Android 7.0 localization: merge latin american and present en-rGB as default for en. 2019-12-29 19:13:26 +01:00
Dennis Guse f3a308e669 BREAKING CHANGE: pictures are now stored in getExternalFilesDir(); no migration takes place! 2019-12-29 15:43:06 +01:00
Dennis Guse a230504925 Export & import via Storage Access Framework. 2019-12-29 15:41:28 +01:00
Dennis Guse 90e19e282c Upgraded tests to Junit4. 2019-12-29 15:31:53 +01:00
Dennis Guse b585bfe44c Moved to Github organization: OpenTracksApp. 2019-12-27 23:54:29 +01:00
Dennis Guse 475e04eeb4 Add PlantUML model for data structures. 2019-12-27 18:07:29 +01:00
Dennis Guse f89b2b0efb Removed TripStatists min/max latitude/longitude.
This also removed: search does not account for closer tracks (to current position).
2019-12-27 18:01:11 +01:00
Dennis Guse b94f3c176b Include unit in variable names. 2019-12-27 18:01:10 +01:00
Dennis Guse d1d729d287 Removed unused ContentProvider.getFirstTrackPointId(). 2019-12-27 18:01:07 +01:00
Dennis Guse e23bbcc405 Removed unnecessary Track.startId and Track.stopId. 2019-12-27 18:01:05 +01:00
Dennis Guse 4129985b0f Renamed SensorDataSetLocation to TrackPoint (similar to SQLite table). 2019-12-27 18:00:51 +01:00
Dennis Guse 5cb7b623d9 Removed TripStatistics from Waypoints. 2019-12-26 21:15:42 +01:00
Dennis Guse 3c52efadd6 Removed unused Waypoint.TripStatistics. 2019-12-26 21:15:41 +01:00
Dennis Guse 73b4977051 Removed unused Waypoint.startId and Waypoint.stopId. 2019-12-26 21:15:41 +01:00
Dennis Guse 422c2c02ce Assume GPS provides always time (removed workaround). 2019-12-26 21:15:41 +01:00
Dennis Guse d692329975 Settings: hide advanced recording settings.
And use switches rather than checkboxes.
2019-12-25 23:22:20 +01:00
Dennis Guse 931574bc11 Release v3.2.11 2019-12-25 10:19:22 +01:00
Dennis Guse caddbd8501 MarkerDetailActivity: removed leftover statistic functionality. 2019-12-23 21:44:22 +01:00
Dennis Guse 8ece2c8612 Removed WaypointCreationRequest. 2019-12-23 21:39:37 +01:00
Dennis Guse 3a219321d1 Removed country-specific translations that are identical. 2019-12-23 07:43:05 +01:00
Dennis Guse 35cb924a17 StatsFragment: show elevation without decimal digits. 2019-12-22 20:39:43 +01:00
Dennis Guse b67e5bbd20 StatsFragment: left align current elevation. 2019-12-22 20:33:23 +01:00
Dennis Guse 1db275230e Bugfix: crash on opening heart rate sensor dialog (settings). 2019-12-22 19:09:01 +01:00
Dennis Guse 5ac72092fb Test: export and import tracks via KML and GPX; now includes waypoints.
TripStatistics is not tested.
2019-12-22 18:59:23 +01:00
Dennis Guse bdd9ded1e8 Test: export and import tracks via KML and GPX.
KML now exports track icon (name; not the url).
2019-12-22 18:59:23 +01:00
Dennis Guse 759aeb6ed6 Removed DescriptionGenerator interface. 2019-12-22 18:59:23 +01:00
Dennis Guse 12023d51ae Move data classes into separate package. 2019-12-22 18:59:23 +01:00
Dennis Guse c426785b90 Cleanup. 2019-12-22 18:59:23 +01:00
Dennis Guse 09d960c7a1 First waypoint of a track does not store the statistics of the track. 2019-12-22 18:59:23 +01:00
Dennis Guse f37fe4a503 Removed WaypointType. 2019-12-22 18:59:23 +01:00
Dennis Guse 013e56bef0 Replaced TabHost by Material design TabsLayout. 2019-12-22 18:59:23 +01:00
Dennis Guse d6835ba766 TrackRecordingService does not save the context. 2019-12-22 18:59:23 +01:00
Dennis Guse d7890cbc81 Shortened fr-FR short description.
Thanks to Edern.
2019-12-17 20:35:41 +01:00
Dennis Guse 2b6886c534 Update release procedure. 2019-12-16 22:41:16 +01:00
Dennis Guse e77590a125 Release v3.2.10 2019-12-15 22:11:19 +01:00
Dennis Guse ca330b2d80 Cleanup. 2019-12-15 21:28:03 +01:00
Dennis Guse 20f1524701 Cleanup. 2019-12-15 17:09:44 +01:00
Dennis Guse 96b2a15643 Bugfix: import and export on Android 10 requires requesting (privacy-unfriendly) legacy behavior. 2019-12-15 16:50:13 +01:00
Dennis Guse ad59392e02 Fix travisCI. 2019-12-14 23:58:43 +01:00
Dennis Guse 29f92b887c Fixed TrackRecordingService.insertWaypoint() to allow deprecated behavior. 2019-12-14 23:55:04 +01:00
Dennis Guse 46328211c2 Added promotion sticker. 2019-12-14 23:55:04 +01:00
Dennis Guse 3760130d1f Github: add donation. 2019-12-14 23:42:07 +01:00
Dennis Guse 1094827fac TrackListActivity: fixed landscape layout. 2019-12-11 23:05:31 +01:00
Dennis Guse 36fcb44af5 TripRecordingService: removed unused trip statistics marker updater. 2019-12-11 23:05:31 +01:00
Dennis Guse a683fbac4b Device reboot: do not restart a not successfully ended track recording. 2019-12-11 23:05:31 +01:00
Dennis Guse 64ad9019d1 ChartView: is not configurable anymore. 2019-12-11 23:05:31 +01:00
Dennis Guse 1e80d5c8a8 ChartView: draw waypoints (again).
Functionality was (accidentally) removed in 5a264c5c53
2019-12-11 23:05:31 +01:00
Matthias Lisin ac765b1ee8 Revert duration hint to MAY_DUCK.
Pass OnAudioFocusChangeListener to abandonAudioFocus
2019-12-10 12:58:57 +01:00
Dennis Guse 850c4f0a9a TravisCI: disabled non-functioning installation of Android emulator. 2019-12-10 06:53:22 +01:00
Dennis Guse 4c32999752 Add Google Play link. 2019-12-10 06:50:58 +01:00
Dennis Guse 76823b167a TrackListActivity: removed delete all from action menu. 2019-12-08 13:12:15 +01:00
Dennis Guse 9994cfd260 Bugfix: NPE. 2019-12-07 13:37:06 +01:00
Dennis Guse 1750236474 Added automation for Google Play publication (using fastlane). 2019-12-06 22:26:40 +01:00
Dennis Guse fed6e31f9e Cleanup. 2019-12-06 08:00:20 +01:00
Dennis Guse 9bafc7d4a1 Release v3.2.9 2019-12-04 19:57:27 +01:00
Dennis Guse be58b48d20 Bugfix: StatsFragment (onResume and track was recording) overwrote in the total time UI until next UI update. 2019-12-03 22:21:45 +01:00
Dennis Guse 303abac980 Removed READ_PHONE_STATE permission and use AudioManager.MODE_IN_CALL instead. 2019-12-03 22:01:01 +01:00
Dennis Guse d1a459efc2 Get audio focus onStart. 2019-12-03 20:28:22 +01:00
Dennis Guse 96069e6f09 Cleanup. 2019-12-03 20:24:57 +01:00
Dennis Guse 301a721329 Settings: localize no heart rate sensor selected. 2019-12-03 19:53:14 +01:00
Dennis Guse e8c6801a32 Refactor StatsFragment. 2019-12-03 19:19:19 +01:00
Dennis Guse 355f3ef614 Added "screen always on"-feature to TrackDetailActivity.
And the "show on lockscreen"-feature is only used while recording.
2019-12-03 16:57:56 +01:00
Dennis Guse eaa6083586 Bugfix: Heart rate was not shown in stats. 2019-12-03 07:31:29 +01:00
Dennis Guse a0c5d02c51 Fixed and removed device features (AndroidManifest). 2019-12-03 07:31:29 +01:00
Dennis Guse 76f9f5fc82 MarkerDetailFragment now shows the blue pin as default image. 2019-12-03 07:31:29 +01:00
Dennis Guse 8e2598e93b Removed split markers. 2019-12-03 07:31:24 +01:00
Dennis Guse c0672c41df Bugfix: crash if heart rate sensor was null (i.e., preference not initialized). 2019-11-29 23:18:49 +01:00
Dennis Guse 4c6601fbc5 Release v3.2.8 2019-11-29 22:58:22 +01:00
edern-appere b99c87d1bd Added French translation for Fdroid. 2019-11-29 22:46:43 +01:00
Dennis Guse 66ffbfe951 Fixed ChartFragment tests.
Initialization of looper was missing.
2019-11-29 22:43:51 +01:00
Dennis Guse 8cb01a1027 Bugfix: sharing a track was not adding the file(s).
While migrating to enable sharing multiple tracks a configuration option was missed.
2019-11-29 22:39:36 +01:00
Dennis Guse 193e5eccbb Cleanup. 2019-11-29 22:39:36 +01:00
Dennis Guse bf7fc28bb0 Bugfix: picture name suffixes were malformed on export and thus could not be re-imported. 2019-11-29 22:39:31 +01:00
Dennis Guse e35cbc343a Add pull request template. 2019-11-29 07:54:39 +01:00
Dennis Guse 1c7b053c8c Fixed MarkerDetailActivity.
The orientation of the layout was not set and thus adding the toolbar broke the UI.
2019-11-28 18:09:11 +01:00
Dennis Guse 88cdcd4b47 Use GestureDetector rather than doing it on our own. 2019-11-27 21:42:05 +01:00
Dennis Guse 1432fed8f9 Removed zoom controls for ChartFragment. 2019-11-27 21:41:53 +01:00
Dennis Guse a14307b9a4 Moved Chart* into own package. 2019-11-27 20:19:12 +01:00
Dennis Guse 3bdce5aa08 Cleanup: use autocloseable. 2019-11-25 23:09:08 +01:00
Dennis Guse d7526f93b8 Cleanup: removed ContentProviderUtils interface. 2019-11-25 23:02:48 +01:00
Dennis Guse 8932578b90 Release v3.2.7 2019-11-25 22:03:40 +01:00
Dennis Guse 631ac9881d Wrap help into PreferenceCategory. 2019-11-25 22:03:02 +01:00
Dennis Guse 78334ed797 Fixed Spanish project description (short); was still German. 2019-11-24 21:12:07 +01:00
Dennis Guse b06da89654 Show chart for distance as well as time.
Also removed configuration option.
2019-11-24 19:55:00 +01:00
Dennis Guse d6c2e78993 Cleanup. 2019-11-24 18:48:31 +01:00
Dennis Guse 67d1ac551d Show GPS accuracy while recording in the notification of the TrackRecordingService and notify if accuracy goes beyond configured threshold. 2019-11-24 18:44:04 +01:00
Dennis Guse dcb6be717d Cleanup. 2019-11-23 22:46:39 +01:00
Dennis Guse f2c04eec1a Add help activity.
Can be accessed from Settings.
2019-11-23 21:43:07 +01:00
Dennis Guse a08311cf43 Temporary bugfix: disable landscape mode for TrackListActivity. 2019-11-22 07:44:01 +01:00
Dennis Guse 1e28f3aa86 Add TTSUtils.
(required by previous commit)
2019-11-22 07:43:19 +01:00
Dennis Guse 426af41f2c Move TTS stream definition into one place. 2019-11-20 19:27:41 +01:00
Dennis Guse fd08a219f9 Add Spanish store description. 2019-11-20 19:13:21 +01:00
Dennis Guse 25b6aec0e9 Release v3.2.6 2019-11-19 22:09:10 +01:00
Dennis Guse 3e40209d15 Refactoring. 2019-11-19 08:00:12 +01:00
Dennis Guse 54ff94f905 Settings: renamed Bluetooth sensor to "Heart rate". 2019-11-18 17:16:50 +01:00
Dennis Guse 7a4faf6b0d Fixed SettingsActivity. 2019-11-18 17:13:42 +01:00
Dennis Guse 8922b00a5f README: add screenshots. 2019-11-17 18:45:29 +01:00
Dennis Guse 702efa8693 Removed shortcut to Android's Bluetooth settings. 2019-11-17 18:25:01 +01:00
Dennis Guse e7a8c897a3 Settings: scan for Bluetooth sensors rather than using bonded devices.
Bonded devices do no provide information what services (e.g., heart rate) they support.
2019-11-17 18:24:02 +01:00
Dennis Guse c59d1d87bd Bluetooth: move getting adapter to BluetoothUtils. 2019-11-17 18:23:08 +01:00
Dennis Guse a706efb8b3 Bugfix. 2019-11-14 18:30:57 +01:00
Dennis Guse e391e83a00 Build: show version and tag in about page. 2019-11-14 18:04:50 +01:00
Dennis Guse 2940bf20d8 Settings: remove all defaults from code. 2019-11-12 21:33:04 +01:00
Dennis Guse 081db5a58b Settings: remove default setting for default activity. 2019-11-12 21:33:04 +01:00
Dennis Guse b34805272f Bugfix: not connecting to heart rate sensor - need to start BluetoothRemoteSensorManager.
Introduced in bc5ab0d7e5
2019-11-09 00:02:20 +01:00
Dennis Guse 98443dba99 Cleanup. 2019-11-08 22:45:34 +01:00
Dennis Guse dd6e733d8c Release v3.2.5 2019-11-08 22:31:49 +01:00
Dennis Guse 92d3439c3b Re-enable SummaryProvider for default_activity. 2019-11-08 07:58:30 +01:00
Dennis Guse bd155cd600 Use SummaryProvider.
Fixed #46.
2019-11-08 07:36:45 +01:00
Dennis Guse e14e53c0ae Fix hack to update summary of statsRate if statsUnit change. 2019-11-07 23:32:28 +01:00
Dennis Guse 77a6a63174 Re-initialize PreferenceFragment, when sharedpreferences were reset. 2019-11-07 22:24:15 +01:00
Dennis Guse 40f2463f09 Fail safety: if settings cannot loaded (invalid data in sharedpreferences), reset it and try again. 2019-11-07 19:15:17 +01:00
Dennis Guse e5d1048c8d Bugfix reset settings: really clear sharedPreferences before settings default values. 2019-11-07 19:15:17 +01:00
Dennis Guse bf3b529fb2 Add link to Transifex for localization.
Fixes #27.
2019-11-07 19:15:17 +01:00
Dennis Guse d0fde46027 Android does not allow referencing integer in string-arrays: store everything as string and parse it later (also for tests). 2019-11-06 18:40:58 +01:00
Dennis Guse 0f348dff10 Android does not allow referencing integer in string-arrays: store everything as string and parse it later. 2019-11-06 18:16:40 +01:00
Dennis Guse d3f5080e73 Fixed issues introduced in 353c958ae0 and 2a60aa8f59. 2019-11-06 07:42:15 +01:00
Dennis Guse a453c8ec1e TrackDetailActivity: disable activity type changer in view mode.
Fix #3.
2019-11-05 22:45:29 +01:00
Dennis Guse 2a60aa8f59 Settings: removed some default definitions from code into xml. 2019-11-05 22:02:23 +01:00
Dennis Guse 41e7870509 Settings: removed some default definitions from code into xml. 2019-11-05 21:13:51 +01:00
Dennis Guse 57f66b77ab Reorganized settings (sharedpreferences and keys); xml only. 2019-11-05 21:13:51 +01:00
Dennis Guse 53572406e9 Mark foreground service to use location and connection to other devices, so it can run properly on Android 10+ when app is in the background.
Might fix #61.
2019-11-05 21:13:51 +01:00
Dennis Guse a288255ab1 Added issue and feature templates. 2019-11-05 19:33:57 +01:00
Dennis Guse 353c958ae0 Moved accessing sharedPreferences into PreferencesUtils. 2019-11-03 01:44:46 +01:00
Dennis Guse bc5ab0d7e5 Removed unnecessary RemoteSensorManagerFactory.
TrackRecordingService is only using BluetoothRemoteSensorManager and thus factory pattern is not required.
2019-11-03 00:21:51 +01:00
Dennis Guse 9d915b5640 Cleanup. 2019-11-03 00:13:14 +01:00
Dennis Guse 3aaee270eb Release v3.2.4 2019-11-01 23:54:34 +01:00
Dennis Guse d53a7156e2 Bugfix: removed custom dialogs to set voice/split frequency preferences from the context menu directly.
Fixed #49.
2019-11-01 23:38:07 +01:00
Dennis Guse 3af24ea3d0 Release v3.2.3 2019-10-31 22:07:21 +01:00
Dennis Guse 5483212b06 Fixed StringUtils.formatDecimal to work with decimals of 0. 2019-10-30 23:02:02 +01:00
Dennis Guse 419279fe5e Cleanup. 2019-10-30 22:36:22 +01:00
Dennis Guse 501e899b27 StatsFragment: need to reconnect to TrackRecordingService in onResume as it is unbound in onStop.
Fixed #50.
2019-10-30 22:36:16 +01:00
Dennis Guse 3bb9edb009 Connect to new sensor if settings are changed.
Fixed #52.
2019-10-30 07:48:29 +01:00
Dennis Guse e52b1188a3 Cleanup. 2019-10-29 23:05:17 +01:00
Dennis Guse 9e877e4762 Removed stale verify. 2019-10-29 22:39:51 +01:00
Dennis Guse 5711757110 If sharing multiple tracks, share them as separate files. 2019-10-29 17:43:23 +01:00
Dennis Guse e1c33dad43 Move to Android ShareSheet. 2019-10-29 17:34:21 +01:00
Dennis Guse 4b2400774c TravisCI: start emulator, which is required for testing. 2019-10-28 23:25:07 +01:00
Dennis Guse afd4a59622 CI: enabled tests.
Fixed #6.
2019-10-27 16:50:28 +01:00
Dennis Guse bdce437470 Removed AnnoucementPeriodTaskTest as these were broken beyond repair. 2019-10-27 16:46:56 +01:00
Dennis Guse 33479cda11 Fixed TrackRecordingService tests: start service properly if needed. 2019-10-27 15:58:50 +01:00
Dennis Guse 385cee3dc7 Fixed Date parsing test (account for
rounding up microseconds).
2019-10-27 13:45:43 +01:00
Dennis Guse d0bbd7655b Ignore KML waypoints that do not have a type. 2019-10-27 13:40:06 +01:00
Dennis Guse a83b8f62fe Repaired Track importer tests. 2019-10-27 13:24:20 +01:00
Dennis Guse 0cd9176703 Heart rate must be larger than zero to be shown while tracking. 2019-10-26 14:35:03 +02:00
Dennis Guse d8e526923d Removed RemoteSensorManager as abstraction was not used anymore. 2019-10-26 14:26:16 +02:00
Dennis Guse 3a6f417662 Added disconnect toast message. 2019-10-26 14:23:38 +02:00
Dennis Guse 7d807a7f11 Refactor Bluetooth LE stack to use autoReconnect.
Removed additional timerTask to reconnect (was not working anymore).

Fixed #41.
2019-10-26 14:11:55 +02:00
Dennis Guse e9d5718495 Cleanup. 2019-10-23 18:47:32 +02:00
Dennis Guse 0dd7f74a11 Removed temporary sensor manager (was not used anymore). 2019-10-22 21:15:11 +02:00
Dennis Guse 9bd4ba489c Release: v3.2.2 2019-10-21 23:00:13 +02:00
Dennis Guse dd55b50dad Re-added actionbar (actually toolbar) to SettingsActivity. 2019-10-21 22:54:23 +02:00
Dennis Guse 1719d21a5b Bugfix: export now really includes sensor data (as double) and import is done as float. 2019-10-21 22:34:33 +02:00
Dennis Guse 75ef8d99d4 SensorDataSet: data unavailable is now NaN. 2019-10-21 22:34:28 +02:00
Dennis Guse ae06fd1680 Bugfix: export sensor data if available and allowed. 2019-10-20 18:39:31 +02:00
Dennis Guse 2b03f7dea8 Use LinearLayout for SearchActivity (show toolbar correctly). 2019-10-20 17:05:09 +02:00
Dennis Guse 7591b012b4 Extracted ShareActionProvider setup code into a separate class. 2019-10-20 16:55:28 +02:00
Dennis Guse 0e089f49f3 Re-added application logo to material design toolbar. 2019-10-19 12:27:11 +02:00
Dennis Guse 5ad1856b13 Removed context menu from ListActivities. 2019-10-17 21:32:55 +02:00
Dennis Guse 965dbbe829 Removed custom action bar style. 2019-10-17 21:26:31 +02:00
Dennis Guse 262c9886df Removed aggregated stats activity. 2019-10-17 21:22:07 +02:00
Dennis Guse ac5a9ea65d Use Androidx compat's toolbar instead of actionbars.
ListView's multiselect still uses actionbar.
2019-10-17 21:19:14 +02:00
Dennis Guse ed9b4c8f3d Add workaround for Compat's ShareActionProvider, which is not available when inflating in a AbsListView.MultiChoiceModeListener. 2019-10-17 18:33:45 +02:00
Dennis Guse 209aa6a8a5 Hide share action from SearchActivity as it is not (yet) functional. 2019-10-17 07:58:11 +02:00
Dennis Guse 81ee6ac1fa Do not use custom style for AlertDialogs, so PreferenceDialogs and AlertDialogs look the same. 2019-10-17 06:38:05 +02:00
Dennis Guse 024dd603cb Migration to Androidx PreferenceCompat. 2019-10-17 06:00:47 +02:00
Dennis Guse 50654c6baf Release v3.2.1 2019-10-15 18:36:40 +02:00
Dennis Guse 8c9bf60fc6 Update Settings if the units (metric/imperial) are changed. 2019-10-15 17:29:59 +02:00
Dennis Guse a83eb0b983 Added de-DE description. 2019-10-13 12:19:27 +02:00
Dennis Guse ab3cbfea0f Metadata: adjust to fastlane layout. 2019-10-13 12:19:27 +02:00
Dennis Guse c93e5ca1a6 Settings: moved to Androidx Compat and use one screen only. 2019-10-12 18:00:51 +02:00
Dennis Guse c2841092da Settings: moved setup into helper. 2019-09-19 22:30:28 +02:00
Dennis Guse 8b11e1d611 DialogFragments: do not save state. 2019-09-19 22:30:28 +02:00
Dennis Guse 6375a851b2 Moved ChooseActivityTypeDialog to be a real DialogFragment.
Note: This breaks RecordingsSettingsActivity.
2019-09-19 22:28:04 +02:00
Dennis Guse f21200a7ec UnitConversation: always use double for division.
Fixed wrong computation (00:00) of total time.
2019-09-19 19:29:49 +02:00
Dennis Guse 5752cebdec Released 3.2.0 2019-09-19 19:14:34 +02:00
Dennis Guse fa6329c157 Fdroid: downgraded to Gradle 5.5 2019-09-19 19:08:04 +02:00
Dennis Guse 98a9884798 Fdroid: added link in README and moved metadata to fastlane folder. 2019-09-19 19:04:17 +02:00
Dennis Guse 1f7f615411 Import/Export: first option is KMZ containing all data. 2019-09-16 23:43:30 +02:00
Dennis Guse a79345ccf9 Grant ACCESS_FINE_LOCATION for TrackRecordingServiceTest. 2019-09-16 22:47:37 +02:00
Dennis Guse 732e0e76f9 Removed custom styling of title divider of used dialogs (just too much code). 2019-09-16 22:37:37 +02:00
Dennis Guse 63d29f2097 Cleanup. 2019-09-16 19:44:34 +02:00
Dennis Guse 9dd2f7d1c1 KML/KMZ export and share: add configuration to export with trackdetail without the rest.
Fixed some issues in TRACK_ONLY mode as too much data was exposed.
2019-09-15 09:47:48 +02:00
Dennis Guse afd25363b3 For export and import: KMZ first as it contains all data incl. photos. 2019-09-15 09:22:10 +02:00
Dennis Guse 2eb5a42099 When it should be KMZ, make it KMZ. 2019-09-15 08:45:11 +02:00
Dennis Guse 9c753034b4 Update title in MarkerDetailActivity when viewpager changes. 2019-09-15 00:31:53 +02:00
Dennis Guse 95b7c701a2 Cleanup: do not assume first waypoint contains (always) TripStatistics. 2019-09-15 00:14:15 +02:00
Dennis Guse 56685a9dec Bugfix: export of images via KMZ is now working. 2019-09-14 23:35:28 +02:00
Dennis Guse 45b13ea813 Removed tab icons as they were not shown anyhow. 2019-09-14 22:43:26 +02:00
Dennis Guse b0feed84bb Removed voice frequency menu icon as it not shown anyhow. 2019-09-14 22:34:58 +02:00
Dennis Guse 0e2da83e1f Removed snowboarding and skiing due to lack of icons. 2019-09-14 22:20:29 +02:00
Dennis Guse fa364a150d Styling for progress bar via tint. 2019-09-14 21:50:10 +02:00
Dennis Guse 6ec78d77a9 Changed gps menu item icon to represent actual state of the gps (and not the action to be executed). 2019-09-14 13:25:23 +02:00
Dennis Guse 8853bb5408 Replaced drawables with vectors (SVG) for TrackController.
- ic_button_pause
- ic_button_record
- ic_button_stop
2019-09-14 02:58:05 +02:00
Dennis Guse e4d6355875 Replaced drawables with vectors (SVG) for TrackListActivity.
- ic_pause
- ic_record
- ic_arrow_long
2019-09-14 01:34:41 +02:00
Dennis Guse 1e08d72cc9 Removed resources of indetermined progressbar (unused). 2019-09-14 00:22:35 +02:00
Dennis Guse ea82d2df94 Fixed tabhost resource id. 2019-09-13 23:55:39 +02:00
Dennis Guse 71c0114f8f Fixed lint error. 2019-09-13 23:14:14 +02:00
Dennis Guse a3955c7c37 Made generic activity type selectable.
Decreased icon size.
2019-09-13 23:00:12 +02:00
Dennis Guse e610b70590 Use logo (white) for generic track (replaces similar a png with gradient). 2019-09-13 22:55:25 +02:00
Dennis Guse 7f4d47d7b5 Foreground service notification now uses the logo directly (vector). 2019-09-13 22:38:39 +02:00
Dennis Guse fd27ec11a2 Replaced chartViews current position marker with logo. 2019-09-12 23:52:04 +02:00
Dennis Guse 2aa036f3aa Material design icons for dialogs. 2019-09-12 23:44:21 +02:00
Dennis Guse 2c49a4f3f1 Introduced material design icons. 2019-09-12 23:24:19 +02:00
Dennis Guse 10e4a52947 Fixed stats_content. 2019-09-12 20:39:13 +02:00
Dennis Guse 9f3936e180 Removed unused icons. 2019-09-12 20:17:29 +02:00
Dennis Guse a3a76ce0c3 Disabled lint for AppCompatResource. 2019-09-12 20:15:03 +02:00
Dennis Guse 545db52f94 Cleanup. 2019-09-12 18:33:45 +02:00
Dennis Guse bfa02a97ee Upgrade appcompat library. 2019-09-12 17:57:33 +02:00
Dennis Guse 3a2eeaa204 Fixed lint warnings in stats_content layout. 2019-09-12 17:57:33 +02:00
Dennis Guse 42b3a5dfc9 Refactored stats_content layout to contain all content (not use include). 2019-09-12 17:57:28 +02:00
Dennis Guse b5cb47a0c7 Refactored TrackRecordingServiceConnection: made static methods object methods. 2019-09-10 22:45:20 +02:00
Dennis Guse 443e069a13 Refactored TrackRecordingServiceConnection.
- implemented interfaces directly
- moved static methods from TrackRecordingServiceConnectionUtil
2019-09-10 22:37:54 +02:00
Dennis Guse 9c432c3110 Removed unused menu from SearchListActivity. 2019-09-10 21:20:41 +02:00
Dennis Guse 79934d51ac Revert "Moved from onTouch to onClick listeners."
This reverts commit 025dee68
2019-09-10 21:20:41 +02:00
Dennis Guse 496cf9145b Removed usage of Broadcast (were used by Widget). 2019-09-10 21:20:40 +02:00
Dennis Guse 264bb3746f Removed ControlRecordingService.
It was implemented to enable other apps to start and stop track recordings.
2019-09-10 21:19:11 +02:00
Dennis Guse 7b1ccf4507 Cleanup AndroidManifest. 2019-09-10 21:18:55 +02:00
Dennis Guse a326265dba Fixed searchview, which did not trigger SearchListActivity. 2019-09-10 21:18:25 +02:00
Dennis Guse 0864bc8104 Cleaned up ContentProviderUtils's factory pattern. 2019-09-10 21:18:03 +02:00
Dennis Guse f5656470a9 Removed Parcelable from all data classes as it not needed anymore. 2019-09-10 21:17:45 +02:00
Dennis Guse 5bc773f1aa Removed modifiedtime from Track - was likely a Google Drive leftover. 2019-09-10 21:17:18 +02:00
Dennis Guse 6bfd8c8db8 Cleanup: Use Pair instead of String[2]. 2019-09-10 21:16:58 +02:00
Dennis Guse df2865456e Removed obsolete workaround for DateUtils.formatElapsedTime(). 2019-09-10 21:16:38 +02:00
Dennis Guse fc6d5f1f23 Removed Widget. 2019-09-10 21:16:16 +02:00
Dennis Guse 96dab8c81b Build: enabled abort on lint errors. 2019-09-10 21:16:00 +02:00
Dennis Guse 1d13d51f0c Cleanup. 2019-09-10 21:12:56 +02:00
Dennis Guse 87d92d25f9 Cleanup: mainly code formatting and made LocationIterator implement autoclosable. 2019-09-08 12:39:40 +02:00
Dennis Guse 025dee6821 Moved from onTouch to onClick listeners. 2019-09-08 12:39:40 +02:00
Dennis Guse 796d086615 Cleanup.
Cleanup.
2019-09-08 12:39:37 +02:00
Dennis Guse bb1ef08474 Splitted TrackRecordingServiceTest into two files and fixed issue about calling Looper.prepare() only once for all tests. 2019-09-05 22:44:27 +02:00
Dennis Guse cc770d8bb4 Fixed (some) AnnoucementPeriodicTask[Factory] tests. 2019-09-05 07:41:16 +02:00
Dennis Guse 8a56c262cb Cleanup. 2019-09-04 22:09:22 +02:00
Dennis Guse c0a9958b5b Fixed (some) TrackRecordingServiceTests. 2019-09-04 21:33:30 +02:00
Dennis Guse 7351cd3377 TrackDataHubTest is beyond repair and thus removed. 2019-09-04 20:41:39 +02:00
Dennis Guse 7b3d5848b9 Fixed ControlRecordingService: only unbind if connected. 2019-09-04 17:43:24 +02:00
Dennis Guse 0f311e062e Fixed ContentProviderUtils tests.
Account for using a real (non-empty) database and thus non-predictable object ids.
2019-09-03 21:32:35 +02:00
Dennis Guse 57930a8d86 Added changelog for 2991/v3.1.0 2019-09-03 21:32:35 +02:00
Dennis Guse 7c0069394f Release v3.1.0 2019-09-02 19:42:40 +02:00
Dennis Guse 379913fb3e Cleanup. 2019-09-02 19:39:58 +02:00
Dennis Guse 542d9ccb77 Request storage permission on import all and export all. 2019-09-02 19:37:55 +02:00
Dennis Guse c8ae3b83b5 Added option to show statistics while recording without unlocking the device. 2019-09-02 18:36:31 +02:00
Dennis Guse 0a046fc100 Cleanup. 2019-09-02 18:02:43 +02:00
Dennis Guse c551a38a8b Show full version name based upon git describe --tags on startup and also in AboutActivity. 2019-09-02 16:05:24 +02:00
Dennis Guse 72b1ca82ed Moved debug warnings into Startup. 2019-09-02 15:50:35 +02:00
Dennis Guse 1ef81c45db Build: do not minify code for release.
The amount of space saved is too small to be of a real benefit while stack traces become unreadable.
2019-09-02 15:50:35 +02:00
Dennis Guse 08e6ae76f2 Fix TravisCI for Android-29 (#34) 2019-09-02 15:44:21 +02:00
Dennis Guse 6e410e049d Bugfix: creating waypoint from camera works now.
Introduced in commit 677b691ef1
2019-08-26 22:57:00 +02:00
Dennis Guse 22b7962940 Upgraded to Gradle 5.6 and AndroidStudio 3.5.0. 2019-08-26 21:55:40 +02:00
Dennis Guse 5788f99b20 Catch ActivityNotFound exception for starting geo-data intents. 2019-08-25 22:20:08 +02:00
Dennis Guse 8685e43dc2 Fixed ShareContentProvider and KMZ mime type. 2019-08-25 21:37:47 +02:00
Dennis Guse b8bea27155 Added AndroidStudio coding style configuration. 2019-08-25 16:21:20 +02:00
Dennis Guse c9226d3b79 Fixed CustomContentProvider tests. 2019-08-25 16:20:27 +02:00
Dennis Guse 9701feff04 Removed duplicate registration of images at MediaScanner. 2019-08-25 08:42:36 +02:00
Dennis Guse b8b40a88ef Show Marker menu entry at defined position. 2019-08-25 08:41:11 +02:00
Dennis Guse adcf7b388b Finish MarkerDetailActivity after storing marker. 2019-08-25 00:26:04 +02:00
Dennis Guse 3a7562d96c Modified "show on map" functionality to only share locations and no other track data. 2019-08-25 00:21:36 +02:00
Dennis Guse 2753cf7d0b Removed search suggestion configuration. 2019-08-24 18:48:50 +02:00
Dennis Guse 5841415a0b Refactored TrackWriter instantiation. 2019-08-24 18:14:32 +02:00
Dennis Guse d79fa07834 Share multiple tracks from TrackListActivity. 2019-08-24 17:51:57 +02:00
Dennis Guse ff6caf706e Added show on map to TrackDetailActivity. 2019-08-24 17:51:57 +02:00
Dennis Guse c953fbc67a Implemented "Share" from TrackListActivity's context menu. 2019-08-24 09:37:38 +02:00
Dennis Guse 55870cca85 Bugfix: import/export all now react to back button. 2019-08-24 08:49:59 +02:00
Dennis Guse 0123242be6 Bugfix: use correct entries/values for track name. 2019-08-24 08:44:43 +02:00
Dennis Guse 81a6d7b53a Added release recipe for FDroid. 2019-08-24 08:39:13 +02:00
Dennis Guse f423b07cee Added Changelogs for v3.0.0, v3.0.1, and the upcoming release. 2019-08-24 08:27:31 +02:00
Dennis Guse 33231bdbb1 Renaming to AbstractListActivity. 2019-08-23 07:37:03 +02:00
Dennis Guse 677b691ef1 Moved special intent creation to IntentUtils. 2019-08-23 07:33:58 +02:00
Dennis Guse 5e74e80a9a Use correct mime type for KML and KMZ. 2019-08-23 07:19:40 +02:00
Dennis Guse 70b5d799a2 Share marker works everywhere and share track from TrackDetailActivity. 2019-08-23 07:01:14 +02:00
Dennis Guse 16f18fe16f Removed search suggestion provider as it only provided recent searches. 2019-08-21 22:25:16 +02:00
Dennis Guse 8538c79dd8 Extracted content uri definition. 2019-08-21 22:20:18 +02:00
Dennis Guse f8e3b28e51 Removed landscape mode for TrackDetailActivity as it was broken and portrait mode needs heavy refactoring first. 2019-08-21 07:18:57 +02:00
Dennis Guse 9f665e07fd Show on map: everything is handled by one content provider alone.
To avoid issues forwarding a requests from (temporarily) exported content provider to internal content provider only one content provider is used.
2019-08-20 22:55:32 +02:00
Dennis Guse b7c010c086 Show on map: draft via virtual file (with two content providers).
Exported content provider that temporary needs to grant access to the internal content provider.
2019-08-20 22:49:54 +02:00
Dennis Guse 8296c0194d Show on map: draft via sharing temporary file. 2019-08-20 22:48:05 +02:00
Dennis Guse f537cc7321 Cleanup: automatic code inspection via Android Studio. 2019-08-18 14:46:43 +02:00
Dennis Guse 4fa2401b27 Removed CustomContentProvider.openFile() as it was used for Google Earth integration. 2019-08-18 13:22:41 +02:00
Dennis Guse f30e3cd5cd Removed contentDescription for logo (was still MyTracks). 2019-08-18 13:13:11 +02:00
Dennis Guse b73353120f PreferenceCategory import/export all: now uses Tracks as title. 2019-08-18 11:00:04 +02:00
Dennis Guse 7fa9df1f99 Cleanup. 2019-08-17 00:58:52 +02:00
Dennis Guse ea3de8a987 Renamed SensorManager to RemoteSensorManager. 2019-08-16 21:20:00 +02:00
Dennis Guse c159e1eba4 Version v3.0.1 2019-08-16 19:53:38 +02:00
Dennis Guse 420d538a73 Preferences: Import all/Export all has now transparent background and back button works as desired. 2019-08-16 18:53:26 +02:00
Dennis Guse 36672d6857 Fixed ChartFragmentTest. 2019-08-16 07:49:47 +02:00
Dennis Guse 51dc6f8e8d Tests: accept permission automatically. 2019-08-16 07:13:58 +02:00
Dennis Guse 9a6c9eeace Set android:allowBackup=false to prevent backups as this also includes cloud-based storages (e.g., Google Drive). 2019-08-15 23:14:52 +02:00
Dennis Guse bfb7f781ec Enabled TravisCI (just building, no tests). 2019-08-15 23:03:30 +02:00
Dennis Guse 8ca24b877c Moved Import all/Export all functionality to Settings. 2019-08-15 22:38:51 +02:00
Dennis Guse 01ef5cfa6f All test are now executable (but all are not working). 2019-08-14 18:03:48 +02:00
Dennis Guse 08825fcf04 Cleanup: typo. 2019-08-14 08:05:37 +02:00
Dennis Guse 4f5e87f87d Enabled some TrackDataHub tests. 2019-08-14 08:05:00 +02:00
Dennis Guse 45b1fafdd5 Fixed test and implementation of DescriptionGenerator. 2019-08-13 23:04:09 +02:00
Dennis Guse e89258c173 Fixed some tests by using the application context.
Fixed some tests by using the application context.

Fixed some tests by using the application context.

Fixed some tests by using the application context.
2019-08-13 22:49:41 +02:00
Dennis Guse d47d37afd2 Import/Exporter tests now compile (do not work). 2019-08-13 22:09:56 +02:00
Dennis Guse d9effc80a7 Enabled TrackRecordingServiceTest (mainly failing). 2019-08-13 20:59:29 +02:00
Dennis Guse 03d2b05ffd Allows SharedPreferences to contain int as well as String. 2019-08-13 20:56:07 +02:00
Dennis Guse e2cac6ee60 More tests executable (but not passing). 2019-08-12 18:47:48 +02:00
Dennis Guse f749ddb5ae Cleanup. 2019-08-12 18:47:48 +02:00
DanielJorn 6bb409fed0 Fixed typo in Readme.md 2019-08-11 09:25:53 +02:00
Dennis Guse 6da2d9d104 Export to KML and KMZ as requested by user. 2019-08-11 09:07:31 +02:00
Dennis Guse cd267123e7 KML export: write close tag for last segment.
Closes #21.
2019-08-10 14:00:38 +02:00
Dennis Guse 617ee719c8 Add heart rate sensor UI for landscape (BUG: still not visible). 2019-08-07 07:26:39 +02:00
Dennis Guse 4edad610ee Moved SensorSettingsActivity into SettingsActivity. 2019-08-06 20:07:22 +02:00
Dennis Guse fda95bbec9 Integrated ChartSettingsActivity in SettingsActivity. 2019-08-06 19:52:57 +02:00
Dennis Guse 1028e09888 Removed actionbar back button.
It was complicating the code base too much.
2019-08-06 19:46:01 +02:00
Dennis Guse 4abd07694c Use a custom dialog to reset preferences. 2019-08-06 19:08:11 +02:00
Dennis Guse a53b3288f7 BREAKING CHANGE: Moved to getDefaultSharedPreferences(). 2019-08-06 18:34:07 +02:00
Dennis Guse 7ba771c417 Moved sharedPreferences accessor to PreferenceUtils. 2019-08-06 18:18:25 +02:00
Dennis Guse 2a145b4791 Cleanup list preferences. 2019-08-06 07:47:37 +02:00
Dennis Guse cf90462772 PreferenceList: let summary be set by Android.
Some preferences used customized summaries - these were also removed.
2019-08-06 07:41:17 +02:00
Dennis Guse d9a6701260 Initialize preferences with default values. 2019-08-06 07:41:17 +02:00
Dennis Guse 1dc9558541 Use Androidx to get version code from manifest. 2019-08-05 22:21:44 +02:00
Dennis Guse 972de5f92e Photo size for KMZ exports is not configurable anymore. 2019-08-05 22:12:40 +02:00
Dennis Guse 28270b202e Hide activityTypeLabel in statistic summary. 2019-08-05 22:05:49 +02:00
Dennis Guse c9ee1a4218 Draft for FDroid metadata (via fastlane layout). 2019-08-05 17:41:48 +02:00
Dennis Guse 4c428d2547 Fixed export directory (was still MyTracks). 2019-08-05 17:08:03 +02:00
Dennis Guse 9bf1189f77 Added donation link to Liberapay. 2019-08-01 00:00:52 +02:00
Dennis Guse 484666e499 Cleanup broadcast messages.
(NOTE: Search suggestions and starting about page are not (yet) working).
2019-08-01 00:00:52 +02:00
Dennis Guse 28cdd39842 Automatic versioning (versionName and versionCode) using GIT. 2019-08-01 00:00:48 +02:00
Dennis Guse 9483241d43 Added about activity. 2019-07-27 13:13:41 +02:00
Dennis Guse d8a0265ad0 Removed obsolete resources. 2019-07-27 13:13:41 +02:00
Dennis Guse a6999fe7bd Disabled presentation of elevation gain as it used currently derived from the GPS signal alone and therefore very imprecise. 2019-07-27 13:13:41 +02:00
Dennis Guse f7db1c583b Removed reverse geocoding option for naming tracks.
This was actually done blocking in the main UI thread and (as Internet is usually used for this) was actually introducing weird random delay after ending a recording.
2019-07-27 13:13:41 +02:00
Dennis Guse a009be416f Added OpenTracks README. 2019-07-27 13:13:36 +02:00
Dennis Guse 7d515a3187 Bump versionCode and versionName. 2019-07-26 18:39:35 +02:00
Dennis Guse 6428074cdc Ask for ACCESS_FINE_LOCATION only (and really do it). 2019-07-26 18:39:35 +02:00
Dennis Guse 4e2eb2a0a1 Really removed translations referencing Google Drive functionality that is not present anymore. 2019-07-26 18:39:35 +02:00
Dennis Guse 6903a3e048 Rebranding to OpenTracks (translations). 2019-07-26 18:39:35 +02:00
Dennis Guse 233522a5e6 Rebranding to OpenTracks (code). 2019-07-26 18:39:35 +02:00
Dennis Guse cd52dc29c9 Autoformatted all resources. 2019-07-26 18:39:35 +02:00
Dennis Guse 363cb14bff Autoformatted all classes (non-testing). 2019-07-26 18:39:35 +02:00
Dennis Guse 5cfae845b7 Removed 'mytracks' from documentation, code, and filenames. 2019-07-26 18:39:35 +02:00
Dennis Guse 6dc03f567a Removed 'My Tracks' from documentation and code. 2019-07-26 18:39:35 +02:00
Dennis Guse b11f671c59 Removed translation_description from all strings.xml (except default). 2019-07-26 18:39:34 +02:00
Dennis Guse a4cabf1f0f Formatting translations. 2019-07-26 18:39:29 +02:00
Dennis Guse 0bd94e5f3f Removed "E.g., '/MyTracks/kml'.'." from translation instructions. 2019-07-24 06:17:52 +02:00
Dennis Guse 9c00d1afd1 Replaced logo png with a svg. 2019-07-24 06:17:52 +02:00
Dennis Guse 6eecef0048 Removed "E.g., 'Google location settings'." from translation instructions. 2019-07-24 06:17:52 +02:00
Dennis Guse 88c7e6ce1b Removed unused permissions as TrackRecordingService is now only reachable from within the app. 2019-07-24 06:17:52 +02:00
Dennis Guse 86a42f3c7c Use TEXT instead of String for SQLite. 2019-07-24 06:17:52 +02:00
Dennis Guse 58135607e8 (Re-)Enabled SaveActivity. 2019-07-24 06:17:45 +02:00
Dennis Guse 601c2fe9fa Cleanup R.strings. 2019-07-24 06:17:32 +02:00
Dennis Guse d6af46ed58 Remove MyTracks from resource names and styles. 2019-07-24 06:17:32 +02:00
Dennis Guse 186efc0a23 Removed IntegerListPreference and use a ListPreference instead. 2019-07-24 06:17:32 +02:00
Dennis Guse a1f62ec79f Cleanup. 2019-07-24 06:17:32 +02:00
Dennis Guse 111baff976 Preferences: use ListPreference instead of MyTracksListPreference. 2019-07-24 06:17:32 +02:00
Dennis Guse 02bb5bb48e Cleanup and default track name is location+date. 2019-07-24 06:17:32 +02:00
Dennis Guse 86aac36153 Removed unused permissions. 2019-07-24 06:17:32 +02:00
Dennis Guse 8438f7f7b3 Renamed settings configuration files. 2019-07-24 06:17:32 +02:00
Dennis Guse 617335e8b7 Use markdown LICENSE. 2019-07-24 06:17:31 +02:00
Dennis Guse 772e1ebce8 Cleanup. 2019-07-24 06:17:31 +02:00
Dennis Guse 89a6b56a61 TrackDetailActivity: only show heart rate if sensor is configured. 2019-07-24 06:17:31 +02:00
Dennis Guse 70eea7baea TrackDetailView: show connected bluetooth device. 2019-07-24 06:17:25 +02:00
Dennis Guse 5b22487059 TrackDetailView: show markerListMenu only as action if not recording as the icon is reused in this case. 2019-07-24 06:16:53 +02:00
Dennis Guse e22ff7742e Fixed index out of bounds. 2019-07-24 06:16:53 +02:00
Dennis Guse 3d99fab808 Removed SensorStateActivity. 2019-07-24 06:16:53 +02:00
Dennis Guse f19948e4cd Removed listener for map updates as there is no map anymore. 2019-07-24 06:16:53 +02:00
Dennis Guse cf0419f27b TrackDetailActivity: show heart rate. 2019-07-24 06:16:53 +02:00
Dennis Guse 09df2dd20f TrackDetailActivity: show activity type caption. 2019-07-24 06:16:53 +02:00
Dennis Guse 3ef1ae4b09 Sensor settings: added NONE bluetooth sensor. 2019-07-24 06:16:46 +02:00
Dennis Guse 1e1d4f6f4b TrackListActivity: show all markers. 2019-07-24 06:16:21 +02:00
Dennis Guse 15155aa394 SearchListActivity: show on map for individual markers. 2019-07-24 06:16:21 +02:00
Dennis Guse ef7db315d3 Code cleanup. 2019-07-24 06:16:21 +02:00
Dennis Guse b480623884 MarkerDetailActivity: show on map in external app. 2019-07-24 06:16:21 +02:00
Dennis Guse 4f6db25dd3 Always use the same icon for markers in menu. 2019-07-24 06:16:21 +02:00
Dennis Guse 6dcdd93195 Actionbar icons are now shown (still tinting programmatically). 2019-07-24 06:16:21 +02:00
Dennis Guse 39433f94cb Removed unused sharing and seach icons. 2019-07-24 06:16:21 +02:00
Dennis Guse 01701e5f0b Removed unused sharing icon. 2019-07-24 06:16:21 +02:00
Dennis Guse 01b4bc0e76 Cleanup. 2019-07-24 06:16:21 +02:00
Dennis Guse ff611795a0 Cleanup. 2019-07-24 06:16:21 +02:00
Dennis Guse 33650d3fe6 Do not use appcompat for android:showAsAction. 2019-07-24 06:16:21 +02:00
Dennis Guse bd58187c4e Activated search in MarkerList. 2019-07-24 06:16:21 +02:00
Dennis Guse 330c6b09cf ImageView can load URIs directly. 2019-07-24 06:16:21 +02:00
Dennis Guse af0c1a5ce9 Some menu items are action items. 2019-07-24 06:16:21 +02:00
Dennis Guse f792b9f59a Showing marker images now works (also with content:// URI).
content:// was required to get picture from the camera.
2019-07-24 06:16:21 +02:00
Dennis Guse 5e6a505a37 Code cleanup. 2019-07-24 06:16:21 +02:00
Dennis Guse 9c81157856 MarkerDetailActivity: set title. 2019-07-24 06:16:21 +02:00
Dennis Guse 0d01c0ee40 Upgraded some test cases. 2019-07-24 06:16:04 +02:00
Dennis Guse 0b2b306022 Added libraries for test cases. 2019-07-23 07:29:43 +02:00
Dennis Guse 175023645d Cleanup. 2019-07-23 07:29:36 +02:00
Dennis Guse 820b5b89e1 Cleanup Database: removed unused data fields. 2019-07-23 07:28:43 +02:00
Dennis Guse 1e8a843952 Removed external access check to now internal service. 2019-07-23 07:28:43 +02:00
Dennis Guse 4d5c19e3ef Fixed ServiceBinder for TrackRecordingService. 2019-07-23 07:28:43 +02:00
Dennis Guse d92106abec Moved myTrackLib into MyTracks: compiles, but recording service is not started correctly. 2019-07-23 07:28:43 +02:00
Dennis Guse 1706e8e8f9 Moved myTrackLib into MyTracks: moved files.
Moved resources from lib to app.
2019-07-23 07:28:43 +02:00
Dennis Guse 96de908487 Code formatting. 2019-07-23 07:28:43 +02:00
Dennis Guse 21c59bc2f6 Removed unused permissions. 2019-07-23 07:28:43 +02:00
Dennis Guse a8ff1628c4 Search working in TrackDetailActivity. 2019-07-23 07:28:43 +02:00
Dennis Guse 34450aa5e7 Share is working in TrackDetailActivity. 2019-07-23 07:28:43 +02:00
Dennis Guse b56f20f0c2 Code cleanup. 2019-07-23 07:28:43 +02:00
Dennis Guse 71c2bcbd0c Removed trackball support. 2019-07-23 07:28:43 +02:00
Dennis Guse f0eb85660a Use LocationManager instead of Google Play Service (completely removed). 2019-07-23 07:28:43 +02:00
Dennis Guse 44eeb9142c Removed use of Google Drive's shared owner. 2019-07-23 07:28:43 +02:00
Dennis Guse 41be6916bb Removed use of Google Drive's shared with me. 2019-07-23 07:28:43 +02:00
Dennis Guse 840ea69276 Added AndroidX appcompat. 2019-07-23 07:28:43 +02:00
Dennis Guse 2763c27283 Disabled proguard. 2019-07-23 07:28:43 +02:00
Dennis Guse 8bc84114d7 Renamed AbstractSendToGoogleActivity. 2019-07-23 07:28:43 +02:00
Dennis Guse 828a19aea1 Fixed taking camera images. 2019-07-23 07:28:43 +02:00
Dennis Guse 705c9b2538 Request GPS permission. 2019-07-23 07:28:43 +02:00
Dennis Guse ab7e8d2f43 Removed obsolete preferences keys. 2019-07-23 07:28:43 +02:00
Dennis Guse 24d60f570c Removed obsolete test. 2019-07-23 07:28:43 +02:00
Dennis Guse 8cb0559062 Removed UI seemingly used by removed "shared with me" functionality. 2019-07-23 07:28:43 +02:00
Dennis Guse 525cb5fd26 Removed references to Google Drive and Google Earth. 2019-07-23 07:28:43 +02:00
Dennis Guse 2cf77d09b2 Removed testing code that is "All rights reserved." by Google. 2019-07-23 07:28:43 +02:00
Dennis Guse fa0b154d0d Removed obsolete settings. 2019-07-23 07:28:43 +02:00
Dennis Guse 9684429d96 Activity selection dialog is now immediately selecting. 2019-07-23 07:28:43 +02:00
Dennis Guse 88cd919d92 Removed calories and weight. 2019-07-23 07:28:43 +02:00
Dennis Guse 6678d5b36b Fixed check if GPS is enabled. 2019-07-23 07:28:43 +02:00
Dennis Guse 53d91be9d9 Finish activity after pressing "save". 2019-07-23 07:28:43 +02:00
Dennis Guse 162e2c78a9 Fix for Android O and above. 2019-07-23 07:28:43 +02:00
Dennis Guse 19f7636259 Implemented heart rate via Bluetooth LE. 2019-07-23 07:28:43 +02:00
Dennis Guse 199f74ffad Code cleanup. 2019-07-23 07:28:43 +02:00
Dennis Guse cc0bef8546 Added foreground service permission. 2019-07-23 07:28:43 +02:00
Dennis Guse 3a685c609d Removed Polar and Zephyr (pre Bluetooth LE) sensors. 2019-07-23 07:28:43 +02:00
Dennis Guse 864f7cb595 Don't use apk/res-auto namespace. 2019-07-23 07:28:43 +02:00
Dennis Guse 376c0137a7 Removed AndroidMockGenerator.jar and robotium-solo.jar. 2019-07-23 07:28:43 +02:00
Dennis Guse bc7c5736ac TrackDetail: show first stats and then the chart. 2019-07-23 07:28:43 +02:00
Dennis Guse 1cf2a33525 Removed most @SuppressLint. 2019-07-23 07:28:43 +02:00
Dennis Guse 71d625e43e Code cleanup using static code analysis (Android Studio). 2019-07-23 07:28:43 +02:00
Dennis Guse 5b71810763 Removed all @SuppressWarnings. 2019-07-23 07:28:43 +02:00
Dennis Guse 3e728e0d91 Automated code cleanup using Android Studio. 2019-07-23 07:28:43 +02:00
Dennis Guse ca7e741304 Workaround disabling the search functionality. 2019-07-23 07:28:43 +02:00
Dennis Guse 0d4d1769f0 Upgraded project to AndroidX. 2019-07-23 07:28:43 +02:00
Dennis Guse 539285f6cf Upgraded menu configuration. 2019-07-23 07:28:43 +02:00
Dennis Guse 7394e8b382 Removed obsolete resources. 2019-07-23 07:28:43 +02:00
Dennis Guse 4362989d3a Readded GPS onConnect functionality (without permission check). 2019-07-23 07:28:43 +02:00
Dennis Guse 3d09ee363d Lint cleanup. 2019-07-23 07:28:43 +02:00
Dennis Guse 5efe1dba62 Manifest: removed removed Activities. 2019-07-23 07:28:42 +02:00
Dennis Guse ae25cae1bb Removed unused resources. 2019-07-23 07:28:42 +02:00
Dennis Guse 8a5cb93210 Removed unused translations. 2019-07-23 07:28:42 +02:00
Dennis Guse f33db6c766 Share: removed Google's chart generator 2019-07-23 07:28:42 +02:00
Dennis Guse 5a479c6dfe Settings: removed map configuration. 2019-07-23 07:28:42 +02:00
Dennis Guse 1661fc96b2 Removed support for ANT+. 2019-07-23 07:28:42 +02:00
Dennis Guse eb78c66ea6 Removed ActivityRecognition via Google Play service. 2019-07-23 07:28:42 +02:00
Dennis Guse 5a264c5c53 Removed MapOverlay. 2019-07-23 07:28:42 +02:00
Dennis Guse 8255fef72d File formats: removed CSV and TCX. 2019-07-23 07:28:42 +02:00
Dennis Guse 1c26dd109a Removed old-school key/value backup. 2019-07-23 07:28:42 +02:00
Dennis Guse a62dee645b Cleanup. 2019-07-23 07:28:42 +02:00
Dennis Guse de49a947f3 Removed export stuff. 2019-07-23 07:28:42 +02:00
Dennis Guse 078533dd3f Update dependencies and removed integration code. 2019-07-23 07:28:42 +02:00
Dennis Guse 09798c95c2 Removed Accounts and sync. 2019-07-23 07:28:42 +02:00
Dennis Guse 57bcded2a9 App now compiles and runs. 2019-07-23 07:28:42 +02:00
Dennis Guse 7d9a7659d8 Removed analytics code. 2019-07-23 07:28:42 +02:00
Dennis Guse 9d8dee86e8 Code compiles now. Removed large parts of sync. 2019-07-23 07:28:42 +02:00
Dennis Guse d170e92de5 Build: disabled Google API keys. 2019-07-23 07:28:42 +02:00
Dennis Guse 3a699f95be Build: upgraded build toolchain. 2019-07-23 07:28:37 +02:00
Dennis Guse ce61530431 Upgraded .gitignore. 2019-07-23 07:27:24 +02:00
Clément Poulain 0e1a20edd3 Merge pull request #6 from garyvdm/remove_iml
Remove and ignore .iml files.
2016-09-25 23:03:32 +02:00
Clément Poulain 177a28611e Merge pull request #5 from garyvdm/gradle_upgrade
Update gradle version. Make gradlew executable.
2016-09-18 12:49:56 +02:00
Clément Poulain 5b60a879b2 Add "How to build" section to README 2016-09-18 12:31:25 +02:00
Clément Poulain fd42cae3b1 Use same name format for backup and map API keys 2016-09-18 12:19:23 +02:00
Gary van der Merwe 944861d225 Remove and ignore .iml files. 2016-09-15 14:59:13 +02:00
Gary van der Merwe 8e5192de50 Update gradle version. Make gradlew executable. 2016-09-15 14:24:37 +02:00
Plonk42 aa53e87e10 Bump gradle version to fix build errors 2016-03-28 15:51:16 +02:00
Plonk42 e76004162a Upgrade robotium lib 2016-03-01 21:37:00 +01:00
Plonk42 35482511af Revert "Bump SDK versions"
This reverts a4c41643f0
2016-03-01 21:36:59 +01:00
Plonk42 b604f0619e Update releases information 2016-03-01 21:24:10 +01:00
Plonk42 8eed97cf3e Move protobuf dependency to maven 2016-02-19 00:51:06 +01:00
Plonk42 a4c41643f0 Bump SDK versions 2016-02-19 00:50:42 +01:00
Plonk42 592333afab Create README.md 2016-02-18 22:36:02 +01:00
Plonk42 cf6b1d9489 Move Google Backup API key in its own git-ignored file 2016-02-18 01:59:25 +01:00
Plonk42 83c6b1924f More .idea files 2016-02-18 01:05:50 +01:00
Plonk42 e7fd12ee19 Remove file that should not be versioned 2016-02-17 22:52:19 +01:00
Plonk42 c1cec71bf1 Add Apache License 2.0 notice 2016-02-17 00:33:59 +01:00
Plonk42 4639b2092c Move Google Maps API key in its own git-ignored file 2016-02-17 00:25:37 +01:00
Plonk42 6e6ffe178b Update .iml 2016-02-17 00:25:02 +01:00
Plonk42 3ee0976ac4 Merge branch 'adt_to_android_studio' 2016-02-17 00:17:49 +01:00
Plonk42 a9b1581d1d Move everything one directory upper 2016-02-16 23:51:42 +01:00
Plonk42 aba8cb4090 Integrate EndToEnd tests and removed unused tests projects 2016-02-16 23:43:00 +01:00
Plonk42 b90c680805 Use google-play-services dependency instead of project 2016-02-16 23:32:39 +01:00
Plonk42 ca87a6b751 Remove unused projects avec migration to gradle 2016-02-16 23:08:08 +01:00
Plonk42 70f0475171 Move from Eclipse ADT to Android Studio 2016-02-16 21:20:00 +01:00
Jimmy Shih 17ce705dfe Update author for PolarSensorManager 2014-03-31 13:14:30 -07:00
Jimmy Shih 34e48b0f02 Added tag v2.0.6 for changeset 42c74d340f83 2014-01-31 16:32:31 -08:00
Jimmy Shih 0fad5840f3 Code cleanup: DeleteTest.java 2014-01-31 14:36:08 -08:00
Jimmy Shih 09102ab6db Code cleanup: SettingsTest.java 2014-01-31 14:12:33 -08:00
Jimmy Shih abb9b6e302 Code cleanup: PauseResumeTest 2014-01-31 12:35:41 -08:00
Jimmy Shih 58b36e01f0 Code cleanup: CreateTrackTest 2014-01-31 10:52:21 -08:00
Jimmy Shih 9a059add14 Code cleanup: MyLocationTest 2014-01-30 16:33:37 -08:00
Jimmy Shih 0e766261d1 Code cleanup: MenuItemsTest 2014-01-30 16:19:13 -08:00
Jimmy Shih 9655dcbff9 Code cleanup: ViewTest.java 2014-01-30 15:11:44 -08:00
Jimmy Shih 062d687cdb Cleanup ExportAllAndImportAllTest 2014-01-30 14:19:11 -08:00
Jimmy Shih 0e7d909646 Cleanup logging in end to end tests 2014-01-28 18:20:06 -08:00
Jimmy Shih 98ef2a8975 Code cleanup: GoogleUtils 2014-01-28 14:30:29 -08:00
Jimmy Shih bb5758f5bd Code cleanup: EndToEndTestRunner and RunConfiguration 2014-01-28 11:11:30 -08:00
Jimmy Shih e8c9661776 Fix unit tests 2014-01-28 09:59:07 -08:00
Jimmy Shih 381022fde0 Fix a null pointer in TrackDataHub 2014-01-24 15:28:41 -08:00
Jimmy Shih 0691975a4d Allow following a recorded track by pressing the my current location button 2014-01-24 14:02:09 -08:00
Jimmy Shih 409621a240 Bug fix, don't adjust zoom level when keeping screen visible 2014-01-24 11:14:58 -08:00
Jimmy Shih d42b6e5361 Allow horizontal scroll in chart view 2014-01-23 10:38:04 -08:00
Jimmy Shih 07428663c5 Update manifest for My Tracks 2.0.6 rc5 2014-01-22 14:10:30 -08:00
Jimmy Shih 8fefdd580b Update translated strings 2014-01-22 13:17:40 -08:00
Jimmy Shih 18cd3d49fa Upgrade to robotium 5.0.1 2014-01-22 11:19:09 -08:00
Jimmy Shih 974d7434d7 Bug fix, display csv numbers is US locale 2014-01-17 14:35:19 -08:00
Jimmy Shih b5d40baeba Code cleanup: improve ChooseActivityDialog using ViewHolder pattern 2014-01-17 13:39:22 -08:00
Jimmy Shih 28801a1332 bug fix, handle the case when gx:value in kml is empty 2014-01-17 13:06:06 -08:00
Jimmy Shih 0ccd70a7b9 Bug fix, set hasPhoto state immediately to prevent race condition that the TrackDetailActivity is recreated 2014-01-16 14:44:15 -08:00
Jimmy Shih 9f45405d89 Use a dialog fragment to show map layer 2014-01-16 14:03:12 -08:00
Jimmy Shih a4cf0518c4 Bug fix, hide feedback button for gingerbread phones 2014-01-16 09:54:05 -08:00
Jimmy Shih aec0721757 Improve delete all dialog message 2014-01-15 14:49:04 -08:00
Jimmy Shih 150ce66a46 Handle screen rotation in help activity 2014-01-15 13:14:24 -08:00
Jimmy Shih 770e00968b Bug fix, use marginBottom for image view 2014-01-14 16:15:20 -08:00
Jimmy Shih ec34e4cfb3 Improve empty track list view 2014-01-14 15:11:25 -08:00
Jimmy Shih 8a1574be72 Update unit tests for FixedSpeedTrackPathDescriptor 2014-01-14 14:53:51 -08:00
Jimmy Shih 5f436abbda Fix bug: in dialog, get all the views first inside onCreate 2014-01-14 12:57:01 -08:00
Jimmy Shih 2f64785a63 Codeclean: accessibility content description 2014-01-13 14:25:33 -08:00
Jimmy Shih f43d2ab766 Update request permission title 2014-01-13 13:21:37 -08:00
Jimmy Shih 9f6d412c98 Fix bug with slow speed preference and unit conversion 2014-01-13 13:13:25 -08:00
Jimmy Shih 3a1e1bc7f8 In default track name, add an option for Date + Location 2014-01-13 10:53:40 -08:00
Jimmy Shih 0743835893 Code cleanup of EulaUtils 2014-01-10 12:45:26 -08:00
Jimmy Shih 6ab9f0716b Fix startup sequence to set the preferred unit if not set 2014-01-10 12:37:34 -08:00
Jimmy Shih e62e821fc3 Improve track list empty view 2014-01-10 11:15:55 -08:00
Jimmy Shih a5c01977bd update launcher icon 2014-01-09 14:36:42 -08:00
Jimmy Shih 73c96a49a4 Code cleanup, remove period from single sentence 2014-01-08 17:47:05 -08:00
Jimmy Shih 68f84c5d39 Add menu items to Help and Feedback page 2014-01-08 15:46:41 -08:00
Jimmy Shih 33886cc2ad Merge help and feedback into one menu item 2014-01-08 14:36:34 -08:00
Jimmy Shih 7f124aa76b Code cleanup for enable and disable google sync 2014-01-08 14:05:31 -08:00
Jimmy Shih 071e33719e Cleanup code to enable sync to Google Drive 2014-01-08 13:15:58 -08:00
Jimmy Shih 68685828ca Prompt user to sync to drive after first recording 2014-01-08 11:32:04 -08:00
Jimmy Shih 5efd745562 Code cleanup: update no account message 2014-01-07 17:28:19 -08:00
Jimmy Shih 29cffa96e6 Update sync to Google Drive setting 2014-01-07 17:02:02 -08:00
Jimmy Shih 76e44794ff Code cleanup, remove fragmentActivity as instance variable inside fragments 2013-12-26 17:17:10 -08:00
Jimmy Shih 5bc7f2f973 Inline account chooser in export dialog 2013-12-26 16:56:35 -08:00
Jimmy Shih e1f6a57df2 inline choose account in share trak dialog 2013-12-26 14:25:43 -08:00
Jimmy Shih c8629cc92a Code cleanup: cleanup AbtractSendToGoogleActivity 2013-12-19 12:44:20 -08:00
Jimmy Shih 3b5b2461bb Hide menu items when track list is empty 2013-12-18 16:10:25 -08:00
Jimmy Shih a49a74fc6b Update contextual action bar title 2013-12-18 15:30:54 -08:00
Jimmy Shih da5df06298 Remove backup and restore, move reset to advanced setting 2013-12-17 18:06:03 -08:00
Jimmy Shih 33fb7cee81 Use finish for navigation up from marker detail page 2013-12-17 17:34:20 -08:00
Jimmy Shih 8b546459bf Update text for allow sharing setting 2013-12-17 17:29:50 -08:00
Jimmy Shih 1dbebf0529 UX improvement, not showing total time when not recording 2013-12-17 17:20:12 -08:00
Jimmy Shih e31550c524 Update marker list and marker detail title 2013-12-13 15:19:33 -08:00
Jimmy Shih 18ac53b6ce update list_activated_holo.9.png and increase margin on marker detail view 2013-12-13 14:35:53 -08:00
Jimmy Shih 39387fa1c6 Fix bug on acquiring wake lock 2013-12-13 11:08:05 -08:00
Jimmy Shih 08cb38554f Bug fix, fix importing markers 2013-12-13 10:52:46 -08:00
Jimmy Shih 4bf5b41cfa Bug fix: only add folder tag when playing multiple tracks 2013-12-11 15:09:08 -08:00
Jimmy Shih 20bd0287dc Improve delete marker confirmation tite and message 2013-12-11 10:30:33 -08:00
Jimmy Shih 7cbda8a9d5 Bug fix, fix layout on 4x1 widget 2013-12-09 15:51:20 -08:00
Jimmy Shih e826ef1754 Use CheckPermissionAsyncTask in GoogleSettingsActivity 2013-12-09 15:10:36 -08:00
Jimmy Shih 61cf316fb5 Rename refresh to sync now 2013-12-09 14:42:10 -08:00
Jimmy Shih a28c39bea9 Use asynctask to check for permission 2013-12-09 14:22:17 -08:00
Jimmy Shih caa1680dc6 Explicitly grant and revoke read permission when playing a track 2013-12-06 11:11:41 -08:00
Jimmy Shih 61bc8f5bbe Bug fix, do not cache folder id across sync requests to handle the case of switching account 2013-12-05 17:33:48 -08:00
Jimmy Shih 07edfde08d Bug fix: set the final track name when the track ends 2013-12-05 16:25:05 -08:00
Jimmy Shih 3d0846bec6 Bug fix: fix index used when play multiple tracks 2013-12-05 15:59:36 -08:00
Jimmy Shih 5a40b83065 Set photo size first in the maker list 2013-12-05 14:57:39 -08:00
Jimmy Shih d52715c513 When in imperial unit, use 150 lb as the default 2013-12-05 13:05:53 -08:00
Jimmy Shih 9085b777a7 Remove X clear button next to text widget for entering weight 2013-12-05 12:44:08 -08:00
Jimmy Shih 68afba0c31 Add latitude and longitude in marker detail page 2013-12-05 12:37:07 -08:00
Jimmy Shih 384efcbfdc align list icon to top when there is only one line 2013-12-05 11:06:16 -08:00
Jimmy Shih 0a83728b82 Add text shadow when displaying photo in marker detail page 2013-12-05 10:45:53 -08:00
Jimmy Shih 7fe603c5fe Add text shadow when displaying photo 2013-12-04 15:55:54 -08:00
Jimmy Shih f0cfc65540 Set photo bitmap to transparent to avoid showing the old bitmap 2013-12-04 11:51:47 -08:00
Jimmy Shih c2e4381a50 Use relative time display only on track list 2013-12-04 10:16:57 -08:00
Jimmy Shih 65bfa15553 Improve marker layout spacing 2013-12-03 17:34:53 -08:00
Jimmy Shih 1fbc38d38d Update gallery during import cleanup 2013-12-03 11:00:20 -08:00
Jimmy Shih df8ed8e678 My Tracks 2.0.6 rc1 2013-12-02 18:12:13 -08:00
Jimmy Shih 9c4ccb2da9 Update gallery when photo markers are deleted 2013-12-02 15:50:08 -08:00
Jimmy Shih 4043bd8696 Update alert dialog title divider color 2013-12-02 13:09:24 -08:00
Jimmy Shih 93ddc27566 During import, add photo markers to gallery 2013-12-02 10:59:48 -08:00
Jimmy Shih d0a9885a50 Add custom error message when trying to make a track public in Google Drive 2013-11-27 14:23:38 -08:00
Jimmy Shih 48ecf26a42 No longer waiting for buffer to be fill before setting grade, elevation, and max speed values 2013-11-27 14:06:15 -08:00
Jimmy Shih 6b8ccc8a83 Fix unit tests 2013-11-27 13:56:23 -08:00
Jimmy Shih 8f9b07dcb4 Bug fix, use Math.round to convert double to long 2013-11-27 12:50:26 -08:00
Jimmy Shih f40484f16c Rename to play multiple 2013-11-27 11:29:07 -08:00
Jimmy Shih 2c0515c597 Add back option to export to google drive 2013-11-27 10:45:07 -08:00
Jimmy Shih e813995b34 Add new location setting policy 2013-11-26 15:45:33 -08:00
Jimmy Shih 8bb8a1c266 Code cleanup, move google location settings logic to GoogleLocationUtils 2013-11-26 13:01:12 -08:00
Jimmy Shih abcf7cddff Code refactor of GoogleLocationUtils 2013-11-26 12:38:44 -08:00
Jimmy Shih 2ae1d7fe29 Set dialog title divider for preference dialogs 2013-11-25 15:52:12 -08:00
Jimmy Shih 8506b340e8 Move setting preferences under the settings package 2013-11-25 15:26:19 -08:00
Jimmy Shih ab1226fa31 Set dialog title divider for dialogfragment 2013-11-25 15:09:12 -08:00
Jimmy Shih 0947ae2291 bug fix: fix vertical layout in choose_activity_type_.xml 2013-11-25 13:11:27 -08:00
Jimmy Shih c91bc2086c Use application theme for progress dialog 2013-11-25 10:42:47 -08:00
Jimmy Shih be2d66d4ab Revert menu icon color for froyo phones 2013-11-25 10:11:53 -08:00
Jimmy Shih 47c189409e Add menu option for merge and play 2013-11-24 12:56:42 -08:00
Jimmy Shih 1e4451ce41 Prepend MyTracks to photo folder 2013-11-22 16:09:57 -08:00
Jimmy Shih bb5d4069cd fix layout issue for gingerbread 2013-11-22 15:35:02 -08:00
Jimmy Shih dfe7606dd5 Add scrollview around alert dialog content 2013-11-22 14:02:47 -08:00
Jimmy Shih 9442416844 Remove choose activity type dialog beore starting a new one. Remove clear button next to text edit for api level < 11 2013-11-22 11:43:49 -08:00
Jimmy Shih 74713239fb list item, select entire item. not show markers in action bar. Message when photo marker is canceled 2013-11-22 10:37:20 -08:00
Jimmy Shih 76c06f68fb use custom spinner color 2013-11-21 14:42:08 -08:00
Jimmy Shih 03145839f3 Add custom color for radio button 2013-11-21 14:14:00 -08:00
Jimmy Shih b90d3193ab Improve alert dialog theme 2013-11-21 13:37:05 -08:00
Jimmy Shih 41f5206c63 Improve the default activity type preference 2013-11-20 17:49:15 -08:00
Jimmy Shih 0d65e5cafc Code refactor to reuse ChooseActivityTypeDialog in PreferenecActivity 2013-11-20 11:33:58 -08:00
Jimmy Shih 33fb24c5e5 Bug fix, only update calorie in statistics markers 2013-11-20 10:58:44 -08:00
Jimmy Shih 79f974ee2b Bug fix, at the end of a track, only update the time if not paused 2013-11-20 10:50:42 -08:00
Jimmy Shih 0aa3903a52 merge branch 2013-11-20 10:44:32 -08:00
Jimmy Shih 63c1330f50 merge heads 2013-11-20 10:36:47 -08:00
Jimmy Shih 5ecb41adc2 Update calorie when activity recognition api sets the track category 2013-11-19 14:19:11 -08:00
Jimmy Shih 2571247829 Update stats waypoint calorie when changing activity type 2013-11-19 13:24:40 -08:00
Jimmy Shih ca290bf664 Enable calorie in AggregatedStats and MarkerDetail page 2013-11-18 18:05:13 -08:00
Jimmy Shih f5d8ca8dd2 During import, make sure track calorie and waypoint calorie are set correctly 2013-11-18 16:16:15 -08:00
Jimmy Shih f5f0c56043 Code cleanup: use getTrackPointLocationIterator instead of getTrackPointCursor 2013-11-18 15:22:47 -08:00
Jimmy Shih 0b27765c30 Update stats marker calorie in TrackRecordingService 2013-11-18 14:36:53 -08:00
Jimmy Shih 2f8eda0810 Add a clear button at the end of the weight field 2013-11-14 17:16:42 -08:00
Jimmy Shih d9c2f82656 Fix photo url during import 2013-11-14 16:29:54 -08:00
Jimmy Shih 857b53c4ca remove weight from stats settings 2013-11-14 15:55:44 -08:00
Jimmy Shih 982828d0af Apply text gradient only over text, fade out after clicking on image 2013-11-14 15:40:25 -08:00
Jimmy Shih 6b050d6236 Align stats's page grade bottom alignment 2013-11-14 15:11:33 -08:00
Jimmy Shih 7585c80906 Improve layout for entering weight 2013-11-14 14:31:56 -08:00
Jimmy Shih 2bd5734386 Adjust fade out duration and fix degree font size 2013-11-14 14:01:26 -08:00
Jimmy Shih aef035923a Update calorie when weight changes 2013-11-13 17:34:09 -08:00
Jimmy Shih 8e361610bc add option to set weight in choose activity type dialog 2013-11-13 17:13:16 -08:00
Jimmy Shih 4a5f2406e7 Code cleanup for unit conversion 2013-11-13 13:41:44 -08:00
Jimmy Shih 801b597fa0 Update formulas in CalorieUtils 2013-11-13 12:56:05 -08:00
Jimmy Shih fb0dac20c1 Cleanup calorie settings 2013-11-12 17:50:23 -08:00
Jimmy Shih e3d7856e1c Add activity icon next to calorie in stats page 2013-11-12 15:43:22 -08:00
Jimmy Shih ea626847d6 add landscape view for stats page 2013-11-11 15:38:13 -08:00
Jimmy Shih 0dd563f16c Code cleanup: remove android:orientation=horizontal 2013-11-07 17:29:58 -08:00
Jimmy Shih a701d1ecd8 add generic track activity icon 2013-11-07 17:17:08 -08:00
Jimmy Shih fd63a7f5f9 Improve decimal number formatting 2013-11-07 17:09:44 -08:00
Jimmy Shih 631d978ef5 Add paddingTop to stats unit to support superscript 2013-11-07 16:45:27 -08:00
Jimmy Shih f4591fa22c Improve stats layout 2013-11-07 16:13:26 -08:00
Jimmy Shih 45909e70b6 Update calorie when the activity type is set at the end of the track by the activity recognition api 2013-11-05 13:48:43 -08:00
Jimmy Shih 17428e1e94 Code cleanup: cleanup CalorieUtils.java 2013-11-04 16:51:59 -08:00
Jimmy Shih d96c705953 Add menu option to view photo in gallery 2013-11-04 14:20:23 -08:00
Jimmy Shih 5867093895 Add fade out animation in marker detail view 2013-11-04 13:39:48 -08:00
Jimmy Shih 48ad505e55 Improve marker detail layout 2013-11-04 12:30:29 -08:00
Jimmy Shih 4b1eea2ed5 Fix StatsUtils to work with views from fragment 2013-11-01 11:28:06 -07:00
Jimmy Shih 5902af967c merge heads 2013-11-01 10:14:47 -07:00
Jimmy Shih 33960e4264 Improve marker detail layout 2013-11-01 10:13:46 -07:00
youtaol 2be9f58545 Change code style. 2013-10-31 11:11:35 +08:00
Jimmy Shih fe50678565 improvements to list item layout 2013-10-30 17:56:03 -07:00
Jimmy Shih 7354b5a438 Improve marker list view layout 2013-10-30 14:29:40 -07:00
Jimmy Shih 261327ed4a merge heads 2013-10-30 10:54:41 -07:00
Jimmy Shih 961d8be8b9 Improve marker count layout in list view 2013-10-30 10:53:37 -07:00
youtaol 4907dc26a0 Change code style. 2013-10-30 17:42:24 +08:00
youtaol 7cc1f878b4 Merge heads 2013-10-30 11:16:07 +08:00
youtaol 7823ca4eec Fix an issue when run SyncTest. 2013-10-30 11:13:50 +08:00
Jimmy Shih 64c03a40a7 Add marker count on the track list page 2013-10-29 15:35:59 -07:00
Jimmy Shih 2f9b8775e8 merge heads 2013-10-29 11:30:44 -07:00
Jimmy Shih 97e567e505 Two bug fixes. Fix rotation and cropping in BitmapLoader. Fix empty filename during import. 2013-10-29 11:29:47 -07:00
youtaol 008b0a435d Merge heads 2013-10-28 20:36:36 +08:00
youtaol 0cea2faa92 Fix two issues of e2e test case. 2013-10-28 20:13:36 +08:00
youtaol c43e9047bc Remove the parameter of updateCalorie method of TrackRecordingService. Re-calculate the calorie of track and last marker in TrackRecordingService. 2013-10-25 14:41:21 +08:00
youtaol c68ec5ed9a After user edit the track. Update recorded track statistics immediately and update recording track statistics in track recording service.
Change some code style.
2013-10-23 17:14:45 +08:00
Jimmy Shih f1ce31cfeb Add a Photo Size option in Advanced settings 2013-10-22 17:32:38 -07:00
Jimmy Shih 44ea7dbfab In kmz file, limit photo to 1M 2013-10-22 12:55:14 -07:00
Jimmy Shih 80f5a6252e Handle the case the photo file is deleted when loading a bitmap 2013-10-21 14:53:08 -07:00
Jimmy Shih dcd4b8026f Cleanup eclipse warning 2013-10-21 12:41:39 -07:00
Jimmy Shih b7604a11e4 Fix eclipse warnings 2013-10-21 12:32:04 -07:00
Jimmy Shih 2e4f4cc4c2 Improve marker list layout with photo markers 2013-10-21 11:28:16 -07:00
youtaol d64b1c74f4 Update the calorie of both entire track and current segment. Change some code style. 2013-10-21 17:41:16 +08:00
Jimmy Shih 0e8de4c91a Bug fix: delete a partially inserted track if unable to import 2013-10-18 10:59:41 -07:00
Jimmy Shih b0dcd7be85 merge heads 2013-10-18 10:43:25 -07:00
Jimmy Shih cff11657f0 Bug fix: Only update drive file if it is in the MyTracks directory 2013-10-18 10:42:20 -07:00
youtaol 7edf71c95f Merge heads 2013-10-18 15:59:15 +08:00
youtaol ed4ec20ad7 Fix test case issue of ExportAndImport test case. 2013-10-18 15:58:52 +08:00
Jimmy Shih 32834f08c5 Delete photo when marker or track is deleted 2013-10-17 16:32:06 -07:00
youtaol a189f31f38 Merge heads 2013-10-17 10:10:35 +08:00
youtaol 18d98d5432 Fix an nullpointexception issue when run ChartFragmentTest. 2013-10-16 17:41:31 +08:00
youtaol 0b3f5ddca7 Fix an issue of test case testCalculateCalorieCycling. 2013-10-16 17:18:20 +08:00
youtaol 6231cf8663 Fix unit test issue of GpxFileTrackImporterTest and KMLFileTrackImporterTest after adding calorie code. 2013-10-16 16:53:35 +08:00
Jimmy Shih 24113a4d7f Code refactor: move managing list of deleted tracks to DeleteAsyncTask 2013-10-15 11:08:06 -07:00
Jimmy Shih cb3785de5c Performance optimization, during sync, getFolderId only when needed 2013-10-14 16:53:37 -07:00
Jimmy Shih 75c58c556a Reduce number of Google Drive api calls by using a list to keep track of the edits 2013-10-14 14:51:26 -07:00
youtaol b7f8da5ec2 Compute the grade while recalculate the calorie. 2013-10-12 15:04:14 +08:00
Jimmy Shih 6676f6b760 Optimization, reduce drive api calls when files are moved to a new directory in Google Drive 2013-10-11 10:21:15 -07:00
Jimmy Shih 6549ebb361 Use modified time to detect sync changes. Can not use md5 checksum to detect changes in zip file. 2013-10-10 13:48:06 -07:00
Jimmy Shih f893d4601b merge heads 2013-10-10 11:08:42 -07:00
Jimmy Shih 134c54ca03 Handles when a merge fails and the track is deleted 2013-10-10 11:07:09 -07:00
youtaol 651034e2a8 Update the TripStatisticsUpdater after change the activity type of current recording calorie. Using the activity type but calorie value to determine whether show activity set button or not. 2013-10-10 19:19:02 +08:00
youtaol e228918cca Fix an issue after merge head. 2013-10-10 14:01:37 +08:00
youtaol ddecd50ef6 Merge heads 2013-10-10 13:50:09 +08:00
youtaol 8e9be4fcf0 Change code style about calorie. 2013-10-10 11:16:58 +08:00
youtaol 800fabd5a0 Add test case about calculating cycling calorie. 2013-10-10 11:16:43 +08:00
Jimmy Shih e94b7768dc When inserting a new kml/kmz file in Google Drive, make the the file title and the track name are the same 2013-10-09 15:21:28 -07:00
Jimmy Shih 2b633c091c Code cleanup: add getExtension and getName in FileUtils.java 2013-10-09 14:07:38 -07:00
Jimmy Shih 120c965e32 Code cleanup: specify directories inside the cache directory at FileUtils.java 2013-10-09 13:41:39 -07:00
Jimmy Shih 5ee710b7c5 Support renaming files on Google Drive when sync is enabled 2013-10-09 12:53:35 -07:00
youtaol 721bc83b9f Fix an issue that the weight value unit is wrong when show the weight edit dialog after changing unit. 2013-10-08 16:35:12 +08:00
Jimmy Shih 8e907d9144 Add Google Drive sync for kmz files 2013-10-07 18:19:08 -07:00
Jimmy Shih 3827faa0e5 Code cleanup: FileUtils.java 2013-10-04 15:37:10 -07:00
Jimmy Shih 4161f8ff56 Codename: rename methods to FileUtils.getPath and FileUtils.getPathDisplayName 2013-10-04 15:30:53 -07:00
Jimmy Shih 5f00430795 Code cleanup: cleanup callers of FileUtils.buildUniqueFileName 2013-10-04 15:22:21 -07:00
Jimmy Shih 832397595d Code cleanup: add try finally block for callers of SyncUtils.getFile 2013-10-04 15:04:23 -07:00
Jimmy Shih 6df5e2916f Codecleanup: move TrackDataHub constants to its file 2013-10-04 11:12:40 -07:00
Jimmy Shih 39d26febc1 Code cleanup: remove TAG in Constants.java 2013-10-04 11:01:23 -07:00
Jimmy Shih 9c938b1260 Store photos in /MyTracks/pictures directory 2013-10-03 18:04:17 -07:00
Jimmy Shih b182c1cb80 When play track, add a containing folder to contain all the merged tracks 2013-10-02 15:22:00 -07:00
Jimmy Shih 7594f6b516 Delete RemoveTempFileService 2013-10-01 14:05:01 -07:00
Jimmy Shih c9f1422c42 Remove confirm play in earth dialog 2013-10-01 13:54:04 -07:00
Jimmy Shih ea943548ec Use a content provider url to play track in earth 2013-10-01 13:24:57 -07:00
Jimmy Shih 7078bad2ed merge heads 2013-10-01 11:29:34 -07:00
Jimmy Shih f61e65336d update eclipse configuration 2013-10-01 11:28:29 -07:00
youtaol 1107543463 Make the default calorie to invalid. Fix an error while calculating the cycling calorie. 2013-09-10 16:16:25 +08:00
youtaol 02587dc27e Add an activity setup button in stat page when the activity type is not support to calculate calorie. 2013-09-10 11:01:18 +08:00
youtaol 282c48f530 Re-calculate the calorie while user change the activity type of track. Show standard "value_unknown" (-) when the activity type is not supported. 2013-09-06 14:54:02 +08:00
Jimmy Shih 0e687d9e1b Increase thread priority when import and export 2013-09-05 14:19:27 -07:00
Jimmy Shih fefbc3c4ab Codecleanup, rename package from export to exporter 2013-09-05 14:09:28 -07:00
Jimmy Shih d9bb4fa024 Codecleanup: move importers to its own package 2013-09-05 13:55:30 -07:00
Jimmy Shih 9ced32f2df Use same thread to export track 2013-09-05 13:34:11 -07:00
Jimmy Shih 429ebdbf3a Handles interrupt and error cleanup during import 2013-09-05 13:02:03 -07:00
youtaol 7233137e93 Use the activity type of current track to calculate calorie. 2013-09-05 14:33:37 +08:00
Jimmy Shih e0375050d2 Codecleanup: for importer, make sure inputstreams are closed properly 2013-09-04 16:26:27 -07:00
Jimmy Shih 396845a694 merge heads 2013-09-04 13:45:40 -07:00
Jimmy Shih e4f6be4938 Import kmz or kml tracks 2013-09-04 13:44:39 -07:00
youtaol 88ce01dc46 Merge heads 2013-09-04 10:11:32 +08:00
Jimmy Shih d11561f797 Code cleanup: move export classes to its own package 2013-09-03 15:40:03 -07:00
Jimmy Shih 298d0ae75b Code cleanup: move closing a file output stream at the same level as opening it 2013-09-03 15:24:03 -07:00
Jimmy Shih 791e3a3492 Improve cancelling async task when exporting tracks 2013-09-03 14:43:33 -07:00
Jimmy Shih aff5654bde Code cleanup: remove unused interface 2013-09-03 13:39:41 -07:00
Jimmy Shih 71f03996f5 Export track in kmz or kml 2013-09-03 12:56:44 -07:00
youtaol ad03336916 Add weoght parameter in TripStatisticsUpdater.addLocation() method. 2013-09-02 19:31:53 +08:00
Jimmy Shih b8bd8d62ce Code cleanup: Add TrackExporter interface 2013-08-28 15:25:55 -07:00
Jimmy Shih ee7376919e code cleanup: rename Importer classes 2013-08-28 12:17:17 -07:00
youtaol c42abaac6b Use dependency property to enable/disable weight preference. Change code style. 2013-08-28 10:43:46 +08:00
Jimmy Shih 0955e9f089 Rename TrackFormatWriter to TrackWriter 2013-08-27 18:09:34 -07:00
Jimmy Shih efddcc1dcf Rename TrackWriter to TrackExporter 2013-08-27 17:41:45 -07:00
youtaol 10a3e18e7a Make the weight dialog always display after enable calorie display. Change code style. 2013-08-27 17:06:28 +08:00
Jimmy Shih 415b0afe38 Add a fix when UserRecoverableAuthException.getIntent throws a null pointer exception 2013-08-26 11:20:40 -07:00
youtaol 57ca65e3b6 Change code style about calorie. 2013-08-26 19:23:57 +08:00
Jimmy Shih 6ce0db575f Fix null pointer exception with dataSourceManager in TrackDataHub 2013-08-23 12:51:53 -07:00
Jimmy Shih 635006efae In KmlImporter, check that gx:multitrack is available before gx:track 2013-08-23 11:36:43 -07:00
Jimmy Shih a2032af55a check if getActivity is null in ChartFragment 2013-08-23 10:25:42 -07:00
youtaol 16ff92230a Give an weight input dialog when the weight value is not set yet. Make the weight value/display can be changed by unit setting. 2013-08-23 12:30:24 +08:00
Jimmy Shih 511dca70da merge heads 2013-08-22 15:29:53 -07:00
Jimmy Shih c9a7a167ea Use an async task to load bitmap 2013-08-22 15:28:16 -07:00
youtaol 2468062eff Add show calorie and user weight preference in Stats settings page. 2013-08-22 17:05:10 +08:00
youtaol b6b54923b2 Merge heads 2013-08-22 10:14:45 +08:00
youtaol 83b1fb67bf Make constant to calculate calorie of cycling to fields. Change coe style. 2013-08-22 10:03:33 +08:00
Jimmy Shih 8f7bc30b10 Update Back and reset settings, remove are you sure on the dialog title 2013-08-21 11:32:12 -07:00
youtaol b9fd09d043 Change code style about calorie calculation. 2013-08-21 10:23:36 +08:00
Jimmy Shih b76d7fbb9c Remove footer in share track dialog 2013-08-20 15:25:30 -07:00
Jimmy Shih c7ba2bc5a1 Use list preference for chart x axis settings 2013-08-20 15:19:33 -07:00
Jimmy Shih 594f156a1f Use a list preference for the preferred rate setting 2013-08-20 14:43:25 -07:00
Jimmy Shih 7a8a95853e Use fitcenter to scale images 2013-08-20 11:32:15 -07:00
youtaol d16949c139 Change code style about code of calorie calculation. 2013-08-20 11:06:37 +08:00
Jimmy Shih f29cf16e13 Adjust UI layout for photos 2013-08-19 17:48:00 -07:00
Jimmy Shih 5f16df912a merge heads 2013-08-19 15:55:45 -07:00
Jimmy Shih ec3f0ddab3 Add play in earth with photo overlays 2013-08-19 15:54:32 -07:00
youtaol cbd6d8158a Change code style. 2013-08-19 11:30:56 +08:00
youtaol 4cf647b02c Add raw calories feature. Add calories column in Track table. Add calories field and raw logic to calculate calories in TripStatistics. Display a raw calories text in Stats Fragment. 2013-08-15 20:19:36 +08:00
youtaol 75ac35bf53 Add unit test about CalorieUtils.java. And change the visiability of some methods to make them testable. 2013-08-15 10:16:27 +08:00
youtaol d64b6a4d93 Merge heads 2013-08-15 09:46:14 +08:00
youtaol 4d8c44782e Change code style. 2013-08-15 09:45:26 +08:00
Jimmy Shih 24a343661d Add page viewer for marker detail page 2013-08-14 13:06:39 -07:00
youtaol 863f1373e4 Rename CaloricExpenditureComputation.java to CalorieUtils.java. Change code style. 2013-08-13 15:38:03 +08:00
Jimmy Shih aed601fcda merge heads 2013-08-12 14:45:00 -07:00
Jimmy Shih 79a38b2763 Added tag v2.0.5 for changeset 2a2a4e2c216a 2013-08-09 10:07:15 -07:00
Jimmy Shih 8f35da9576 display photos in marker list 2013-08-07 18:38:00 -07:00
youtaol 1d5d91c2bf Add utils to calculate caloric expenditure. 2013-08-07 16:09:30 +08:00
Jimmy Shih ba859b64e3 Fix two bugs.
- reload waypoint in MarkerDetailActivity onResume
- In list item, if time/distance field is not available, use INVISIBLE rather than GONE.
2013-08-06 13:55:16 -07:00
Jimmy Shih 517b792e43 Add feature to insert a photo marker 2013-08-06 12:55:02 -07:00
Jimmy Shih 6102536136 Update codeversion for My Tracks 2.0.5 rc4 2013-07-31 17:10:09 -07:00
youtaol fe3fcdddaa Make e2e test cases of Sync feature runs well. 2013-07-25 20:24:11 +08:00
youtaol 0744770a50 Merge heads 2013-07-25 20:16:22 +08:00
youtaol 3b8509ac39 Change code style. 2013-07-24 17:14:51 +08:00
Jimmy Shih c555c201d6 Revert to original algorithm to calculate grade
Always use smoothed speed.
2013-07-23 12:31:30 -07:00
Jimmy Shih 928c62a237 Update elevation min,max and speed min,max after buffer is full 2013-07-23 10:21:39 -07:00
youtaol 0b7495a462 Merge heads 2013-07-17 15:41:41 +08:00
youtaol 604c5069ac Change the check logic of testGPSMenu. 2013-07-17 15:41:27 +08:00
Jimmy Shih 720f747460 merge heads 2013-07-16 10:47:40 -07:00
Jimmy Shih ab4ed7ed9f Bug fixes: update menu after starting/stopping gps - to handle ICS phones of updating menu immediately after invalidating it 2013-07-16 10:45:52 -07:00
Jimmy Shih d701ee81ba Bug fix: use a different request code for google play services 2013-07-15 15:23:48 -07:00
youtaol bc334d9ec1 Merge heads 2013-07-15 09:47:40 +08:00
youtaol 58ebedb7c3 Add distance and average speed checks in export/import test. 2013-07-15 09:47:29 +08:00
Jimmy Shih 64018fb02c Handle the case that sync is active while deleting all tracks 2013-07-12 14:26:09 -07:00
Jimmy Shih a6e9412a69 Record idle location to support zero speed when idle 2013-07-12 13:21:19 -07:00
youtaol f4ccb8dbd4 Merge heads 2013-07-12 10:43:51 +08:00
Jimmy Shih 3f99263b5a Make sure max speed is as large as avg moving speed 2013-07-11 17:22:52 -07:00
Jimmy Shih 8ba5980009 Code cleanup: reorg methods in TripStatistics 2013-07-11 17:06:14 -07:00
Jimmy Shih deadd17c28 update version code to 60 for v2.0.5 rc3 2013-07-11 15:52:53 -07:00
Jimmy Shih b94d6ab240 Code cleanup: fix lint warning 2013-07-11 15:44:43 -07:00
Jimmy Shih 203c56a7fe Update translations for v2.0.5 2013-07-11 15:37:16 -07:00
Jimmy Shih e7e671c1ff Check if location speed and accuracy are available. 2013-07-11 14:38:09 -07:00
Jimmy Shih 4b6c9a875b Improve elevation and grade calculation to take into account locations without altitude. 2013-07-11 13:53:34 -07:00
Jimmy Shih 9b0c14c9c7 In Stats view, only show speed and elevation when they are available. 2013-07-11 09:51:54 -07:00
youtaol a484963572 Add test case to check the track details during export and import(Only check the altitude in this case). 2013-07-11 17:13:40 +08:00
youtaol dad09f4a87 Merge heads 2013-07-11 10:36:14 +08:00
Jimmy Shih e30d816765 Export altitude only when it is defined 2013-07-10 12:37:14 -07:00
Jimmy Shih 7deb589a75 Bug fix, reload cursor loader after deleting a track 2013-07-10 12:24:40 -07:00
Jimmy Shih 8bd5818a81 Support importing gpx and kml without altitude value. 2013-07-10 11:16:56 -07:00
youtaol 4debca0054 Merge heads 2013-07-10 14:19:41 +08:00
youtaol fd3940fcd0 Fix an issue of share test. 2013-07-10 14:18:05 +08:00
Jimmy Shih 5a4860a45a Add onPrepareOptionMenu to update menu state. 2013-07-09 15:54:32 -07:00
Jimmy Shih e67bb581e6 Change defaut recording distance interval to 10m 2013-07-09 14:43:49 -07:00
Jimmy Shih 89b1c6debe Chagne gps accuracy default tp 50m 2013-07-09 14:12:52 -07:00
Jimmy Shih 1ddb53ad47 Code cleanup: add ic_ prefix to icons 2013-07-09 11:53:25 -07:00
Jimmy Shih ae456a498e Code cleanup: add ic_ prefix to track icons 2013-07-09 11:12:13 -07:00
Jimmy Shih 834b0465fe Code cleanup: add ic_launcher, ic_tab, ic_stat_notify prefix 2013-07-08 18:37:37 -07:00
Jimmy Shih d50d9b6ef2 code cleanup: prefix menu icon with ic_menu 2013-07-08 18:14:39 -07:00
Jimmy Shih 45e5813f15 Set default units to imperial if in US 2013-07-08 13:15:46 -07:00
Jimmy Shih 876606df82 add ic_dialog_success.png 2013-07-08 12:32:46 -07:00
youtaol 97f6afae3b Merge heads 2013-07-04 10:08:14 +08:00
youtaol d106bc520e Fix some issues of e2e tests. 2013-07-04 09:58:08 +08:00
Jimmy Shih 4b4fd603f1 Set text color to white for api level < 13 2013-07-03 16:59:17 -07:00
Jimmy Shih 0f86dcbcb1 remove DialogWhenLarge theme 2013-07-03 16:10:13 -07:00
Jimmy Shih b850cb077f Update track_recording.png and track_paused.png 2013-07-03 15:45:45 -07:00
Jimmy Shih 56c7d1cc6b Add spacing betwen recording button and recording status in app widget.
center align text in warning message.
2013-07-03 15:42:53 -07:00
Jimmy Shih 1de84fa3da Update send to google result dialog. 2013-07-03 15:08:45 -07:00
Jimmy Shih a774693135 Fix updating list item background color 2013-07-03 13:24:05 -07:00
Jimmy Shih 189355a238 update icons 2013-07-03 10:52:38 -07:00
youtaol b4e94b9af1 Merge heads 2013-07-03 11:19:22 +08:00
youtaol 7bee6470bd Change code syle. 2013-07-03 11:13:10 +08:00
Jimmy Shih 449042b456 Fix wiget record button size.
Fix pause button.
2013-07-02 16:07:49 -07:00
Jimmy Shih 18b436195d show map layer menu if room 2013-07-02 11:19:35 -07:00
Jimmy Shih db8d767ca1 Update icons. 2013-07-02 11:11:39 -07:00
Jimmy Shih ad8349b2b4 Code cleanup: move analytics constants to AnalyticsUtils 2013-06-28 13:18:37 -07:00
Jimmy Shih a318b88ac8 Update manifest to 2.0.5 rc2 version 68 2013-06-25 17:11:21 -07:00
Jimmy Shih c8c00f8391 Use ApiAdapter.invalidateMenu to refresh the action bar menu. 2013-06-25 16:42:55 -07:00
Jimmy Shih f1b3a1495d Fix froyo but where Bitmap.getConfig can return null 2013-06-25 14:04:48 -07:00
Jimmy Shih 30c9941286 Remove ldpi icons 2013-06-25 13:54:23 -07:00
Jimmy Shih d343fd24ff Add orange style for EditText, ListSelector, PogressBar, and Checkbox. 2013-06-25 13:50:14 -07:00
Jimmy Shih bbce0b946e merge heads 2013-06-25 09:57:20 -07:00
Jimmy Shih 5efada2a6e Cleanup, rename string variables 2013-06-25 09:56:01 -07:00
youtaol 7dc86aaeb2 Fix e2e tests issues after code changes. 2013-06-25 19:04:38 +08:00
Jimmy Shih d7f7114328 fix typo in strings.xml 2013-06-24 18:39:22 -07:00
Jimmy Shih 1f41fefa09 Use a async task to delete tracks and show a progress dialog. 2013-06-24 18:15:26 -07:00
Jimmy Shih e7c1687565 Code cleanup: save a save_all option to SaveActivity. 2013-06-24 17:18:58 -07:00
Jimmy Shih 60ce1916f6 Code cleanup: move request code to AbstractSendToGoogleActivity 2013-06-24 16:46:42 -07:00
Jimmy Shih d8e0d4ab73 Code cleanup: Cleanup method order in AbstractSendToGoogleActivity. 2013-06-24 14:37:31 -07:00
Jimmy Shih 2d4cabf4ef Add menu option to Sync to Google Drive. 2013-06-24 14:09:25 -07:00
Jimmy Shih 176b2b05d3 Code cleanup. In SendRequest, rename to driveSync. 2013-06-24 11:03:12 -07:00
Jimmy Shih 27cea61edb Code cleanup: rename to ConfirmSyncDialogFragment 2013-06-24 10:57:29 -07:00
Jimmy Shih 636ffbf39a Update sync to Google Drive text 2013-06-21 18:22:18 -07:00
Jimmy Shih ced42e3d86 Update confirmation messages 2013-06-21 18:13:01 -07:00
Jimmy Shih 85eba36d4c Remove confirmation dialog when sharing via Google Drive. 2013-06-21 17:58:15 -07:00
Jimmy Shih abd8f59a07 Improve the wording where there is no backup. 2013-06-21 17:38:43 -07:00
Jimmy Shih 8bb55ad5db Support cases when there is no files to import or export. 2013-06-21 17:22:37 -07:00
Jimmy Shih 9609010906 Use external storage directory display name rather than the actual path. 2013-06-21 16:42:50 -07:00
Jimmy Shih db124f4ca6 Code cleanup: use trackFileFormat.getExtension 2013-06-21 15:57:27 -07:00
Jimmy Shih fcb2c9ea7f For import/export, include the external storage location. 2013-06-21 15:44:00 -07:00
Jimmy Shih 021fa9668f update menu_split_frequency icon 2013-06-21 13:54:29 -07:00
Jimmy Shih d2243ccabc merge heads 2013-06-21 13:32:32 -07:00
Jimmy Shih 429b13664d update action bar icons 2013-06-21 13:31:51 -07:00
Jimmy Shih 97c72dfafd Remove executable permission on png files. 2013-06-21 11:00:44 -07:00
Jimmy Shih 512167e536 Use a PrefereneList to select preferred units. 2013-06-20 17:53:08 -07:00
Jimmy Shih 2e8d9ea411 Adjust contextual menu based on the isRecording state. 2013-06-20 14:00:11 -07:00
Jimmy Shih 6e5365a8e8 Move select all in multiple select to an action bar item 2013-06-20 13:17:15 -07:00
Jimmy Shih c1b39b1472 Not show map layer in the action bar 2013-06-19 16:23:08 -07:00
Jimmy Shih ce756ec5eb Add DialogWhenLarge Theme. 2013-06-19 16:13:16 -07:00
Jimmy Shih bcf94161b6 For Holo theme, add a divider above borderless buttons. 2013-06-19 14:52:33 -07:00
Jimmy Shih 421dbe5632 In list view item, make the recording track the same height as recorded tracks. 2013-06-18 16:03:52 -07:00
Jimmy Shih f2125150d4 Fix list view item selection to make sure all text are white when selected. 2013-06-18 15:40:45 -07:00
Jimmy Shih 2e84468785 Rename sync now to refresh 2013-06-18 14:12:29 -07:00
Jimmy Shih 071bca5353 Update text for sync with google drive.
Update text for accounts and sync settings.
2013-06-18 12:52:51 -07:00
Jimmy Shih d00d6f0588 Set the terms of service text size to TextSmall 2013-06-18 11:31:42 -07:00
Jimmy Shih 8c421b2255 fix typo in track_detail_feedback menu id 2013-06-17 09:19:15 -07:00
Jimmy Shih 5262dd0bc2 Use ApiAdapter to disable Google Feedback for pre-ICS 2013-06-14 13:33:48 -07:00
Jimmy Shih 86a3f407ce In TrackRecordingService, use SystemUtils to aquire wake lock 2013-06-14 13:00:57 -07:00
Jimmy Shih d558e8f507 Code cleanup: use class name for timer name 2013-06-14 11:32:57 -07:00
Jimmy Shih 32f488be61 Use handler directly instead of using a timer in TrackRecordingService 2013-06-14 11:16:33 -07:00
Jimmy Shih 1d6710e30e Code cleanup, in MyTracksLocationManager, use the same handler for content observer 2013-06-14 10:14:24 -07:00
Jimmy Shih 33b4b62ad0 Code cleanup: improve readability in TrackController 2013-06-14 09:57:01 -07:00
youtaol 001537863a Add ShareTest test case. 2013-06-14 16:26:31 +08:00
youtaol 052d651ea0 Merge heads 2013-06-14 10:20:59 +08:00
Jimmy Shih b720cf26ee Code cleanup: add name to Timer thread HandlerThread 2013-06-13 15:22:11 -07:00
Jimmy Shih 501dbd1746 Use the handler to update SensorStateActivity 2013-06-13 14:43:25 -07:00
Jimmy Shih 0b75c95e93 Code cleanup: cleanup timer usage in TimerTaskExecutor 2013-06-13 12:39:40 -07:00
Jimmy Shih 9d6ff995f7 Fix spacing between x axis label and x axis marker. 2013-06-12 17:08:43 -07:00
Jimmy Shih 6cf06d9abe Update antlib.jar 2013-06-11 17:55:33 -07:00
Jimmy Shih 21be96887d Add links to the url in terms of service. 2013-06-11 14:48:36 -07:00
Jimmy Shih 434dd07cfa Bug fix. Make sure the start marker location is valid when sending to Google Maps and Google Fusion Tables. 2013-06-11 11:00:49 -07:00
Jimmy Shih 849d5bdf1c Display pace in mm:second format. 2013-06-10 15:59:47 -07:00
Jimmy Shih 053aae4d5a Use StringUtils.getSpeedParts to geneate all the pace values in DescriptionGeneratorImpl. 2013-06-10 15:24:41 -07:00
Jimmy Shih a6cae727bd In TrackList, handle the case SHAREWITHME can be null 2013-06-10 14:05:19 -07:00
Jimmy Shih f0a8dfc26e Fix pace label typo, should be minutes per mile/kilometer 2013-06-10 11:29:26 -07:00
youtaol e9bb0d84a6 Update Robotium to 4.1. 2013-06-09 20:06:16 +08:00
youtaol e1d2a09207 Change SendToGoogleTest to ExportSingleTrackTest. Fix strings change issues. 2013-06-08 18:03:01 +08:00
youtaol d1055ef5ee Merge heads 2013-06-08 13:12:39 +08:00
Jimmy Shih 0a0854a367 update android manifest for 2.0.5 versionCode 67 2013-06-07 15:04:38 -07:00
Jimmy Shih f7d2bbc34c Fix view pager view for froyo and gingerbread phones. 2013-06-07 14:55:24 -07:00
Jimmy Shih 0c7f61891e Place kml before gpx 2013-06-07 13:58:12 -07:00
Jimmy Shih 636f78f78a use system color for list view selected background color 2013-06-07 13:33:37 -07:00
Jimmy Shih 12e9559e96 Update export menu.
Improve export dialog layout.
Rearrange tralist list menu.
Remove unused method in MenuItemTest.
2013-06-07 13:13:59 -07:00
Jimmy Shih 9571afa286 Improve share track dialog 2013-06-07 10:10:55 -07:00
youtaol 7a09e89041 Add all "export all" tests into one new file. And remove two redundant tests. 2013-06-07 15:02:26 +08:00
Jimmy Shih 4efd2a3f5e Improve export all strings. 2013-06-06 17:33:48 -07:00
Jimmy Shih 3cc0e10031 Code cleanup. Remove track.getMapId and track.getTableId. 2013-06-06 15:45:54 -07:00
Jimmy Shih 738d73937b merge heads 2013-06-06 14:59:37 -07:00
Jimmy Shih efa6f53fdf Add make track public in sharing dialog. 2013-06-06 14:58:12 -07:00
youtaol 5ec245fcdd Change save one track to SD card to save all tracks to SD card. 2013-06-06 19:08:12 +08:00
Jimmy Shih c8736b7f72 Code cleanup, in SendRequest, remove support for sharing a map url. 2013-06-04 17:26:56 -07:00
Jimmy Shih fe3b063790 After exporting to external storage, add option to share the file. 2013-06-04 17:05:45 -07:00
Jimmy Shih 864129488f Remove share track setting. 2013-06-04 16:36:55 -07:00
Jimmy Shih 2e81f981ca Remove ChooseMapActivity. 2013-06-04 16:13:17 -07:00
Jimmy Shih f89c6696b3 Combine save and send to google into export. 2013-06-04 15:32:19 -07:00
Jimmy Shih 5a5b1431eb Rename save all to export all.
Rename save to export.
Remove send to google menu option.
2013-06-03 17:40:15 -07:00
Jimmy Shih 56e272c5d4 Remove Google Drive item from Send to Google dialog. 2013-06-03 15:54:12 -07:00
Jimmy Shih 8cda9df762 Set list view track name font size to medium.
Change list view activated background color.
Change contextual mode background color.
2013-06-03 13:58:45 -07:00
Jimmy Shih 44e994f420 Change tab background color for android v11 and higher 2013-06-03 13:06:30 -07:00
Jimmy Shih d5aaebc44d update the android support library to version 13 2013-05-31 15:30:07 -07:00
Jimmy Shih 063083f1a4 On contextual menu, only delete all if the number of tracks is greater than 1. 2013-05-31 11:06:38 -07:00
Jimmy Shih 125b21ef30 In TrackDataHub, do not automatically register for preferences change. 2013-05-29 14:16:54 -07:00
Jimmy Shih 5a14ef080c Remove SELECTED_TRACK type from TrackDataHub. 2013-05-29 14:08:14 -07:00
Jimmy Shih 53bde78293 In MyTracksMapFragment, remove dependency on onSelectedTrackChanged. 2013-05-29 14:01:13 -07:00
Jimmy Shih 0a0753c4c5 Remove selected_track_id_key. 2013-05-29 11:23:08 -07:00
Jimmy Shih aafe93b723 Code refactor. Remove DynamicSpeedTrackPathDescriptor's dependency on selected_track_id_key. 2013-05-29 11:06:23 -07:00
Jimmy Shih 55861ecf0e Fix Map View to improve the initial camera position after screen rotation.
If showing a marker, after rotation, will zoom to the marker.
If showing a track, after rotation, will zoom to the current location
if is recording and is in tracking mode, else will zoom to the track.
2013-05-29 10:34:15 -07:00
Jimmy Shih 4f13b62a81 merge heads 2013-05-28 14:18:09 -07:00
Jimmy Shih 9dbf0b0c4b Fix displaying a marker on the map view. 2013-05-28 14:16:40 -07:00
youtaol ecbd7ea769 Add checks in testShareActivity_withDrive about the share result in the destination account. 2013-05-27 11:02:02 +08:00
youtaol bc36ac5afe Change testTrackControllerPostion to make it can run when API level less than 13. 2013-05-27 10:58:28 +08:00
Jimmy Shih 468ed40a5d Code cleanup, refactor onResume logic in MyTracksMapFragment. 2013-05-24 12:38:57 -07:00
Jimmy Shih d6cfdd007a In StatsFragment, remove dependency on onSelectedTrackChanged. 2013-05-24 10:58:45 -07:00
Jimmy Shih 0d38d1b38d Make sure the start marker is always shown during a recording. 2013-05-23 12:53:09 -07:00
Jimmy Shih 640f960bd0 In MyTracksMapFragment, initialize googleMap in onActivityCreated instead of onCreateView. 2013-05-23 11:02:55 -07:00
Jimmy Shih ef4063fcd8 During a recording, keep the current location visible by default. 2013-05-23 10:49:50 -07:00
Jimmy Shih 8b19bd8917 Code cleanup, do not backup some shared preference keys. 2013-05-23 10:32:10 -07:00
Jimmy Shih cad06c712a Improve MyTracksLocationManager thus LocationClient is only started when necessary. 2013-05-22 17:58:33 -07:00
Jimmy Shih aa3d170e1f Add activity recognition. 2013-05-22 17:42:51 -07:00
Jimmy Shih 4eb8f4fff3 Remove location listener from TrackDataHub. 2013-05-22 15:00:35 -07:00
Jimmy Shih 4a9f7778bd Change MyTracksMapFragment to not listen to location changes. 2013-05-22 14:36:58 -07:00
Jimmy Shih 0369b5b79f merge heads 2013-05-22 14:29:45 -07:00
Jimmy Shih 433687930f Code cleanup SearchListActivity, remove one instance variable. 2013-05-22 14:05:15 -07:00
Jimmy Shih 2e199d633c Code cleanup for MyTracksLocationManager 2013-05-22 11:09:07 -07:00
Jimmy Shih cffd72fa07 In MapFragment, use MyTracksLocationManager directly to obtain the current location. 2013-05-21 14:03:48 -07:00
Jimmy Shih b37fe0ff35 To save power, modify StatsFragment to not listen to location changes. 2013-05-21 10:54:26 -07:00
Jimmy Shih f8116ab6e0 Use TrackRecordingService to start/stop gps. 2013-05-20 15:16:01 -07:00
Jimmy Shih 1a68435eb4 Add methods to TrackRecordingService to start and stop GPS.
No longer unregister location listener before registering it.
2013-05-20 14:04:10 -07:00
Jimmy Shih 5329ccd37f In TrackListActivity, use MyTracksLocationManager to check if gps is enabled. 2013-05-20 12:39:22 -07:00
Jimmy Shih 82b6b63fc5 In SearchListActivity, only start MyTracksLocationManager when needed. 2013-05-16 18:22:39 -07:00
Jimmy Shih 68180b2436 When starting a track, set the track icon based on track category. 2013-05-16 18:07:47 -07:00
Jimmy Shih 65f8762b4e Update to Android ADT v17 2013-05-15 17:16:59 -07:00
Jimmy Shih 18eff91510 Clean up Constants.java 2013-05-15 16:26:44 -07:00
Jimmy Shih 5ace0242b4 Use LocationClient to request for location updates. 2013-05-15 15:39:48 -07:00
Jimmy Shih 81ed568ed7 Use LocationClient to obtain last known location. 2013-05-15 14:30:44 -07:00
Jimmy Shih 6b7ddc8522 Update to google play services v7 2013-05-15 13:28:27 -07:00
Jimmy Shih 3291eef752 Change logic for updating gps provider state. 2013-05-15 13:17:45 -07:00
Jimmy Shih bd6f30f320 merge heads 2013-05-13 10:49:08 -07:00
Jimmy Shih 129149fb23 Remove unused code for obtaining heading from sensor 2013-05-13 10:48:16 -07:00
youtaol 232e314ca3 Change stat settings e2e test case as source code changes. 2013-05-13 20:31:22 +08:00
youtaol 61bcf078a9 Fix an error of TripStatisticsUpdaterTest. 2013-05-13 18:05:38 +08:00
youtaol d911419cf2 Add checks about the display and hide of record controller. 2013-05-09 16:31:52 +08:00
youtaol e8a832fb2c Merge heads 2013-05-09 11:27:28 +08:00
Jimmy Shih 5d93747b13 clear google_account_key before enabling drive sync in startup sequence 2013-05-08 16:37:40 -07:00
Jimmy Shih da00033e6f Add playing multiple tracks in Google Earth 2013-05-08 13:58:57 -07:00
Jimmy Shih c0900491d6 Modify ConfirmDialogFragment to pass in an array of track ids 2013-05-08 13:09:00 -07:00
Jimmy Shih 9ccae3e3a9 Add private constructor to utility classes 2013-05-08 12:56:52 -07:00
Jimmy Shih 52f8bd8565 Move Google Earth helper methods in GoogleEarthUtils.java 2013-05-08 12:44:19 -07:00
Jimmy Shih feb479d9b9 Change TrackFormatWriter to be able to write multiple tracks to a file 2013-05-07 15:58:37 -07:00
Jimmy Shih dfa60a44f6 Update stats view layout 2013-05-07 09:51:00 -07:00
Jimmy Shih afa47ba26e rename stats_large_label and stats_separator color 2013-05-06 14:25:14 -07:00
Jimmy Shih f7c5b7f1cc Modify StringUtils.java to return null if a value is invalid 2013-05-03 11:34:24 -07:00
youtaol b9e944a9e5 Add test case to check the multi-select and then delete. And fix an e2e test error in EndToEndTestUtils. 2013-05-03 15:53:12 +08:00
youtaol 14b796b27a Add test case to check the position of track controller view. 2013-05-03 12:29:44 +08:00
youtaol 3f208a7b65 Move some e2e test cases to a new package, and make these test are easy to run. 2013-05-03 11:56:04 +08:00
youtaol 3303d70c1c Fix e2e test error after code changes. 2013-05-02 20:08:50 +08:00
Jimmy Shih b0215058d2 show/hid track controller when search is shown/dismissed 2013-05-01 15:30:01 -07:00
Jimmy Shih 244219bdde Add landscape mode for track controller 2013-05-01 14:29:06 -07:00
Jimmy Shih 8c26cb2aa3 Use FileTypeDialogFragment to select a file type for import all, save all, and save 2013-04-30 16:14:24 -07:00
Jimmy Shih b880b731b4 Use a dialog fragment to select the import all type 2013-04-30 15:01:13 -07:00
Jimmy Shih b593fa3550 fix various lint warnings 2013-04-30 14:09:38 -07:00
Jimmy Shih 027ae7b2dd display '-' if elapse time is negative 2013-04-30 13:35:56 -07:00
Jimmy Shih 67fbb47639 clean up colors.xml 2013-04-30 13:27:47 -07:00
Jimmy Shih 9e194021c5 Change track controller background color, remove line at the bottom of track controller, use bracket for distance 2013-04-30 11:45:45 -07:00
Jimmy Shih 520ae87f14 Add support for multiselect 2013-04-30 11:11:58 -07:00
Jimmy Shih 6a74a18e99 Modify DeleteMarkerDialogFragment to delete one or multiple markers 2013-04-29 18:04:27 -07:00
Jimmy Shih ccfe7dc335 Fix style to reference theme attribute textAppearanceListItemSmall 2013-04-29 17:48:13 -07:00
Jimmy Shih 3a26501aec merge heads 2013-04-29 17:43:37 -07:00
Jimmy Shih e890f02d97 Create a DeleteTrackDialogFragment that can delete one, multiple, or all tacks 2013-04-29 17:42:47 -07:00
Jimmy Shih ce80f4e39a merge heads 2013-04-29 12:33:54 -07:00
Jimmy Shih 9a2b7f8987 Use dp for home screen widget textSize 2013-04-29 11:32:51 -07:00
Jimmy Shih cc27b4329d fix various styles errors 2013-04-29 11:25:16 -07:00
youtaol 97defda41c Merge heads 2013-04-28 21:01:47 +08:00
youtaol c514f55496 Fix test error. 2013-04-28 21:01:05 +08:00
Jimmy Shih e31c5e7a68 Add the menu_stop_gps icon 2013-04-26 11:50:07 -07:00
Jimmy Shih 9fd22081fa Invert icon image shown in Spinner for API level < 11 2013-04-26 11:10:55 -07:00
Jimmy Shih d9f897bc53 Use a spinner for the activity icon in TrackEditActivity 2013-04-25 17:32:04 -07:00
Jimmy Shih 826ff2f79f Fix spacing in activity icon dialog. 2013-04-25 13:41:29 -07:00
youtaol 1d4f96d5d9 Merge heads 2013-04-24 21:00:59 +08:00
youtaol e0ccac0289 Fix some e2e test errors. 2013-04-24 21:00:27 +08:00
youtaol 7cd9990cfb Add testSendLargeTrackToGoogle test case to test send a big track(which has more than 100 points) to Google. 2013-04-24 16:21:09 +08:00
Jimmy Shih c972917b3a Upgrade support library to version 12 2013-04-23 12:59:30 -07:00
Jimmy Shih 7d995f2fc9 Add swipet behavior (pager) to the TrackDetail tabs. 2013-04-23 10:35:20 -07:00
youtaol 2654a1484c Change test case of share as the share ui is changed. 2013-04-23 18:49:35 +08:00
Jimmy Shih 9bb05e6717 Fix sending a large track to Fusion Tables. 2013-04-22 17:55:12 -07:00
Jimmy Shih 6bd2dabd60 merge heads 2013-04-22 15:12:55 -07:00
Jimmy Shih 743e5a0755 Fix navigation up thus up has the zoom in effect. 2013-04-22 15:11:39 -07:00
youtaol f49d6f31a5 Change some generic_ok buttons to generic_yes. 2013-04-22 21:51:44 +08:00
youtaol b74df8186d Remove welcome dialog and change cancel button to no, ok button to yes. 2013-04-22 20:28:52 +08:00
Jimmy Shih 30d611e295 update google play services to version 6 2013-04-19 11:23:05 -07:00
Jimmy Shih c21bfd84c1 Add option to share as a file. 2013-04-18 15:50:51 -07:00
Jimmy Shih c38ee02d4b Combine share via drive and share via maps url into a share button.
Use settings to choose between drive and maps.
2013-04-18 13:34:30 -07:00
Jimmy Shih c4d7b544cb merge heads 2013-04-17 18:19:42 -07:00
Jimmy Shih c7db1cebec Add generic_yes and generic_no strings and use them in confirmation dialogs. 2013-04-17 18:18:11 -07:00
Jimmy Shih ff2a6fd241 Remove welcome screen 2013-04-17 17:17:00 -07:00
youtaol d66bf7b395 Merge heads 2013-04-17 19:51:58 +08:00
youtaol 3d6f9a1a2d Delete tracks on Google Maps 2013-04-17 13:32:46 +08:00
youtaol e80b8b19c4 Make test runs well on Android 2.3.3 2013-04-17 11:33:49 +08:00
Jimmy Shih 9410ed0acc Code cleanup. Remove PermissionCallback and remove checkPermission in GoogleSettingsActivity. 2013-04-15 15:59:53 -07:00
Jimmy Shih b5331c5f5a Use a non-UI fragment to check for credential when sending a track to google. 2013-04-15 14:53:04 -07:00
Jimmy Shih 179229821b When rotating screen, zoom to the last known location. 2013-04-11 18:35:33 -07:00
Jimmy Shih 5b28f4b1c9 If a trackId is not longer valid, use the last track.
Fix app widget launching My Tracks with an invalid track id.
2013-04-11 15:21:19 -07:00
Jimmy Shih 86410b1f80 Change getLastTrack to return the last track on the track list. 2013-04-11 14:28:38 -07:00
Jimmy Shih 5447b357d2 Update widget on software update. 2013-04-11 13:55:39 -07:00
Jimmy Shih 19020f686f In App Widget, only update the size if it has changed. 2013-04-11 13:27:52 -07:00
Jimmy Shih 1ebe7baf7c When SendRequest used in sending to Google when rotating screen 2013-04-11 10:28:24 -07:00
Jimmy Shih ed520de514 Added tag v2.0.4 for changeset b1661e784e79 2013-03-17 20:22:05 -07:00
Jimmy Shih b888a9a3b8 My Tracks 2.0.3 rc3 2013-03-10 20:54:49 -07:00
youtaol d2708ca2a5 Add some code to change the activity type during exit a track. 2013-03-08 16:15:26 +08:00
Jimmy Shih f93149191e Remove unused permissions. 2013-03-07 16:48:07 -08:00
Jimmy Shih 664f18c1ea Pass in hl to the help center url 2013-03-07 14:16:03 -08:00
Jimmy Shih e44d2875cc Fix gpx lock in the start of a recording. Use a handler thread
to obtain locationListener callbacks.
2013-03-07 11:40:14 -08:00
Jimmy Shih 89e01a706e Add a dialog for user to choose the activty type.
By apoorvn.
2013-03-06 13:46:44 -08:00
Jimmy Shih e561a25542 check if searchmneu is null before using it 2013-03-05 16:50:31 -08:00
Jimmy Shih 5107dbcb5e Update strings 2013-03-05 10:23:47 -08:00
Jimmy Shih 4cd114b0b3 Prevent dedicated search key from dismissing eula 2013-03-04 18:29:38 -08:00
Jimmy Shih 88cb5dd4ca Fix phones that do not always set the location time correctly. 2013-03-04 15:07:06 -08:00
youtaol c3c773eac6 Merge heads 2013-03-04 19:10:16 +08:00
youtaol 89bf4713ce Change the method to query and delete fusion table. 2013-03-04 19:09:23 +08:00
youtaol 9d2b2db01f Change code to make e2e test run more stable. 2013-03-04 19:08:06 +08:00
Jimmy Shih 8a1b4274a0 When restore from backup, disable sync to Google Drive. 2013-03-01 11:14:46 -08:00
Jimmy Shih d94673279a In TrackDetailActivity, check if the track id is valid or not 2013-03-01 10:19:29 -08:00
youtaol e1e1932071 Merge heads 2013-03-01 10:24:11 +08:00
youtaol 4422dd8066 Change code style. 2013-03-01 10:22:15 +08:00
Jimmy Shih 4f7dff1884 update translation 2013-02-28 14:50:32 -08:00
youtaol 0fb8c6902f Merge heads 2013-02-28 13:32:17 +08:00
Jimmy Shih 363f555f9c add onEnabled to reinitialize the widget after reboot 2013-02-27 17:19:17 -08:00
Jimmy Shih f20fa758e7 fix typo in ChartFragment 2013-02-27 14:35:01 -08:00
Jimmy Shih 7bd5a9b0c0 merge branches 2013-02-27 12:21:14 -08:00
Jimmy Shih 6bf211a5c6 persist map type from apoorvnaik 2013-02-27 12:20:03 -08:00
youtaol dbfbfb1b1f Add test cases about TripStatisticsUpdater.addLocation(). 2013-02-27 18:29:30 +08:00
Jimmy Shih e8e99dc3d0 Notify db changes after transaction is completed. 2013-02-26 14:17:50 -08:00
youtaol 6994b0b5df Fix errors of SettingTest. 2013-02-26 18:07:24 +08:00
youtaol da04450a2b Merge heads 2013-02-26 10:51:24 +08:00
youtaol d740f5a09d Add a short wait to make an sync test runs more stable. 2013-02-26 10:50:32 +08:00
Jimmy Shih 9b57749c18 When export, use the last valid track point as the end point. 2013-02-25 17:00:27 -08:00
Jimmy Shih 8929f0c211 Update the title for entering email addresses 2013-02-25 16:19:25 -08:00
Jimmy Shih 036fe3ab71 remove MyTracksApplication.java 2013-02-25 14:48:56 -08:00
Jimmy Shih 10b327f533 Clear sync state when reset settings. 2013-02-25 11:03:43 -08:00
Jimmy Shih 6810a0d048 Rename to share_maps to be consistent with send_maps. 2013-02-25 10:04:55 -08:00
Jimmy Shih f47ac17499 update android support library to version 11 2013-02-22 16:49:43 -08:00
Jimmy Shih 06718466ea Add lock screen widget.
Fix issue with 4x1 widget not displaying properly.
2013-02-22 14:58:57 -08:00
Jimmy Shih 266b2f44d1 fix eclipse warnings 2013-02-22 13:34:52 -08:00
Jimmy Shih c564c55f75 Add Google Feedback for ICS+ devices. 2013-02-22 13:09:52 -08:00
Jimmy Shih 82f68db819 merge heads 2013-02-22 11:24:20 -08:00
Jimmy Shih 925dc14b84 merge branches 2013-02-22 11:23:51 -08:00
Jimmy Shih 148f0da718 fix a typo in tos body 2013-02-22 11:18:48 -08:00
Jimmy Shih 38c9b2d0d7 Remove unused jars 2013-02-22 11:16:29 -08:00
Jimmy Shih 2c96afd9e1 merge branches 2013-02-22 11:07:53 -08:00
Jimmy Shih e44e68e226 Update AndroidManifest to version code 64 for 2.0.4 rc1 2013-02-22 11:07:14 -08:00
youtaol a3e9fbbc16 Change the method EndToEndTestUtils.verifyFirstLaunch() as new changes of first launch. 2013-02-22 11:19:56 +08:00
youtaol dfa81656d3 Make some change to make sync test run more stable. 2013-02-22 10:52:18 +08:00
youtaol e0084f6652 Merge heads 2013-02-21 14:32:04 +08:00
youtaol c88e67abe1 Change testTrackStartTime to testTrackRelativeTime. 2013-02-21 14:31:49 +08:00
Jimmy Shih f5f6cb59f5 Fix typos in strings.xml. 2013-02-20 14:58:17 -08:00
Jimmy Shih 16d3a35274 Remove in-app help content. Use a webview to access online help content. 2013-02-20 14:22:46 -08:00
Jimmy Shih d2f7279791 Update track icons. 2013-02-20 13:28:59 -08:00
Jimmy Shih d4fb45748f merge branches 2013-02-20 13:05:48 -08:00
Jimmy Shih 37dbff6025 Handle the case that some tracks can be uploaded to Google Drive before sync is enabled. 2013-02-20 13:03:58 -08:00
Jimmy Shih b064bccc52 Improve list view layout. 2013-02-20 11:13:39 -08:00
Jimmy Shih 9394031177 Do not show the EnableSyncDialogFragment if sync is already enabled. 2013-02-20 09:09:59 -08:00
youtaol 439b508619 Merge heads 2013-02-20 17:35:00 +08:00
youtaol 95cb4db92c Change code style. 2013-02-20 17:08:08 +08:00
youtaol 6ff0509124 Change to using OAuth2 and the new spreadsheet gdata library. Update the SendToGoogleTest as the new code changes. 2013-02-20 17:01:17 +08:00
Jimmy Shih 883596b388 In the start up flow, ask the user if he wants to enable Google Drive sync. 2013-02-19 18:41:26 -08:00
Jimmy Shih ae1740cacd Use the caller pattern for all DialogFragment. 2013-02-19 17:09:35 -08:00
Jimmy Shih 63319b78f9 Remove a testing constructor in ChooseMapsAsyncTask that is no longer used. 2013-02-19 16:25:28 -08:00
Jimmy Shih e31bfa5e63 Rename to Share via Google Drive and Share via Google Maps. 2013-02-19 16:04:30 -08:00
Jimmy Shih 583de3606d Move ChooseAccountActivity as an AbstractSendToGoogleActivity. 2013-02-19 15:32:24 -08:00
Jimmy Shih 100b7b28ed Have TrackListActivity extends AbstractMyTracksActivity. 2013-02-19 14:08:21 -08:00
Jimmy Shih bf46ca115b Fix the flow for sharing via maps url to first choose an account, then
choose an activity.
2013-02-19 13:49:37 -08:00
Jimmy Shih c4fd180f40 merge branches 2013-02-19 13:31:15 -08:00
youtaol 1e1d93f779 Move all configuration variables to a new class RunConfiguration. 2013-02-18 20:06:16 +08:00
youtaol 9d6ba74a6d Change the the return value of SyncUtils.getMyTracksFolder(context, drive) from string to File object. 2013-02-18 19:50:21 +08:00
Jimmy Shih 13ed536065 Add a ChooseAccountDialogFragment. 2013-02-15 14:42:59 -08:00
Jimmy Shih 2b9846cc61 Fix space after hypen dot in the list view layout. 2013-02-15 13:20:47 -08:00
Jimmy Shih 15a2024614 Add AddEmail after choosing an account. 2013-02-15 13:05:54 -08:00
Jimmy Shih d1db798f16 Minor improvements to dialog fragment. 2013-02-14 17:10:52 -08:00
Jimmy Shih 3bf9e9343d Update menu_share_drive icons. 2013-02-14 15:36:29 -08:00
Jimmy Shih 3dd578064e Fix bug in generating the time string. 2013-02-14 14:37:51 -08:00
Jimmy Shih c9fa895ba4 Add the owner of the shared with me tracks. 2013-02-14 14:16:39 -08:00
Jimmy Shih 10b714210b Improve start time layout in list view.
Display share via drive before share via map url.
2013-02-14 12:56:52 -08:00
Jimmy Shih 66fd25365b Add share via drive in the contextual menu. 2013-02-14 10:46:24 -08:00
Jimmy Shih 0b5af64ca1 Improve the list view layout. 2013-02-13 15:28:53 -08:00
Jimmy Shih 4f8e8adc23 Rename to Google Spreadsheets. 2013-02-12 17:38:26 -08:00
Jimmy Shih c93b487483 Update gdata api for Google spreadsheet. 2013-02-12 16:16:38 -08:00
Jimmy Shih bc0a2e3404 When sending to Google Fusion Table, allow either new public tables
or new private tables.
2013-02-08 16:40:44 -08:00
Jimmy Shih ab61869956 Upgrade send to fusion table to Fusion Table api v1. 2013-02-08 15:55:14 -08:00
Jimmy Shih 111cebf0ec Add Google Fusion API v1. 2013-02-07 15:29:02 -08:00
Jimmy Shih 26f1261ac2 Fix memory leak in SectionResourceCursorAdapter. 2013-02-06 17:56:33 -08:00
Jimmy Shih 891005a65e Fix memory leak in TrackDetailActivity due to TrackController. 2013-02-06 16:53:25 -08:00
Jimmy Shih f8ecf409ca Fix TrackDetailActivity to just finish instead of launching
the TrackListActivity during a error.
2013-02-06 16:06:23 -08:00
Jimmy Shih 760223029a Improve transition after deleting a track or a marker. 2013-02-06 15:21:05 -08:00
Jimmy Shih cbfe96cdc5 When updating files, check the md5 checksum. 2013-02-06 13:31:54 -08:00
Jimmy Shih 14f776721c When deleting all tracks, also disable sync to Google Drive. 2013-02-06 11:01:12 -08:00
Jimmy Shih fdf37bc19d Fix eclipse warnings. 2013-02-06 10:33:14 -08:00
Jimmy Shih 04f83e77d2 Handle the case a Shared with me track can be trashed. 2013-02-06 10:16:49 -08:00
Jimmy Shih 08bcfde5c7 Add retry for SyncAdapter. 2013-02-05 17:50:35 -08:00
Jimmy Shih 49d055ce36 Add retry when sending a track to Google Drive. 2013-02-05 14:37:47 -08:00
Jimmy Shih c0ec72f66a For "Shared with me" tracks, do not allow sending to Google Drive,
do not allow sharing with Google Drive.

For Drive tracks, exclude shared tracks.
2013-02-05 13:06:10 -08:00
Jimmy Shih 69f2b18f10 Add a "Shared with me" section. 2013-02-05 10:58:49 -08:00
Jimmy Shih b5fa77a98d Do not allow editing "Shared with me" tracks.
Do not allow editing/deleting "Shared with me" markers.
2013-02-04 09:45:24 -08:00
Jimmy Shih 6559bfa8e0 Handle context menu for Shared with me tracks in
track list, search list, and marker list.
2013-02-02 14:11:08 -08:00
Jimmy Shih e53df3cff1 Update the contextual action menu to not show edit option
for "Shared with me" tracks and markers.
Also not show the delete option for markers from
"Shared with me" tracks.
2013-02-02 13:54:24 -08:00
Jimmy Shih f26a8799fa Also sync "Shared with me" KML files. 2013-02-02 13:16:04 -08:00
youtaol 0fac9767fe Merge heads 2013-02-01 13:05:31 +08:00
youtaol a1a86432d3 Change some code style. 2013-02-01 11:08:05 +08:00
Jimmy Shih ccd4398e4b Add Locale.US for all SimpleDateFormat constructor. 2013-01-31 11:22:20 -08:00
Jimmy Shih 71900213c0 Fix warnings of not closing cursors. 2013-01-31 11:02:27 -08:00
youtaol 4137b9aae9 Change SendRequestTest as the structure of SendRequest is changed. 2013-01-31 17:59:07 +08:00
youtaol 4f1026c046 Fix a few errors when run on Android API level 10 emulator. 2013-01-31 17:31:53 +08:00
youtaol 7aef17625c Make sync tests can only be run on device bound with two test accounts for sync tests can not be run in parallel. 2013-01-31 14:45:47 +08:00
youtaol 880f153ed2 Add some test cases about sync feature. 2013-01-30 21:39:15 +08:00
youtaol bfe2e21db4 Fix an error of backup and restore e2e test. 2013-01-30 18:13:20 +08:00
youtaol bc3eeb6a5c Fix an error of e2e setting test case. 2013-01-30 16:30:19 +08:00
youtaol 1d81bb526f Merge heads 2013-01-30 13:56:51 +08:00
youtaol 6afac7a4ee Change code style of sync test cases. 2013-01-30 13:54:29 +08:00
Jimmy Shih 327336ee10 When selecting a google account the first time, don't show the
confirm message.
2013-01-29 16:48:52 -08:00
Jimmy Shih 3f173d4434 Add option to share a track via Google Drive. 2013-01-29 16:40:01 -08:00
Jimmy Shih f9bd84dba0 Same the same confirmation dialog fragment for all action confirmation. 2013-01-29 15:59:31 -08:00
Jimmy Shih 707985a081 merge heads 2013-01-29 14:51:47 -08:00
Jimmy Shih 51c24d5712 revert 2013-01-29 14:49:11 -08:00
youtaol 6e0cdc7434 Merge heads 2013-01-29 21:23:35 +08:00
youtaol 4dd2bbe6af Add test cases about sync feature. 2013-01-29 21:23:13 +08:00
Jimmy Shih f009e1aa39 Update proguard for google drive api 2013-01-28 18:36:53 -08:00
Jimmy Shih 642a843397 When updating a track based on google drive changes, revert
if the google drive file is invalid.
2013-01-25 15:50:08 -08:00
Jimmy Shih 19131fe4a0 Cancel any request permissions after the user has granted permission. 2013-01-25 15:19:41 -08:00
Jimmy Shih 19675f74ab Add Sending a track to Google Drive. 2013-01-25 15:00:31 -08:00
Jimmy Shih bf6369e1b7 Add Send to Drive in ChooseUploadServiceDialogFragment 2013-01-25 13:06:25 -08:00
Jimmy Shih 97cad0b36c Fix style in SendFusionTablesActivity.java 2013-01-25 12:47:56 -08:00
youtaol c817a0b1c0 Add a case to test the setting and menu item of sync. 2013-01-24 18:48:04 +08:00
youtaol 517d5bdfb7 Fix an e2e test error after reset and backup menu are merged to one top menu item. 2013-01-24 18:44:31 +08:00
Jimmy Shih ff375c1eb5 Add two-ways sync to Google Drive. 2013-01-23 17:00:33 -08:00
Jimmy Shih 77e6dc1b73 Add columns driveid, modifiedtime, and sharedwithme
Add tombstone when a track is deleted
2013-01-23 13:06:28 -08:00
Jimmy Shih 07cd1dcdbb Allow importer to update an existing track. Add clearTrack in MyTracksProviderUtils 2013-01-23 11:04:15 -08:00
Jimmy Shih 6b5f9c976b Add drive_deleted_list and drive_largest_change_id 2013-01-23 09:59:31 -08:00
youtaol e7739d1034 Merge heads 2013-01-21 16:21:11 +08:00
youtaol d56cb50057 Fix an error of e2e setting test code for the setting page is changed. 2013-01-21 13:37:38 +08:00
Jimmy Shih 3100328014 Update backup and reset settings 2013-01-18 10:01:12 -08:00
Jimmy Shih ab1d6d8582 Update sensor settings 2013-01-17 17:41:50 -08:00
Jimmy Shih 7ad1c4fdf2 merge heads 2013-01-17 15:33:46 -08:00
Jimmy Shih 3f667948f1 Update the recording settings 2013-01-17 15:32:09 -08:00
youtaol 86054be1bd Fix an error when run testExportAndImportTrack_properties without Gps signal. 2013-01-17 14:27:26 +08:00
Jimmy Shih bb37e08235 merge heads 2013-01-16 15:17:27 -08:00
Jimmy Shih e1e11586b0 Update MapSettings according to settings style guide 2013-01-16 15:15:59 -08:00
Jimmy Shih f15964e1b9 fix one minor eclipse warning 2013-01-15 14:39:23 -08:00
Jimmy Shih 8b92bd7367 Add
- Switch Account
- Sync Google Drive
- New maps public

under the Google settings.
2013-01-15 14:33:22 -08:00
youtaol ae5bedc3bd Remove a useless file. 2013-01-11 15:38:24 +08:00
youtaol 54641cbcd8 Change ExportAndImportTest to make e2e test cases can run well with new code change(More import options). 2013-01-11 14:54:17 +08:00
youtaol 85e700fddc Fix an error of StringUtils. 2013-01-11 11:35:47 +08:00
youtaol 112b32deb1 Fix an error to make sure the time element string does not contains non-English character. 2013-01-10 17:20:08 +08:00
youtaol f1b448db9c Change code style. 2013-01-09 15:58:22 +08:00
youtaol d7d4e2c3b9 Change code style. 2013-01-09 15:55:21 +08:00
Jimmy Shih 67819ef7f5 Refactor code.
TrackWriter = handle writing a track to an outputstream
SaveAsyncTask = handle saving to external storage
SaveActivity = handle all UI messages when saving to external storage
2013-01-08 15:27:46 -08:00
Jimmy Shih 986295c343 merge heads 2013-01-07 15:58:05 -08:00
Jimmy Shih 2e69c47e2a Add KmlImporter. 2013-01-07 15:54:04 -08:00
youtaol 3eb2d1afc9 Add test case to check whether track/marker properties can be exported and imported. 2013-01-05 15:07:14 +08:00
youtaol e6b67d941e Fix an error of endtoend test. 2013-01-05 10:40:53 +08:00
youtaol d7b4eeb05b Merge heads 2013-01-04 15:06:31 +08:00
youtaol f371e9e0e2 Fix an error of endtoend test. 2013-01-04 15:06:09 +08:00
Jimmy Shih c14f2af060 Move ImportActivity and ImportAsyncTask to
io/file package.
Move TrackFileFormat to its own class.
2013-01-02 12:31:01 -08:00
youtaol 09ff246ef7 Run unlockAndWakeupDevice() on Ui thread. 2012-12-26 10:18:09 +08:00
youtaol 2cae2557de Change code style. 2012-12-24 19:19:18 +08:00
Jimmy Shih b091d3b5c5 merge heads 2012-12-21 13:36:00 -08:00
Jimmy Shih 068dadf10f Add track category and marker category in KmlTrackWriter. 2012-12-21 13:34:48 -08:00
youtaol 9176879ebe Update robotium solo to latest version. 2012-12-21 11:21:58 +08:00
Jimmy Shih 1b9bd39f17 Remove SignalStrength, the sample app that
periodically creates a waypoint containing
the phone signal stregth.
2012-12-20 16:19:41 -08:00
Jimmy Shih 283291b51b Add track category, waypoint type, waypoint category to gpx importer/exporter. 2012-12-20 15:55:06 -08:00
Jimmy Shih efaa7df201 Declare WaypointType as an enum. 2012-12-20 13:55:01 -08:00
Jimmy Shih a320f52746 merge heads 2012-12-20 10:05:56 -08:00
Jimmy Shih 0b4a4dda78 Import waypoints in GpxImporter 2012-12-20 10:01:32 -08:00
youtaol b464d78ae2 Fix an error of test. 2012-12-20 19:10:28 +08:00
youtaol 1580389f8c Change the package name of MytracksTest_E2E project. 2012-12-20 16:20:59 +08:00
youtaol d8f92f2c00 Change the application label of MyTracks_E2E project. 2012-12-20 16:06:08 +08:00
youtaol fb54ac1752 Separate MyTracksTest project into two projects, MyTracksTest and MyTracksTest_E2E 2012-12-20 14:09:12 +08:00
youtaol 124f4c9d2e Fix an error of setting test. 2012-12-19 15:04:22 +08:00
youtaol 3c3abea865 Fix an error of test. 2012-12-19 13:49:22 +08:00
youtaol 27ab203f7d Merge heads 2012-12-19 10:07:51 +08:00
youtaol 31b5dc9ad0 Fix an error of ResourceUsageTest. 2012-12-19 09:51:05 +08:00
youtaol 19281e2919 Move method findAndClickMyLocation from GoToMyLocationTest to EndToEndTestUtils. 2012-12-19 09:47:21 +08:00
Jimmy Shih 11ca9cc450 Update MyTracksProviderUtils api to make it clear
the valid values that can be used.
2012-12-18 15:02:50 -08:00
youtaol b7c1b61404 Fix an error of test. 2012-12-18 16:17:45 +08:00
youtaol d88995e8b9 Add a long track test case to stress test. 2012-12-14 15:58:20 +08:00
youtaol a90a2ec692 Add unlock method to make it can be run after the device is locked. And change some code style. 2012-12-13 18:18:45 +08:00
youtaol 612dac55d8 Merge heads 2012-12-13 17:05:41 +08:00
youtaol 483faa9574 Revert a change to merge with main. 2012-12-13 17:05:10 +08:00
youtaol 25b34cfb37 Add test case to collect the memory/battery usage of MyTracks. 2012-12-13 17:02:18 +08:00
youtaol f94d27acca Change some code style. 2012-12-12 10:43:24 +08:00
youtaol 3563fac1e8 Change code style of MapOverlay. 2012-12-12 10:01:03 +08:00
youtaol 28eb0cd677 Fix the issue http://code.google.com/p/mytracks/issues/detail?id=1198 2012-12-11 16:59:49 +08:00
youtaol 3c9224ab09 Merge heads 2012-12-11 10:57:14 +08:00
Jimmy Shih dffae9e782 Update Google Java Client API to version 1.12.0-beta. 2012-12-10 18:38:05 -08:00
Jimmy Shih c840027ab9 remove google java client library 1.5.0 2012-12-10 17:06:00 -08:00
Jimmy Shih 67da38bf35 update eclipse project for google play services v3 2012-12-10 15:38:36 -08:00
Jimmy Shih 794434078d add google play services v3 2012-12-10 15:34:08 -08:00
Jimmy Shih 6960bd0d63 remove google play services v2 2012-12-10 15:33:20 -08:00
Jimmy Shih 1c18f0e5f0 remove unused i18n scripts 2012-12-10 15:20:18 -08:00
Jimmy Shih 9216e8b97c merge heads 2012-12-10 15:00:48 -08:00
Jimmy Shih 87f60daa3a Update MyTracksTest factory patht to api level 17. 2012-12-10 13:39:18 -08:00
Jimmy Shih dc444ab04d Add a res directory for the MyTracksTest eclipse project. 2012-12-10 13:22:02 -08:00
youtaol 89b0402a92 Add testTrackColorSettings test case and make some code style change. 2012-12-10 18:35:17 +08:00
youtaol be0a067cf0 Add test case of the getColor method of MultiColorTrackPath when use dynamic speed track path descriptor. 2012-12-10 18:34:32 +08:00
youtaol 1a73df6edc Add test cases about getSlowSpeed and getNormalSpeed methods in DynamicSpeedTrackPathDescriptor. 2012-12-10 18:32:10 +08:00
youtaol 2fb1280b12 Merge heads 2012-12-07 15:24:48 +08:00
youtaol 8095698217 Fix an error of testSwitchTabs_wayPoints in stress test. And change some code style. 2012-12-07 14:40:18 +08:00
Jimmy Shih 05d12972e4 merge heads 2012-12-06 14:03:20 -08:00
Jimmy Shih 8a91036b1f Added tag 2.0.3 for changeset 56a5aae31c59 2012-12-06 14:01:52 -08:00
Jimmy Shih 42766e320f improve map view v2 comments 2012-12-06 14:01:09 -08:00
youtaol 87fa74bb58 Fix an error about testGPSMenu. Add a method waitTextToDisappear in EndToEndTestUtils. 2012-12-05 17:15:20 +08:00
youtaol 41051e1ecd Change code style. 2012-12-04 13:04:03 +08:00
youtaol 6ded502e89 Merge heads 2012-12-04 11:06:11 +08:00
youtaol 1c36a82fe2 Add two parameters to EndToEndTestRunner to control the sensor test and stress test for these two test need long time to run. 2012-12-04 11:05:18 +08:00
Jimmy Shih 8a9fd12c74 target api level 17 2012-12-03 17:51:32 -08:00
Jimmy Shih a06cf731d6 update manifest to version 63 2012-12-03 17:41:24 -08:00
Jimmy Shih 5a9c8255bd update to google-play-services-lib version 2 2012-12-03 13:52:43 -08:00
Jimmy Shih b0713cc0e7 Add synchronization when accessing waypoints in ChartView 2012-12-03 10:17:33 -08:00
Jimmy Shih 76c7fcd89a add extra permission for map view v2 2012-12-03 10:04:13 -08:00
youtaol db3194224b Add a stress test case. Switch views when track has mwrkers. 2012-12-03 22:06:47 +08:00
youtaol 3711a97fc3 Add sensor test cases during recording. 2012-11-30 17:01:43 +08:00
youtaol 087cfa8fc0 Merge heads 2012-11-30 09:47:38 +08:00
youtaol b857d25576 Change code style. Add a class SecondaryTestUtils to manage general variables and methods of other tests. 2012-11-30 09:44:03 +08:00
Jimmy Shih 9627233a54 Update strings for My Tracks 2.0.3 2012-11-29 14:36:10 -08:00
youtaol c989e22d63 Change the sensor test which guide user to paring Bluetooth sensors if doesn't find the specified type of sensor. 2012-11-29 18:57:10 +08:00
youtaol a4bf50f3e8 Change code style. Add test case about ANT+ sensors. 2012-11-29 18:55:55 +08:00
youtaol 624871b5e3 Change the way to find "More" menu item on Android OS without action bar. 2012-11-29 18:51:12 +08:00
youtaol cf27dfad97 Fix an error of SettingTest. 2012-11-21 19:50:45 +08:00
youtaol 639263f3c8 Fix an error in SensorTest. 2012-11-21 18:44:11 +08:00
youtaol ff1a554cea Fix random errors of e2e tests. Don't run some code if unnecessary. 2012-11-21 17:59:16 +08:00
youtaol 51bce4d2dc Fix two error of e2e tests. 2012-11-21 14:45:15 +08:00
youtaol 9f6427c203 Merge heads 2012-11-14 14:44:07 +08:00
youtaol 12e895d0e9 Fix an error of view switch test. 2012-11-14 14:43:47 +08:00
Jimmy Shih 4518f07cb1 Fix incorrect import 2012-11-13 15:32:27 -08:00
Jimmy Shih fc78bfdd2a Improve battery usage by removing listeners no longer needed in
track data hub.
2012-11-13 11:16:19 -08:00
youtaol 1d2173eb6f Fix an error of AnnouncementPeriodicTaskTest. 2012-11-13 19:51:12 +08:00
Jimmy Shih c38a5f3ba1 In Chart View, no longer can use a double buffered
iterator since with pauses and resumes, need to remember
beyond the last two locations.
2012-11-12 18:18:20 -08:00
Jimmy Shih 28a1c18489 Update strings.
Fix start gps. Open location settngs if gps is not available.
Show a toast when clicking on start/stop gps.
2012-11-12 15:36:48 -08:00
Jimmy Shih 427096838d Check if SD card is available before building external directory path. 2012-11-10 12:54:23 -08:00
Jimmy Shih 3d732625b1 Do not export battery level. 2012-11-10 11:40:39 -08:00
Jimmy Shih 7923b20d1d Fix encoding bug when a spreadsheet title contains special
characters like ().
2012-11-09 17:44:32 -08:00
Jimmy Shih c23a2467d9 merge heads 2012-11-09 16:42:44 -08:00
Jimmy Shih 6c9d64900e Initialize camera position only once instead of
initializing it once per onCreateView.
2012-11-09 16:41:19 -08:00
youtaol 8458825932 Remove spreadsheet for the test activity on Google Drive. 2012-11-09 13:52:25 +08:00
youtaol 4c457c093c Merge heads 2012-11-09 11:28:27 +08:00
youtaol e452ca3598 Merge heads 2012-11-08 17:03:11 +08:00
youtaol 3f9fd82b92 Add stress test and move sendor test to package com.google.android.apps.mytracks.endtoendtest.others. 2012-11-08 17:02:28 +08:00
youtaol bb23372b4d Change the way to find the total time text view to make test runs normally. 2012-11-08 15:04:24 +08:00
Jimmy Shih be257aa4bf Clean up the UI for no gps signal warning. 2012-11-07 17:05:50 -08:00
Jimmy Shih ea4ff998a2 Give user the option to not show the confirmation dialog when
playing a track in Google Earth.
2012-11-07 15:38:14 -08:00
Jimmy Shih 2bb76de736 - Show the Google Play services update dialog after the EULA and welcome dialogs.
- Handle canceling the Google Play services update dialog.
2012-11-07 13:33:58 -08:00
Jimmy Shih 0ebc8d255d Do not show the check units dialog on startup.
Use imperial for US. Use metrics for others.
2012-11-07 12:54:28 -08:00
Jimmy Shih 85bbb950d2 Remove dependency on Google Api.
Remove dependency on maps.jar
2012-11-07 10:27:17 -08:00
youtaol ccdd33bcca Fix errors of e2e tests. 2012-11-07 17:59:09 +08:00
youtaol 3da337b91b Add a method to check whether the Google Play Services update dialog is shown. 2012-11-07 15:54:16 +08:00
youtaol 326684d01c Fix encoding error of StrideReadings and StrideReadingsTest. 2012-11-07 15:47:12 +08:00
youtaol 2361e28552 Change the view tests as the new map view. 2012-11-07 15:46:00 +08:00
youtaol 653d2e97b0 Add a new method setupForDebug() in EndToEndTestUtils. 2012-11-07 15:43:43 +08:00
youtaol 61a7f4e0d8 Add test case about sensors. 2012-11-07 15:37:36 +08:00
youtaol 9bf05222f8 Add test case about starting/stopping GPS. 2012-11-07 15:35:44 +08:00
youtaol bca97bbd2e Fix errors of e2e tests. 2012-11-07 15:32:34 +08:00
youtaol 7decb2fab0 Split the CreateAndSendTrackTest to two files. Add a test case to test the send same track(the activity string of this track contains special character) to Google twice. 2012-11-07 15:26:54 +08:00
Jimmy Shih 6d2a642bc2 Remove unneeded @TargetApi
fix android lint errors
2012-11-06 15:51:38 -08:00
Jimmy Shih 903751c799 update translations 2012-11-06 15:31:44 -08:00
Jimmy Shih cd7d8ea559 remove suppress warnings; change to match_parent 2012-11-06 14:42:06 -08:00
Jimmy Shih 1605af1aa4 fix various eclipse warnings 2012-11-06 14:09:22 -08:00
Jimmy Shih b7898064f3 Add satellite with streets layer
Add checkbox next to the map layer item
Remember map layer across screen rotation
2012-11-06 13:36:39 -08:00
Jimmy Shih 3c59a33759 update UI in onSharedPreferenceChangedListener in the UI thread 2012-11-02 14:21:59 -07:00
Jimmy Shih b4eaad984e fix a typo in strings.xml 2012-11-02 12:58:34 -07:00
Jimmy Shih 214be6b802 fix null pointer error when cannot open a sd card file 2012-11-02 12:47:41 -07:00
Jimmy Shih 4b09254789 update to new google play services 2012-11-02 12:43:31 -07:00
Jimmy Shih c70e374219 Register/unregister onSharedPreferenceChangeListener in onStart and on Stop 2012-10-31 14:43:35 -07:00
Jimmy Shih 620b6e09b5 bind and unbind recording service in onStart and onStop 2012-10-31 11:21:21 -07:00
Jimmy Shih bf5b060123 Update track list activity lifecycle to fix bug with sharedPreferenceChangeListener needing to update the UI 2012-10-31 11:01:08 -07:00
Jimmy Shih a606d3a837 merge heads 2012-10-25 14:19:06 -07:00
Jimmy Shih 7497a8ec58 Add a check to make sure Google Play Services is available 2012-10-25 14:17:44 -07:00
Jimmy Shih e22c5f25fe Update analytics to not record application onCreate events 2012-10-24 16:50:16 -07:00
Jimmy Shih ed8669be66 Code cleanup. Rename stats_total_distance to stats_distance. 2012-10-24 16:30:08 -07:00
Jimmy Shih be238493dd Use official support library. 2012-10-24 16:00:10 -07:00
Jimmy Shih 707031d0b7 Remove api level 7 code. 2012-10-24 15:48:26 -07:00
Jimmy Shih 8fd0ab1cf1 update track widget label size for 4x3 layout 2012-10-24 15:00:37 -07:00
Jimmy Shih 41cb741883 Fix race conditions with GoogleMap 2012-10-24 14:38:51 -07:00
Jimmy Shih 9e30280e4e Update google-play-services.jar.
Fix one unit test.
2012-10-23 14:59:27 -07:00
Jimmy Shih 9eca3df172 Update to map view v2. 2012-10-20 16:18:50 -07:00
Jimmy Shih 2a676dbc9a fix layout issue in track widget config activity 2012-10-08 18:36:28 -07:00
Jimmy Shih 7d5d462a2a add chronometer to each app widget item 2012-10-08 17:25:27 -07:00
Jimmy Shih 4792ff6d3e update app widget style 2012-10-08 15:22:39 -07:00
Jimmy Shih dfab60c2eb add 4 layout sizes for the app widget 2012-10-08 13:05:15 -07:00
Jimmy Shih 1983b63ce8 Add a widget configuration screen 2012-10-05 11:26:57 -07:00
Jimmy Shih 5db20b48ca update app widget layout 2012-10-02 14:30:53 -07:00
Jimmy Shih 7240d02c06 merge heads 2012-10-01 14:18:06 -07:00
Jimmy Shih 17cec8fdac Added tag 2.0.2 for changeset 483e11a9d46e 2012-10-01 12:46:09 -07:00
Jimmy Shih eb49ee7939 Update map settings to display the current value
in the summary text.
2012-09-25 13:06:40 -07:00
Jimmy Shih 40c5d14eb4 Update sensor settings to include current value in the summary. 2012-09-25 10:34:04 -07:00
Jimmy Shih df7c832b96 Update recording settings to display the current
value in the summary.
2012-09-24 17:27:16 -07:00
Jimmy Shih 9e855fd589 In TrackListActivity, fix null pointer with searchMenuItem. 2012-09-21 16:05:47 -07:00
Jimmy Shih 29d44d45b6 Rename SD card to external storage.
Rename phone to device.
2012-09-21 15:33:59 -07:00
Jimmy Shih 07053d270d Add a help question on who can access SD card.
Change to Google My Tracks when display permission in another app.
2012-09-21 14:33:00 -07:00
Jimmy Shih ce33a1c413 Update strings for version 56 2012-09-20 17:27:10 -07:00
Jimmy Shih 54589db47c Update Google Analytics to start one session
per app launch.
2012-09-20 13:06:42 -07:00
Jimmy Shih 7e2fa82f3c Fix issue 1153.
In TrackListActivity, unregister listener in onPause.
2012-09-19 17:56:30 -07:00
youtaol 02d9d929b2 Merge heads 2012-09-19 20:22:47 +08:00
youtaol e00b0ef495 Merge heads 2012-09-19 20:06:00 +08:00
youtaol d179997169 Change code style. 2012-09-19 20:05:10 +08:00
youtaol 0b6250686d Change code style to test the voice frequency and split frequency menus. 2012-09-19 18:58:01 +08:00
youtaol ab763a0ce1 Change code style for testing share activities. 2012-09-19 18:38:42 +08:00
Jimmy Shih 95340fc3ad merge heads 2012-09-18 12:52:31 -07:00
Jimmy Shih 5ce40abbba update to version code 55 2012-09-18 12:50:37 -07:00
Jimmy Shih 1a89d9b4ce Fix issue 1152. In API level < 11, hide title before setting the content view. 2012-09-18 12:49:57 -07:00
youtaol df37b7709a Merge heads 2012-09-18 20:47:01 +08:00
youtaol afcccdf9d8 Move testFrequencyMenu from CreateAndSendTrackTest to MenuItemsTest and make some change as the new UI. 2012-09-18 20:46:11 +08:00
youtaol aa693afb88 Merge heads 2012-09-18 11:28:59 +08:00
youtaol 2243f73ef3 Change the method to check view mode. 2012-09-18 11:28:13 +08:00
youtaol 65ee6b80ef Merge heads 2012-09-18 10:32:22 +08:00
youtaol 207cc60911 Make the testShareActivity runs more stable. 2012-09-18 09:48:36 +08:00
Jimmy Shih a9c12e47f2 Update to version 54.
Update strings.
2012-09-17 17:06:05 -07:00
Jimmy Shih 6c985efca2 Fix total time stats when stopping a track during a pause. 2012-09-17 15:23:01 -07:00
Jimmy Shih 65c8a57aa3 Add voice frequency and split frequency back to
the recording settings.
2012-09-17 15:00:14 -07:00
Jimmy Shih 42f1e79bed For description field, allow multi-line. 2012-09-17 14:03:50 -07:00
Jimmy Shih 28599646cc Use a Chronometer to update total time in track widget.
Use broadcast events to update track widget.
2012-09-17 13:45:53 -07:00
youtaol 785bb71d4f Merge heads 2012-09-17 10:24:33 +08:00
youtaol bdba53c6ca Fix an error of comment. 2012-09-17 10:24:12 +08:00
Jimmy Shih 451ac53551 Fix issue 1108 by not always updating shared preferences onResume. 2012-09-14 10:46:09 -07:00
Jimmy Shih 3e03f24ec3 Fix issue with Android 3.0 by obtaining the action bar after
setting the content view.
See issue 1107.
2012-09-14 10:27:32 -07:00
Jimmy Shih 260410b554 For FragmentDialog, always use the activity obtain during onCreate.
To prevent null pointer when user clicks a button.
2012-09-13 15:44:58 -07:00
Jimmy Shih 5ff9c157d6 On TabManager, use commitAllowingStateLoss 2012-09-13 15:05:24 -07:00
Jimmy Shih 26512da615 Code cleanup: rename keys for save instance state 2012-09-13 14:52:51 -07:00
Jimmy Shih 5e7966b6e0 In ChooseActivityDialogFragment, reuse the activity during onCreateDialog. 2012-09-13 14:45:03 -07:00
Jimmy Shih 555218b2ab Do no allow progress dialogs to be canceled on outside touch 2012-09-13 14:25:55 -07:00
Jimmy Shih 74cf36e607 Add a menu item to start/stop gps. 2012-09-13 13:54:06 -07:00
youtaol 6389b873cf Merge heads 2012-09-13 11:32:20 +08:00
Jimmy Shih a177834e07 When backing/restoring prefereneces, do not include preferences for
the current device session.
2012-09-12 12:33:47 -07:00
youtaol 6f862a09d9 Add a test about share menu item. 2012-09-12 19:56:19 +08:00
Jimmy Shih 2053fe7bb9 update to version 53 2012-09-11 16:46:59 -07:00
Jimmy Shih ef1964eeff fix eclipse warnings 2012-09-11 16:03:39 -07:00
Jimmy Shih c9d4a07756 fix lint errors 2012-09-11 15:52:55 -07:00
Jimmy Shih 0ef7713433 Make SharePreferenceListener instance variables so they do not get
garbage collected early.
2012-09-11 14:56:17 -07:00
Jimmy Shih 32da1cd84d merge heads 2012-09-11 13:34:14 -07:00
Jimmy Shih 2ee3592320 update Android Manifest to version 52 2012-09-11 13:33:35 -07:00
Jimmy Shih b6d0609bed When gps is disabled, clear the current location. 2012-09-11 13:29:23 -07:00
Jimmy Shih 9eba8e4b64 update translated strings 2012-09-07 11:11:47 -07:00
Jimmy Shih 1e3e6af9b9 merge heads 2012-09-07 10:46:57 -07:00
Jimmy Shih 9cbfa40320 When displaying a html anchor link in a TextView, make sure there is
a space before and after the anchor link.
2012-09-07 10:45:12 -07:00
youtaol e0923b6f02 Merge heads 2012-09-07 10:45:01 +08:00
youtaol 3de6db170c Move methods checkUnderRecording, checkUnderRecording, checkUnderPaused to EndToEndTestUtils. 2012-09-07 10:44:13 +08:00
Jimmy Shih 7079c787be Annouce time to always include seconds 2012-09-06 17:06:37 -07:00
Jimmy Shih 147ef4e7c9 Change GpxTrackWriter to output coordinates with 6 fraction digitis 2012-09-06 16:50:05 -07:00
Jimmy Shih d1ea2c2bdb Update translation description regarding newline character \n 2012-09-06 15:56:02 -07:00
Jimmy Shih 0537eb3518 Fix csv output to use "" for an empty string. 2012-09-06 15:37:34 -07:00
Jimmy Shih 868a42f106 Fix buttons so that they can support 2 lines of text. 2012-09-06 14:53:59 -07:00
Jimmy Shih eef7279319 Shorten "Satellite mode" to "Satellite".
Change string limit from 21 to 20.
2012-09-06 13:47:30 -07:00
Jimmy Shih e881af032e Update app widget to support pause/resume. 2012-09-06 11:05:53 -07:00
Jimmy Shih 65fbb30f01 Update the list view icon based on new dimensions
from the style guide.
2012-09-05 13:47:40 -07:00
Jimmy Shih 6f97d4ff15 In ListView item, change the "Paused" text to white color instead of
red color.
2012-09-05 13:25:51 -07:00
Jimmy Shih e2610df8aa merge heads 2012-09-05 13:06:31 -07:00
Jimmy Shih 6df00ac1c5 Update record/pause style. 2012-09-05 13:05:12 -07:00
youtaol c5c5620b79 Fix warnings in test project. 2012-09-05 14:22:27 +08:00
youtaol 9a10675441 Add checks about the switch of start and pause image button. 2012-09-05 14:15:47 +08:00
youtaol 2eb26aaba1 Change code style. 2012-09-05 14:11:05 +08:00
Jimmy Shih 89496446c1 In StatsFragment, use the handler thread to update the total time
instead of creating a new thread.
2012-09-04 13:14:31 -07:00
Jimmy Shih 72a6f31790 Remove the following strings and drawables
- menu_record_track
- menu_pause_track
- menu_stop_track

Update status and button images.
2012-09-04 11:21:47 -07:00
youtaol 7b025443c1 Add checks about the status of recording, pause and not in recording. Add method findTextView and sleep to help current and following tests. 2012-09-04 15:04:11 +08:00
youtaol 9505ba9a23 Change code for there are no start, pause, stop buttons on the action bar any more. 2012-09-03 20:02:12 +08:00
youtaol e5078627c1 Merge heads 2012-09-03 14:17:09 +08:00
youtaol 3b92eb3a23 Change code style. 2012-09-03 14:15:22 +08:00
Jimmy Shih 9e85c0b8d5 Change the track_detail menu item order.
Place voice frequency and split markers just above settings.
2012-08-31 15:44:23 -07:00
Jimmy Shih af4a24053b merge conflicts, update ids 2012-08-31 15:08:39 -07:00
Jimmy Shih 544eb798b0 merge heads 2012-08-31 14:52:58 -07:00
Jimmy Shih b7c2f85a02 Add TrackController UI in TrackDetailActivity. 2012-08-31 14:51:05 -07:00
youtaol c8bcfe654b Add method pauseRecording() and resumeRecording() in EndToEndTestUtils. Make some changes to make start, pause, resume, stop track recording can runs well on the new UI(Move these buttons down from action bar in TrackListActivity). 2012-08-31 17:08:41 +08:00
youtaol 90e621db1f Merge heads 2012-08-31 09:57:35 +08:00
youtaol da6f3da448 Change the code style to send Gps signal to emulator. 2012-08-31 09:54:45 +08:00
Jimmy Shih 8a7786f9ca In TrackWriterImpl, write an empty track if the track has no valid locations. 2012-08-30 16:12:31 -07:00
Jimmy Shih af32c4f40f Improve resume/pause layout 2012-08-30 14:57:01 -07:00
Jimmy Shih 378cae7151 In MarkerList, do not show insert waypoint if paused.
In SearchList, update icon based on recording or paused state.
In TrackDetail, do not show insert waypoint if paused.
In TrackDetail, always show voice frequency and split marker settings.
2012-08-30 13:21:46 -07:00
Jimmy Shih 3b83d12056 merge heads 2012-08-30 12:32:01 -07:00
Jimmy Shih 5d34ddbd13 Change target sdk version to 16. 2012-08-30 12:31:16 -07:00
Jimmy Shih 9c0e522804 merge heads 2012-08-30 11:25:09 -07:00
Jimmy Shih 59f2092482 Check in the new record/pause UI in TrackListActivity. 2012-08-30 11:21:56 -07:00
youtaol ac119d815c Merge heads 2012-08-29 17:16:16 +08:00
youtaol 2212abe3c7 Add a check about the points of Paused track. 2012-08-29 17:15:55 +08:00
Jimmy Shih 09453d13cd If a GPX file doesn't contain timestamp, use the import
time as the track starting time.
2012-08-28 18:24:33 -07:00
Jimmy Shih 2f6e36a8bc Update GpxImporter to support tracks with pauses. 2012-08-28 17:44:40 -07:00
youtaol df06149c6d Add test case about sending a paused track to Google. 2012-08-28 15:37:57 +08:00
youtaol 14ea38da8b Merge heads 2012-08-28 10:41:34 +08:00
youtaol 6a9fa7c488 Add pause, resume, export and import test cases for Pause feature. 2012-08-28 10:36:04 +08:00
Jimmy Shih 34889bc460 Update SendToGoogleUtil to take into account of pause/resume separator. 2012-08-27 15:27:56 -07:00
Jimmy Shih f89433322b merge heads 2012-08-27 12:18:08 -07:00
Jimmy Shih 25778911c9 For periodic task, set the next time based on current total time
rather than track start time. The current total time would
take into account pause/resume time.
2012-08-27 12:17:23 -07:00
youtaol 631bfe8302 Fix an error of test. 2012-08-27 20:21:27 +08:00
youtaol 9565e81dab Merge heads 2012-08-27 10:31:25 +08:00
Jimmy Shih 296cd81167 In TrackRecordingService, fix the code on detecting if a location
is already inserted in the database.
In TripStatisticsUpdater, improve total distance accuracy by
taking into account the last point in a segment.
2012-08-24 17:46:16 -07:00
Jimmy Shih 41278eb137 Rename TripStatisticsBuilder to TripStatisticsUpdater.
No logic change.
2012-08-24 15:57:27 -07:00
Jimmy Shih be6fd6d633 Rename methods in MyTracksProviderUtils.
No logic change
2012-08-24 15:21:39 -07:00
Jimmy Shih 784ce8bc26 Remove unused methods in MyTracksProviderUtils
Change getLastValidLocation to getLastValidTrackLocation, thus
all location related api takes trackId as an argument.
2012-08-24 14:05:50 -07:00
Jimmy Shih c6861d1e49 In ChartFragment, MapFragment, StatsFragment, for callbacks from
TrackDataHub, check that the fragment is resumed.
In any runnable executed on the UI thread, also check
that the fragment is resumed.
2012-08-24 12:46:11 -07:00
Jimmy Shih 2c87df6d75 merge heads 2012-08-24 09:46:37 -07:00
youtaol 3ef2a9c901 Fix an error when test in Chinese. 2012-08-24 14:51:24 +08:00
youtaol 9859e4ff14 Merge heads 2012-08-24 12:42:57 +08:00
youtaol bc37316fa5 Add pause test case in CreateAndSendTrackTest. 2012-08-24 12:42:22 +08:00
Jimmy Shih 0ddd11aef5 Fix Stats view.
- when paused, do not update current location
- handle possible null pointer for getActivity

In MyTraksProviderUtils, change to
getLastValidLocation
2012-08-23 18:24:08 -07:00
Jimmy Shih b164398d47 merge heads 2012-08-23 14:59:58 -07:00
Jimmy Shih 9f63125816 - In MapView, only show the no gps message when recording.
- Different messages for no gps signal and need better gps signal.
- Add debug line when location is not inserted due to accuracy issue
  and min recording distance requirement.
2012-08-23 14:58:36 -07:00
Jimmy Shih 02f0f4831e Use TripStatisticsBuilder in
- SendMapsAsyncTask
- SendFusionTablesAsyncTask
- ChartFragment

In ChartURLGenerator
- change the input vector unit to be in meters
2012-08-23 14:12:08 -07:00
youtaol dcf5e5668a Merge heads 2012-08-23 19:28:32 +08:00
youtaol f008975936 Use default(first) account in choose account dialog. 2012-08-23 19:27:51 +08:00
Jimmy Shih 2bfb1ff49e merge heads 2012-08-22 16:20:40 -07:00
Jimmy Shih b0bb09db08 Add support to show both moving time and total time. 2012-08-22 15:52:14 -07:00
Jimmy Shih b3ad974bbb Update the ui thread in StatsFragment to support pause/resume
for the total time.
2012-08-22 13:16:18 -07:00
youtaol 40dba3d183 Add a check when more than one account is bound with phone. 2012-08-22 15:29:03 +08:00
Jimmy Shih ccaf652c8b Add support for pause and resume in TrackRecordingService. 2012-08-21 18:36:04 -07:00
Jimmy Shih 832e2499c9 merge heads 2012-08-20 11:00:16 -07:00
Jimmy Shih 12ce7e3b0d merge heads 2012-08-20 10:59:22 -07:00
Jimmy Shih 883b4bc9a8 fix a typo bug in TrackRecordingServiceConnectionUtils 2012-08-16 14:34:10 -07:00
Jimmy Shih 6039c5e1d4 Add UI support to pause and resume the current recording track. 2012-08-15 17:14:25 -07:00
youtaol e9ac687fe0 Fix unit test error of TrackDataHubTest. 2012-08-15 19:30:12 +08:00
youtaol 302144d003 Move the code about checking status of GPS signal back to make the test runs well on real devices. Fix a warning in CreateAndSendTrackTest. 2012-08-15 15:51:43 +08:00
Jimmy Shih 532c7495e4 merge heads with Google Location settings change from My Tracks 2.0.1 2012-08-14 12:32:56 -07:00
Jimmy Shih 5f4e32b921 Change intent name for opening Google location settings 2012-08-14 10:40:49 -07:00
Jimmy Shih 360b757bf3 revert f505ce7c6bde 2012-08-14 10:04:38 -07:00
Jimmy Shih 1a6baf2beb Refactor location recording logic so that
all location filtering code is done at
TripStatisticsBuilder.java.
2012-08-13 15:14:00 -07:00
Jimmy Shih bafcd0e37f In TrackRecordingService, make sure all fields of a waypoint
are set consistently when creating a marker.
2012-08-09 14:17:19 -07:00
Jimmy Shih 80f2237e2b merge heads 2012-08-09 10:22:52 -07:00
Jimmy Shih 96b67a8f2b Rename files in the "tasks" package. 2012-08-09 10:21:24 -07:00
youtaol f983c93363 Merge heads 2012-08-09 13:32:59 +08:00
Jimmy Shih dc9173e015 Update TrackRecordingService. 2012-08-08 18:52:08 -07:00
Jimmy Shih 40e2aba739 Clean up classes in the stats package
- TripStatisticsBuilder
- TripStatistics
- ExtremityMonitor
- DoubleBuffer
2012-08-08 10:17:32 -07:00
Jimmy Shih a0b3e21b14 Clean up LocationListenerPolicy. 2012-08-07 12:19:59 -07:00
youtaol 61227b2d89 Remove useless method in TrackDataHub. 2012-08-06 14:56:49 +08:00
youtaol 27c796cda0 Change some code of MyTracksProviderTest. 2012-08-06 13:21:51 +08:00
youtaol 86b782e2f0 Change code style of TrackDataHubTest. 2012-08-03 17:05:55 +08:00
youtaol a4b6d9e87b Merge heads 2012-08-03 16:31:36 +08:00
youtaol 221155979e Add a wait after sending Gps Signal. 2012-08-03 15:22:35 +08:00
youtaol e94d62f6a9 Make a change to make testSplitSetting() runs more stable. 2012-08-03 14:24:24 +08:00
Jimmy Shih a9872f665f Add track description as Notes in TCX output. 2012-08-02 12:26:55 -07:00
youtaol 2fa1f6daf4 Change some code in getButtonOnScreen() in EndToEndTestUtils. 2012-08-02 19:53:06 +08:00
youtaol acdb140a4e Make some change to make test more stable. 2012-08-02 16:33:16 +08:00
youtaol 0568ccca2c Make some change to make test more stable. 2012-08-02 14:15:28 +08:00
youtaol d1c2d3df3d Change some code style of EndToEndTestRunner. 2012-08-02 10:49:09 +08:00
Jimmy Shih 371375178e merge heads 2012-08-01 19:03:44 -07:00
Jimmy Shih f0de32eb04 Use a different name for new strings. 2012-08-01 13:40:16 -07:00
Jimmy Shih 2dbd2ff956 My Tracks 2.0.1. Add support for Google location settings. 2012-08-01 12:57:48 -07:00
youtaol 4b7d996cb3 Add some test cases to TrackDataHubTest. 2012-08-01 20:26:02 +08:00
youtaol 8796318335 Add a class EndToEndTestRunner which extends InstrumentationTestRunner and can get the port of emulator. Then test can be run on more than one emulators at the same time. 2012-08-01 17:25:21 +08:00
youtaol 99c094d9a1 Merge heads 2012-08-01 10:12:17 +08:00
youtaol a08cbe4265 Change a field name in EndToEndTestUtils. 2012-08-01 10:11:52 +08:00
Psychol 599b220523 Fix for bug 1087: (Voice Announcements for Pace in min/mi broken).
Voice announcements were always reporting 0 minutes 0 seconds if system was
configured for Pace.  Bug was caused by an incorrect cast of variable
'speed' to long (speed is a double). The casting was resulting in the variable
'speed' being changed to 0.

http://code.google.com/p/mytracks/issues/detail?id=1087
2012-07-30 23:06:33 -05:00
Jimmy Shih cbfcaaeb59 merge heads 2012-07-27 17:10:11 -07:00
Jimmy Shih d32221416d Clean up PeriodicTask. 2012-07-27 17:04:58 -07:00
youtaol b052c34e76 Make test can run on Android 4.1. Initialize the status of GPS signal and then use it during test. Create a common method to enter text which can hides soft keyboard. 2012-07-27 16:51:18 +08:00
youtaol b6fd63a512 Merge heads 2012-07-27 10:24:20 +08:00
youtaol b986dd51a9 Merge heads 2012-07-27 09:46:02 +08:00
youtaol 9244255b86 Change code style of MyTracksProviderUtilsImplTest. 2012-07-27 09:44:18 +08:00
Jimmy Shih 1bcbf7b5de Update all TrackPathPainter and TrackPathDescriptor.
Fix issues of incrementally updating a path.
2012-07-26 15:29:16 -07:00
Jimmy Shih 2b85a0ebba Update MayOverlay.
Fix heading calculation.
2012-07-26 10:05:24 -07:00
youtaol 1f093aa69f Change the code style and fix few invisible warnings in javadoc of MyTracksProviderUtilsImplTest. 2012-07-26 19:59:49 +08:00
youtaol a7d855cc27 Merge heads 2012-07-26 11:00:04 +08:00
Jimmy Shih e50938078f merge heads 2012-07-25 11:10:51 -07:00
youtaol 87255a1ad3 Fix an visible error of test. 2012-07-25 18:55:25 +08:00
youtaol 4dbc9fe682 Merge heads 2012-07-25 18:16:01 +08:00
youtaol 0e8f926769 Fix an error when run testSplitSetting in French. Update the Robotium to latest version. 2012-07-25 18:14:58 +08:00
youtaol 38f317fb35 Add test cases for MyTracksProvider. 2012-07-24 20:00:19 +08:00
youtaol cb8744999b Merge heads 2012-07-24 18:03:09 +08:00
youtaol 737045bdde Add unit test cases about MyTracksProviderUtilsImpl. Change some code style of MyTracksProviderUtilsImplTest. 2012-07-24 18:01:51 +08:00
youtaol 47ba1cbf4b Change some code to make test stable. Add a method in EndToEndTestUtils to hide soft keyboard when input text in edit text. Add method deleteAllTracks() in EndToEndTestUtils. Add 4 fields for different wait time in EndToEndTestUtils. Change method showMoreMenuItem to showMenuItem in EndToEndTestUtils. 2012-07-23 17:56:54 +08:00
youtaol 9d7fbf4956 Merge heads 2012-07-23 11:44:21 +08:00
youtaol d503a0cf66 Revert EndToEndTestUtils.java to aviod a merge confliction and will be recovered by a following change. 2012-07-23 11:38:52 +08:00
Jimmy Shih 9d7d4382fe Create one TrackDataHub per TrackDetailActivity. 2012-07-20 19:02:55 -07:00
Jimmy Shih c03fda24b0 Change TrackDataHub threading model so all requests are
handled in the handler thread.
2012-07-20 18:45:11 -07:00
youtaol b1116ff90b Add some tests to MyTracksProviderUtilsImplTest. 2012-07-20 17:34:29 +08:00
youtaol 27ffabb62a Merge heads 2012-07-20 17:06:17 +08:00
Jimmy Shih 456f62d1a5 Add transaction around insert, delete, and update calls in
MyTracksProvider.java
2012-07-18 10:33:33 -07:00
Jimmy Shih 83082b9ef8 Update TrackRecordingService to use MyTracksProviderUtils. 2012-07-17 17:50:29 -07:00
Jimmy Shih c1dd6eadad Clean up MyTracksProviderUtilsImpl.
Update MyTracks eclipse style.
2012-07-17 16:13:10 -07:00
youtaol 56663c53a4 Change showMoreMenuItem() to showMenuIten() and make the logic to find menu right and clear. Fix issues when run on emulator 2.3.3. 2012-07-17 14:14:19 +08:00
Jimmy Shih 083eb5c351 Clean up the javadoc for MyTracksProviderUtils.java 2012-07-16 18:53:55 -07:00
Jimmy Shih 465b7a66c6 merge heads 2012-07-16 16:38:46 -07:00
youtaol a64a51bc16 Make some change to make tests can run on OS 2.3.3. 2012-07-13 17:26:09 +08:00
youtaol cee6a5bbd0 Add comment about the method showMoreMenuItem() in EndToEndTestUtils.java. Remove android:icon statement in manifest.xml for it causes a error (This error can be reproduced by run aapt dump badging MyTracksTest.apk in command line) when I try to run it on mobile harness (Test devices lab) and it seems work well after I remove it. 2012-07-13 15:29:03 +08:00
Jimmy Shih fd82a4990a Added tag v2.0 for changeset 137da8501655 2012-07-12 13:24:30 -07:00
youtaol a267708ab5 Change some code style. 2012-07-12 12:59:08 +08:00
youtaol be3422cf59 Merge heads 2012-07-12 11:15:34 +08:00
youtaol 9c807697de Merge heads 2012-07-12 11:15:17 +08:00
Jimmy Shih 73d1a07fc1 Clean up TrackDataManager and TrackDataType. 2012-07-11 15:42:36 -07:00
Jimmy Shih e3229dc933 Clean up DataSource, DataSourceManager, and DataSourceListener. 2012-07-11 10:10:42 -07:00
youtaol 257de5a836 Fix some issues of end2end test on real device. Check the status when the device has no GPS signal in testCreateTrackWithMarkers(). Make 4 static fields in EndToEndTestUtils to define different wait time. 2012-07-11 18:49:49 +08:00
youtaol ba83d84fd5 Make the testSplitSetting() can run in 5 languages. 2012-07-10 19:01:45 +08:00
youtaol f4ac6311b0 Merge heads 2012-07-10 17:20:10 +08:00
youtaol 508730e125 Fix error. 2012-07-10 17:19:49 +08:00
youtaol 9e5bd5e379 Change code style of test GoogleUtils and related code. 2012-07-10 17:16:07 +08:00
youtaol 72c75bdf37 Add test method testFrequencyMenu. 2012-07-10 16:40:50 +08:00
Jimmy Shih 80470ef4f2 Update translations. 2012-07-09 09:57:26 -07:00
youtaol 812ca57d42 Merge heads 2012-07-06 14:41:50 +08:00
youtaol 9a24f12e11 Add test case to check the mark split logic. 2012-07-06 14:41:15 +08:00
youtaol 4cf7c4b32c Provide a way to delete the My Tracks info in the spreadsheet. Remove the method dropMaps() and add a delete flag to searchMapByTitle() method. 2012-07-06 13:50:17 +08:00
youtaol 453dd01928 Add code to drop the maps data, fusion table table of a track after send it Google. Change some code to make end-to-end tests run more stable. 2012-07-05 18:49:58 +08:00
youtaol 72273b7a85 Add a class to check the send result in Google Maps, Docs and Fusion Tables.
Change the code to give an activity to each track.
Change the way to initialize the static fields in EndToEndTestUtils.
2012-07-04 15:32:25 +08:00
youtaol 4dddea507f Merge heads 2012-07-03 20:07:00 +08:00
youtaol ec74968f94 Add a check about the voice frequency menu and split frequency. 2012-07-03 20:04:48 +08:00
Jimmy Shih 733e5fac74 Update strings for version 47. 2012-07-02 16:08:34 -07:00
Jimmy Shih 339764f32b Add Korean TOS. 2012-07-02 14:52:12 -07:00
Jimmy Shih 095750d1e9 Update wording for "New maps public" settings. 2012-07-02 14:23:13 -07:00
Jimmy Shih aab2f7b1c4 Update help content. 2012-07-02 13:53:39 -07:00
youtaol f06476a4f6 Fix a bug of wrong text to be check. 2012-06-29 19:17:47 +08:00
youtaol 27bdc41ce2 Merge heads 2012-06-29 12:22:52 +08:00
youtaol 5b14f98a95 Add French and Arabic support to End-to-end test. 2012-06-29 12:21:31 +08:00
Jimmy Shih f23e0cc740 Fix unit test due to changes in 8daac052f042 2012-06-28 17:51:58 -07:00
Jimmy Shih 2fe3214660 Fix bug so only one map overlap is displayed. 2012-06-28 17:00:32 -07:00
Jimmy Shih 3755e792be Update to version 46. 2012-06-28 14:05:52 -07:00
Jimmy Shih ac0d0da5a3 Update track widget icons. 2012-06-28 12:50:19 -07:00
Jimmy Shih 902db2a10d Update success and failure icons. 2012-06-28 10:31:13 -07:00
Jimmy Shih 220dce74b0 Update 8 menu icons. 2012-06-28 10:20:03 -07:00
Jimmy Shih f48660622c Add track icon for boat, airplane, and snow boarding. 2012-06-28 10:03:50 -07:00
youtaol 44b72e97f8 Merge heads 2012-06-28 18:27:12 +08:00
youtaol 35ef17a2c2 Make the end-to-end test can run on German device. 2012-06-28 18:18:00 +08:00
youtaol 682bd49e7e Change the way to get Accept button to make the test can runs well in Chinese. 2012-06-28 11:23:52 +08:00
Jimmy Shih 78c288ed42 In Docs spreadsheet, add a Fusion Table url column. 2012-06-27 16:18:30 -07:00
Jimmy Shih 568c24317b Clean up track description when sending to Fusion Tables. 2012-06-27 13:20:34 -07:00
Jimmy Shih 52c6aeb4ce Encode spreadsheet title in UTF-8 to support international characters. 2012-06-27 11:20:43 -07:00
Jimmy Shih 18491e3aab When deleting tracks, use a non-UI thread. 2012-06-27 10:42:10 -07:00
youtaol 7f14b26873 Add some checks before next test. 2012-06-27 15:07:46 +08:00
youtaol faddce53be Merge heads 2012-06-27 10:26:22 +08:00
youtaol 7bacdf35fb Change name of two variables in EndToEndTestUtils. Add a comment about language(Chinese) check. 2012-06-27 10:25:59 +08:00
Jimmy Shih 663c96e781 In GpxImporter, support cases when the content is null. 2012-06-26 18:13:41 -07:00
Jimmy Shih 82b83b6e79 Allow exporting and importing an empty track. 2012-06-26 15:58:17 -07:00
Jimmy Shih de20a51537 Do not store show welcome dialog and check unit dialog flags
in the user settings.
These two dialogs should only be shown for a new install.
2012-06-26 12:49:54 -07:00
Jimmy Shih 565a9a334d Fix unit test in SendFusionTablesUtils. 2012-06-26 12:28:59 -07:00
Jimmy Shih bc28f1b2e5 Update track_run icon. 2012-06-26 10:53:13 -07:00
youtaol b5e18ea7c4 Change code to make all end-to-end tests can run in Chinese environment. 2012-06-26 19:00:51 +08:00
youtaol 1c20addf6d Merge heads 2012-06-25 11:08:12 +08:00
youtaol b337da3719 Fix a mistake. 2012-06-25 11:07:45 +08:00
youtaol b7383f34c3 Merge heads 2012-06-25 10:57:29 +08:00
youtaol 7030efb170 Merge heads 2012-06-25 10:41:48 +08:00
Jimmy Shih ab60c6aad6 Update AndroidManifest to version 45. 2012-06-24 17:17:08 -07:00
Jimmy Shih c62e67d516 Update strings.xml 2012-06-24 17:15:18 -07:00
Jimmy Shih 6bbcb3138c Merge heads 2012-06-24 17:02:11 -07:00
Jimmy Shih d016750dbc Suppress Ant lint erros in MyTracksTest. 2012-06-24 17:00:36 -07:00
Jimmy Shih 58829cefb1 Fix AntSensorManger setup sequence. 2012-06-24 16:29:25 -07:00
Jimmy Shih 8e8d6b0438 When generating Fusion Table url, if the track is empty,
use Google's latitude and longitude to generate a valid url.
2012-06-22 17:59:14 -07:00
Jimmy Shih 83121da43b Disable hardware acceleration on map view. 2012-06-22 15:47:34 -07:00
Jimmy Shih 6ea3c5632f Make sure StatsFragment do not crash when switching tabs very quickly. 2012-06-22 15:27:50 -07:00
Jimmy Shih e47906d479 Make sure chartData is not empty before accessing its elements. 2012-06-22 14:27:26 -07:00
Jimmy Shih ba17b37e50 After MapFragment is created, update the menu so
satellite versus map is shown correctly.
2012-06-22 13:08:08 -07:00
Jimmy Shih c885e9d0dd Add a toast warning message when not able to install Google
Earth from the Play store.
2012-06-22 12:41:15 -07:00
Jimmy Shih ec8e8acb27 Show an error message when not able to get account permission
when sending a track to google.
2012-06-22 12:05:28 -07:00
Jimmy Shih c8be5919fd In track edit, move the activity icon next to the activity lable so that
the icon shows on Gingerbread phones.
2012-06-22 11:04:15 -07:00
Jimmy Shih 2146bee57e merge heads 2012-06-21 19:07:31 -07:00
Jimmy Shih 772e0e56a6 Make EditLabel layout_width=full_parent to better
support right-to-left languages.
2012-06-21 19:05:27 -07:00
Jimmy Shih 09f08f04db Allow speed greater than 250km/hr. 2012-06-21 14:45:47 -07:00
Jimmy Shih 6abd71e237 Update welcome message. 2012-06-21 12:34:02 -07:00
Jimmy Shih 9ba2e2bc99 Update My Tracks notification icons. 2012-06-21 10:27:58 -07:00
Jimmy Shih 951c695776 merge heads 2012-06-21 09:51:49 -07:00
Jimmy Shih 5cdd1f034c Add character limits to menu items. 2012-06-21 09:49:37 -07:00
youtaol f746b9b4af Merge heads 2012-06-21 15:12:33 +08:00
youtaol ed96cdd57e Add a test case to test search a track in MyTracks. 2012-06-21 15:11:10 +08:00
youtaol 36e6641980 Merge heads 2012-06-21 12:26:07 +08:00
youtaol 67d24783d8 Add a test case to check send tracks to Google. 2012-06-21 12:24:50 +08:00
youtaol 530a27215c Add a test case to check displaying elevation, grade and latitude and longitude information in Stats tab. And create a method resetAllSettings() in EndToEndTestUtils. 2012-06-21 11:31:30 +08:00
youtaol 40a2b2a524 Merge heads 2012-06-21 10:01:33 +08:00
Jimmy Shih 191fdf88ea Fix text size in choose activity for API level less than 14. 2012-06-20 16:34:33 -07:00
Jimmy Shih d7cd8dfcf5 Change the constant when reporting between m/km, and between ft/mi. 2012-06-20 14:44:38 -07:00
Jimmy Shih 78cd1914b8 merge heads 2012-06-20 14:40:44 -07:00
Jimmy Shih bf9afd4f83 When sharing with Bluetooth, send url only. 2012-06-20 14:39:03 -07:00
Jimmy Shih 033b545d53 Update google maps support url.
Change to "Track color" to make it easier to translate.
2012-06-20 13:56:14 -07:00
Jimmy Shih 70da12c635 Add character limits for items in settings. 2012-06-20 13:33:20 -07:00
youtaol 3e92f94054 Reset all settings before test the default track name in case the setting has been changed. 2012-06-20 15:42:39 +08:00
youtaol 8cd1e35cc1 Merge heads 2012-06-20 11:33:46 +08:00
youtaol b145a6169d Change the string to wait to make test could runs well. 2012-06-20 11:29:33 +08:00
youtaol e0dd00cf0b Merge heads 2012-06-20 10:45:50 +08:00
youtaol 978b6c5a09 Merge heads 2012-06-20 09:45:23 +08:00
Jimmy Shih ba9c8beb2d Update strings in various locales. 2012-06-19 17:38:03 -07:00
Jimmy Shih dc3657322a Revert changeset 3602373730b4. 2012-06-19 17:00:51 -07:00
Jimmy Shih 9bdd0aa6fe Update waiting for GPS message. 2012-06-19 15:48:06 -07:00
Jimmy Shih 76ed9a92b1 Add isGeoCoderPresent in the ApiAdapter.java. 2012-06-19 15:43:12 -07:00
Jimmy Shih 5d2144f698 Refactor AntSensorManager so each ChannelConfiguration is in its
own class.
2012-06-19 15:13:01 -07:00
youtaol f1a3c5dffa Change some code to make the testEditTrack() method can be run in landscape and portrait view on both 2.3.3 and 4.0.3. 2012-06-19 12:31:35 +08:00
youtaol 4789cfb2e5 Change the name of two methods and the add a javadoc. 2012-06-19 10:12:41 +08:00
Jimmy Shih 4bc19666a2 Add Ant+ Bike Cadence and Ant+ Combined Bike Sensor. 2012-06-18 10:01:42 -07:00
youtaol cf7e87997f Change method name of EndToEndTestUtils.isEmulator() to EndToEndTestUtils.setIsEmulator(). And add comment in CreateAndSendTrackTest. 2012-06-18 11:39:25 +08:00
youtaol 3561c12b6c Change code style of SettingTest. 2012-06-18 11:36:47 +08:00
Jimmy Shih d6de2914ee Update to version 44. 2012-06-15 10:44:22 -07:00
Jimmy Shih 4f42a713f2 Update strings from translation. 2012-06-15 10:27:31 -07:00
Jimmy Shih 333f533d6c Update icons for Google Maps, Fusion Tables, and Docs. 2012-06-15 09:40:06 -07:00
Jimmy Shih 5cc9b7bfcb Enable hardware acceleration. 2012-06-14 17:23:53 -07:00
Jimmy Shih 7d5ec3b043 Clean up WaypointsColumns.java. 2012-06-14 15:54:52 -07:00
youtaol 155e5bcc7f Change some code to make test can be run on real devices. (1) Do not fix geo data to a real device. (2) Sending go back event after input edit string when run on real devices for a soft keyboard is shown. (3) Add isEmulator() method in EndToEndTestUtils. 2012-06-14 19:08:52 +08:00
Jimmy Shih 984521b034 Move Track Points table constants to TrackPointsColumns.java. 2012-06-13 17:50:53 -07:00
Jimmy Shih 729c002e8e Change track icon based on activity type. 2012-06-13 16:57:56 -07:00
Jimmy Shih 68dabec4a6 Add an icon column in track table. 2012-06-13 14:52:42 -07:00
Jimmy Shih b4fee2de94 Add a category icon in Track.java and TracksColumns.java.
Clean up Track.java and TracksColumns.java.
2012-06-13 12:49:28 -07:00
youtaol 4bdf8ab3bd Merge heads 2012-06-13 09:50:40 +08:00
youtaol 6b5f230b17 Remove @SuppressWarnings("deprecation") and keep a warning in UploadResultActivity. 2012-06-13 09:49:48 +08:00
Jimmy Shih 359d53ecb2 Change search hint to just "Search". 2012-06-12 17:18:41 -07:00
Jimmy Shih cba40a6688 Use one scrollbar for confirm sharing dialog. 2012-06-12 14:51:42 -07:00
Jimmy Shih 831a12303a Update text in "Send to Google" dialog. 2012-06-12 13:36:21 -07:00
Jimmy Shih 82bf454c79 Add an interstitial when sharing a track with friends. 2012-06-12 12:44:07 -07:00
youtaol 21bd5ecc62 Add test case to verify change the stat setting during track recording. 2012-06-12 20:18:58 +08:00
youtaol 2909d8a9c3 Change code style of SettingTest.testChangePreferredUnits. 2012-06-12 11:23:51 +08:00
youtaol d9f951230f Change code style of UploadResultActivityTest. 2012-06-12 10:33:18 +08:00
Jimmy Shih 19c50a8e16 Move "Switch Account" to the top level settings. 2012-06-11 15:40:28 -07:00
Jimmy Shih 0d79893b19 - Change the default value for the "defaultMapPublic" key to false.
Thus the default is creating new unlisted maps.
- Toggle the title of the "defaultMapPublic" setting between
  "Make new maps public" and "Make new maps unlisted".
- Fix bug in TrackNameUtil to check if startTime is -1L.
2012-06-11 14:55:15 -07:00
youtaol 27aa9d6471 Add a test case to test change the setting of Preferred Units. 2012-06-11 20:40:59 +08:00
youtaol 56475a943f Merge heads 2012-06-11 10:34:48 +08:00
youtaol 4bf87acb80 Change code style. 2012-06-11 10:34:23 +08:00
youtaol 20641c694f Fix the run time error in UploadResultActivityTest and add some assertions. Remove a sysout statement in CreateAndSendTrackTest. 2012-06-08 11:55:28 +08:00
Jimmy Shih daa85ff675 Remove android market strings 2012-06-07 17:51:38 -07:00
Jimmy Shih 60f81b14ed Update sensor reset titles 2012-06-07 16:56:55 -07:00
Jimmy Shih 775e67815f Update manifest for version 43. 2012-06-07 15:54:24 -07:00
Jimmy Shih 7e2cd35358 merge heads 2012-06-07 15:45:50 -07:00
Jimmy Shih e2f9e31994 Update My Tracks icons. 2012-06-07 15:44:42 -07:00
Jimmy Shih 2ef56797a5 Add track location as an option for the default track name 2012-06-07 15:42:23 -07:00
Jimmy Shih effaf8cd7b merge heads 2012-06-05 17:40:49 -07:00
Jimmy Shih 3109abb5d2 Update Google Analytics. 2012-06-05 17:39:32 -07:00
Jimmy Shih dd2b42d6eb merge heads 2012-06-05 11:10:04 -07:00
Jimmy Shih 2aa72f4230 Use TaskStackBuilder to support cross tasks navigation. 2012-06-05 11:03:34 -07:00
Jimmy Shih 54eaa620a8 Disable on-chip buffering on Ant+. 2012-06-05 09:44:06 -07:00
youtaol 04cc524bbb Merge heads 2012-06-05 16:51:53 +08:00
Jimmy Shih c1c5381950 Update icons. 2012-06-04 16:04:12 -07:00
Jimmy Shih 8a6323cf56 Update strings in other locales.
Remove one unused color.
2012-06-04 14:20:26 -07:00
Jimmy Shih e517201ed0 Update EN strings. 2012-06-04 13:42:04 -07:00
youtaol 953bd8b908 Merge heads 2012-06-04 13:20:38 +08:00
Jimmy Shih 0bd15916ac merge heads 2012-06-02 14:28:51 -07:00
Jimmy Shih 621a33a516 merge heads 2012-06-02 14:25:05 -07:00
Jimmy Shih 25c2cf66c2 Clean up Track Widget.
- adjust margins
- display speed or pace
- display total time or total moving time
- use km intead of m when distance is greater than 1 km
- use mi instead ft when distance is greater than 1 mi
2012-06-02 14:24:14 -07:00
Jimmy Shih c890755411 Add transparent background to record image button on the empty
track list view.
2012-06-02 10:53:46 -07:00
Jimmy Shih 79d0f6852d Improve AntSensorManager.
Reduce checking sensor connection timer period to 20 seconds.
2012-06-02 10:44:42 -07:00
youtaol cad1a105ca Merge heads 2012-06-01 14:35:03 +08:00
Jimmy Shih d9ba8b6f58 Remove drawable menu_delete_all and menu_save_all 2012-05-31 18:36:04 -07:00
Jimmy Shih 8dd10776f4 Use antlib.jar to connect to ANT+ sensor. 2012-05-31 18:11:22 -07:00
youtaol ad01b379c7 Merge heads 2012-05-30 09:49:31 +08:00
youtaol d98617b23c Change code style. 2012-05-30 09:39:42 +08:00
Jimmy Shih d42e92a868 Clean up BluetoothSensorManager. 2012-05-29 16:30:32 -07:00
Jimmy Shih 62a716cfc7 Clean up BluetoothConnectionManager. 2012-05-29 15:22:48 -07:00
Jimmy Shih ba469a7be3 Fix drawing titles in ChartView. 2012-05-29 12:31:12 -07:00
Jimmy Shih ac55add2b9 Add BluetoothSensorManager toast message in strings.xml. 2012-05-29 10:53:35 -07:00
Jimmy Shih 9e5d9d23de Clean up SensorManagerFactory.
- not using reference count.
- make sure SensorStateActivity will not
  disconnect a connection used by TrackRecordingService
2012-05-29 10:36:28 -07:00
Jimmy Shih d4db27b092 Clean up SensorManager code.
check for sensor channel when the sensor state is NONE.
2012-05-26 13:33:23 -07:00
Jimmy Shih d4b985cf5b Reorder the items in Sensor State. 2012-05-26 12:20:11 -07:00
Jimmy Shih a679d96f93 Cleanup ChartView.
- remove clearPaint
- show two series when no data
2012-05-26 11:52:39 -07:00
Jimmy Shih b5c0a005c3 When ChartView is empty, always show the elevation series meta data. 2012-05-25 18:28:13 -07:00
Jimmy Shih 9dadade230 When sending to fusion tables, use different type for
waypoint and statistics markers.
2012-05-25 17:45:11 -07:00
Jimmy Shih 81805f00d8 Improve chartview layout. 2012-05-25 17:28:50 -07:00
Jimmy Shih e6abe73404 finish the current activity when overriding onHomeSelected. 2012-05-24 12:24:33 -07:00
Jimmy Shih 199455de46 should have been part of 0354eb686f69 2012-05-24 12:14:11 -07:00
Jimmy Shih 0460425d43 Clean up ChartValueSeries.
- include metric and imperial title id
- include both speed and pace series
2012-05-24 12:11:32 -07:00
Jimmy Shih ffbbead396 merge heads 2012-05-24 09:29:16 -07:00
Jimmy Shih 57da176c98 Improve ChartValueSeries 2012-05-18 14:49:49 -07:00
Jimmy Shih 75ef964d66 update manifest to version 41 2012-05-18 14:23:10 -07:00
youtaol 0bd1d83fca Add a check when there is no track to export. 2012-05-18 16:06:18 +08:00
youtaol fb4f6bb91e Merge heads 2012-05-18 10:32:51 +08:00
Jimmy Shih a1b361b2ff Fix issue 919. Return correct error message when there is no track. 2012-05-17 11:25:54 -07:00
youtaol 2be5a6732a Change some resource Id. Add method createTrackIfEmpty to make the code simpler. 2012-05-17 19:45:47 +08:00
youtaol 164ba7a16b Merge heads 2012-05-17 10:42:09 +08:00
Jimmy Shih 3269af0add Translate EULA copyright year. 2012-05-16 18:03:57 -07:00
Jimmy Shih c2fd6b8794 Add a hint when the default activity type is empty. 2012-05-16 17:14:09 -07:00
Jimmy Shih af35d45ba7 Check track is not null after getting a track from track id. 2012-05-16 15:11:18 -07:00
Jimmy Shih 0b08e53de2 Clean up all usages of String.format to support i18n. 2012-05-16 14:38:17 -07:00
Jimmy Shih d7836cce47 Clean up api to configure contextual action mode. 2012-05-16 14:14:08 -07:00
Jimmy Shih bb81fd0542 Use a DialogFragment for ChooseUploadService. 2012-05-16 12:47:43 -07:00
Jimmy Shih 83c3223668 Fix unit tests. 2012-05-16 11:02:12 -07:00
Jimmy Shih 17c495bc97 Add track description when sharing a url or a file with friends. 2012-05-16 10:17:31 -07:00
youtaol 2fe97f55dd Add a judge about the three dots menu item. Add tests about the relative start time and delete a track during recording. 2012-05-16 17:48:29 +08:00
Jimmy Shih 7fe7ace504 After saving a track to the SD card, add a button to share the saved file. 2012-05-15 17:54:40 -07:00
Jimmy Shih cabe966d27 Merge SaveAllActivity to SaveActivity. 2012-05-15 17:25:04 -07:00
Jimmy Shih 3d3af298af merge heads 2012-05-15 12:22:48 -07:00
Jimmy Shih afa2c9875e Modify the sharing flow to first show a list of applications.
Store preferred account as a sharing setting.
Remove share url only option. Apply share url only if twitter is selected.
2012-05-15 12:21:14 -07:00
youtaol 37bfefaa3d Merge heads 2012-05-15 16:58:38 +08:00
Jimmy Shih 3937400ef6 Update android menifest for vesionCode 40. 2012-05-14 09:48:16 -07:00
Jimmy Shih af11dac5e0 Fix bug that the account chooser dialog is temporary shown again
after choosing an account and granting permission.
2012-05-11 16:09:59 -07:00
Jimmy Shih f0beca8606 rename statistics markers to split markers
rename waypoint to marker
place my location button below the warning message.
2012-05-11 15:35:45 -07:00
Jimmy Shih 1fef0144b3 Move voice frequency and split frequency to menu items. 2012-05-11 15:04:08 -07:00
youtaol f1573a550a Change the code to check whether it is necessary to create a track for each test, and make the test run faster. 2012-05-11 16:28:21 +08:00
Jimmy Shih 2085e82312 In marker detail page, add a label "Since last Statistics Marker".
In the marker detail page, on resume, update the waypoint
in case it is returning from marker edit page.
2012-05-10 18:57:41 -07:00
Jimmy Shih b0207e5cd7 Requires GPS location to insert a marker except for
the track statistics marker.
2012-05-10 18:02:07 -07:00
Jimmy Shih f2ef8c7b08 Allow users to insert only waypoint markers. 2012-05-10 17:23:29 -07:00
Jimmy Shih b7b55d933f Support deleting the track currently being recorded. 2012-05-10 10:35:51 -07:00
youtaol 5f017ab96c Merge heads 2012-05-10 11:06:54 +08:00
Jimmy Shih dc9346c067 Add relative date time for start time within the past week.
Place the list item on the right by itself.
2012-05-09 18:26:08 -07:00
Jimmy Shih 373f8cc7e7 merge heads 2012-05-09 13:12:16 -07:00
Jimmy Shih 6bcbc55212 Set the title in TrackDetailActivity.
Fix a bug when recording, the TrackDetailActivity is not
displaying the correct menu items.
2012-05-09 13:09:47 -07:00
Jimmy Shih e3475124a7 Clean up SensorStateActivity.
Hide "Sensor state" menu when no sensor is selected.
2012-05-09 10:37:44 -07:00
youtaol 7b14315cbe Merge heads 2012-05-09 12:20:53 +08:00
youtaol b6fdf4e6e4 Add backup test case, change some code style. 2012-05-09 12:12:15 +08:00
youtaol d18f334b02 Merge heads 2012-05-09 11:07:36 +08:00
youtaol 92dce8515c Merge heads 2012-05-09 11:01:22 +08:00
Jimmy Shih 4686194541 Move the satellite mode menu option to MapFragment. 2012-05-08 16:44:07 -07:00
Jimmy Shih 68487329d1 Clean up remaining preference keys. 2012-05-08 14:45:28 -07:00
Jimmy Shih 1de9fe67a3 Move chart settings to ChartSettingsActivity. 2012-05-08 11:45:46 -07:00
Jimmy Shih 7d09348abc Clean up the root level settings. 2012-05-08 09:27:45 -07:00
Jimmy Shih 26a44dfd9a Place map settings in MapSettingsActivity. 2012-05-08 09:11:08 -07:00
Jimmy Shih 3461a50288 Move Stats settings to StatsSettingsActivity. 2012-05-07 13:38:17 -07:00
Jimmy Shih 77903ed2c9 Place sensor settings in SensorSettingsActivity. 2012-05-04 17:48:33 -07:00
Jimmy Shih 3008b335a7 Move recording settings to RecordingSettingsActivity. 2012-05-04 13:10:51 -07:00
youtaol fd90dcffa6 Merge heads 2012-05-04 17:04:45 +08:00
youtaol a12f4bcbe8 Changes smoke test to end-to-end test cases. 2012-05-04 17:00:20 +08:00
Jimmy Shih f8460fb76f Place backup settings in BackupSettingsActivity. 2012-05-03 12:38:19 -07:00
Jimmy Shih 92821be777 Place sharing settings in ShareSettingsActivity to support
ICS up navigation in the action bar.
2012-05-03 10:56:37 -07:00
youtaol 6c91db9405 Change code style of ControlRecordingServiceTest. 2012-05-03 12:04:51 +08:00
youtaol c3c0ab7947 Add a comment about a assertion. 2012-05-03 11:27:19 +08:00
Jimmy Shih 234f1f4a0a Inline methods in PreferencesUtils.
Donot want to have a pair of getter and setting for each preference.
2012-05-02 12:23:32 -07:00
youtaol 94c11face5 Change code style of AdaptiveLocationListenerPolicyTest. 2012-05-02 10:39:38 +08:00
Jimmy Shih 81281e560e Fix lint errors.
- MenuItem.collapseActionView is only availble for API level >=14.
- Rename the dialog variable in UploadResultActivity so it doesn't
  conflict with the dialog variable in the callback.
2012-05-01 18:44:05 -07:00
Jimmy Shih f8cacb01c9 merge heads 2012-05-01 18:09:53 -07:00
Jimmy Shih 66ba54ffa0 merge heads 2012-05-01 18:05:53 -07:00
Jimmy Shih 52253afd3a merge heads 2012-05-01 18:01:55 -07:00
Jimmy Shih 07f6cf55b6 merge heads 2012-05-01 18:00:32 -07:00
Jimmy Shih 8ac7330c9d Minor UI improvements.
- close contextual menu after an item is selected
- collapse the search widget after a search request is sent
- show keyboard by default for the editors
- in the search list, if edit or delete is selected in the contextual
  menu, close the search list since its content will get changed.
- enable QueryRefinement in search widget
- do not call super.onNewIntent
- update search.xml to include imeOptions, queryAfterZeroResults, and
  set searchSuggestionThreshold to 1.
2012-05-01 14:56:49 -07:00
Jimmy Shih 5ed3968771 Use a location image button on the map view to show current location. 2012-04-30 15:56:07 -07:00
Jimmy Shih 39a3fb6132 Add stats settings to configure the stats page. 2012-04-30 11:22:13 -07:00
youtaol 4a338da44c Change some code style of end-to-end test cases. 2012-04-28 18:19:40 +08:00
youtaol bf9280b1e3 Add test case for ControlRecordingService. 2012-04-28 18:09:37 +08:00
youtaol 85095b5e59 Add test case for AdaptiveLocationListenerPolicy. 2012-04-28 11:09:22 +08:00
Jimmy Shih 20eec8d30a - Fix flag in My Tracks notification to update the previous notification.
- move chart settings above settings
- remove My Tracks Importer, thus just using My Tracks
- rename to Save all to SD card...
- rename to Import from SD card
2012-04-27 13:24:00 -07:00
Jimmy Shih 1a23ba673c - use a dialog to insert markers with an option to open full insert screen
- remember the last chosen marker type
- auto increment the default marker name
- fix IME option when toggling between marker type
- add more spacing between items in the editor
- rename WaypointType to WAYPOINT and STATISTICS
- rename to ListItemUtils
- remove unused appwidget_text color
2012-04-27 09:48:01 -07:00
Jimmy Shih 2ec090354b Clean up icon names. 2012-04-26 11:13:14 -07:00
youtaol 6848a7a475 Merge heads 2012-04-26 18:59:06 +08:00
youtaol 420cb0f49b Change some code style of smoke test case. Add some checks in some tests when the screen is rotated. 2012-04-26 18:51:09 +08:00
Jimmy Shih 4018237691 In TrackListView, only update the list when certain keys are changed. 2012-04-25 18:13:30 -07:00
Jimmy Shih 2b6309f7c1 Improve the startup sequence.
- new welcome dialog message.
- new check units text.
- for US and UK, default to imperial.
- for fragments, fix handling of onCancel. No need
  to handle onCancel at the dialog level.
2012-04-25 17:30:56 -07:00
Jimmy Shih 1e4a6c04c2 Rename "Share with friends..." to "Share". 2012-04-25 10:16:51 -07:00
youtaol e4481ca3e6 Change code style, remove useless method of MyTracksSmokeTest 2012-04-25 15:20:41 +08:00
Jimmy Shih 5a32550f85 merge heads 2012-04-24 09:55:17 -07:00
youtaol b9a9cc6cd9 An end-to-end test case of MyTracks. 2012-04-24 19:38:32 +08:00
youtaol 920f8e4180 Change the way to generate the SQL statement to fix http://code.google.com/p/mytracks/issues/detail?id=907. 2012-04-24 19:25:45 +08:00
Jimmy Shih e998ac07e1 fix comment on 57e157793bd1 2012-04-23 19:09:23 -07:00
Jimmy Shih c4bcdc56c8 fix comment for 871dbae587aa 2012-04-23 19:06:11 -07:00
Jimmy Shih 82a338bd13 fix comment for 5b638c36df7f 2012-04-23 18:35:01 -07:00
Jimmy Shih 33118568bc A few fixes.
- use fill_parent since we are still supporting api level 7.
- on the TrackListActivity, hide the empty view content
  until the check unit dialog has been showned.
- fix the ChartView height. ChartView is no longer displayed
  on the full canvas. The new design has a tab bar and a
  zoom control.
- In TrackDetailActivity, only call methods of a tab fragment
  if it is the current tab.
2012-04-23 17:49:23 -07:00
Jimmy Shih 2ea4b09dcc Several minor fixes
- for TrackEdit and MarkerEdit, use windowSoftInputMode=stateHidden
- improve layout for the map in MapFragment.
- fix text size for API level < 14.
- fix bug when inserting a statistics marker with a modified name
2012-04-23 14:57:39 -07:00
Jimmy Shih 8f801b1bdb Add AbstractMyTracksActivity as the base class for
all My Tracks activities.
2012-04-23 12:42:29 -07:00
Jimmy Shih 1483f19f10 Clean up activities' manifest. 2012-04-23 10:41:29 -07:00
Jimmy Shih 7fd3f0e8d9 Update menu icons.
Update tab icons.
Place tab tag in the appropriate fragment.
2012-04-23 10:07:08 -07:00
Jimmy Shih 7701d31bdc Clean up all the layouts.
Utilize styles when possible.
2012-04-20 17:46:48 -07:00
Jimmy Shih eb3e7e0b86 merge heads 2012-04-20 12:51:48 -07:00
Jimmy Shih aaef92b139 Use stats_core.xml layout for
- AggregatedStatsActivity
- StatsFragment
- MarkerDetailActivity
Remove StatsUtilities. Use StatsUtils to set all stats labels and values.
2012-04-20 12:50:22 -07:00
Jimmy Shih 6838897353 Add a method to add all items to an array adapter.
ArrayAdapter.addAll is only avaiable to API >= 11.
2012-04-19 16:51:15 -07:00
Jimmy Shih 8f7c44d1e7 merge heads 2012-04-19 13:12:41 -07:00
Jimmy Shih e314f968b8 merge heads 2012-04-19 11:29:28 -07:00
Jimmy Shih 1676f19830 Create an IntentUtils.newIntent utility method to create an intent
with FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_NEW_TASK.
2012-04-19 11:24:40 -07:00
Jimmy Shih 352137c440 fix comment for 3e985a497047 2012-04-19 10:40:10 -07:00
Jimmy Shih c8deb63de9 Use the same list item layout for TrackList, MarkerList, and SearchList.
Use the same contextual menu for TrackList, MarkerList, and SearchList.
2012-04-18 12:53:12 -07:00
Jimmy Shih 172aed44ab fix merge conflict 2012-04-17 12:30:56 -07:00
Jimmy Shih 09a6a0a604 sync from main 2012-04-17 12:27:12 -07:00
Jimmy Shih 89b16e48e9 Add MarkerEditActivity, MarkerListActivity, MarkerDetailActivity. 2012-04-17 12:25:54 -07:00
Jimmy Shih 45855c794c merge heads 2012-04-17 10:10:50 -07:00
Jimmy Shih d402c5555c fix comment for 3fe71196df15 2012-04-17 09:45:59 -07:00
Jimmy Shih fef4d6bc23 merge heads 2012-04-17 09:39:20 -07:00
Jimmy Shih dc7fb591be merge heads 2012-04-16 10:18:33 -07:00
Jimmy Shih f66742ec98 merge heads 2012-04-16 10:12:22 -07:00
Jimmy Shih da6c33617c merge heads 2012-04-16 10:03:42 -07:00
youtaol 4ea5b199b9 Merge heads. 2012-04-13 18:07:04 +08:00
Jimmy Shih 00eee811f4 Add an empty view when the track list is empty. 2012-04-12 16:48:59 -07:00
Jimmy Shih e3f13dd633 In contextual action mode, add the track name as the action mode title. 2012-04-12 15:43:50 -07:00
Jimmy Shih 178b1be990 Rename ServiceUtils.java to TrackRecordingSeriviceConnectionUtils.
Move common code between TrackListActivity and TrackDetailActivity
for dealing with TrackRecordingServiceConnection in the utility class.
2012-04-12 15:17:46 -07:00
Jimmy Shih 2aa4cdc442 Add PreferencesUtils to access
- recording track id
- selected track id
2012-04-12 14:26:18 -07:00
Jimmy Shih 53c5ebbef9 merge heads 2012-04-12 13:25:33 -07:00
Jimmy Shih c98b10c548 merge heads 2012-04-12 13:25:12 -07:00
Jimmy Shih 08e460d208 Fix unit tests to run in any timezone. 2012-04-12 13:14:35 -07:00
Jimmy Shih 06322dcfdc fix comment 5e46fdb4a91d 2012-04-12 12:55:39 -07:00
Jimmy Shih d045b0440f fix unit tests in TrackRecordingServiceTest 2012-04-12 12:50:03 -07:00
Jimmy Shih 2fd3816edf Fix unit tests
- update string in CsvTrackWriter, CsvTrackWriterTest, and DescriptionGeneratorImplTest
- with Solo, UploadResultActivity can run by itself, but cannot run as
  part of the unit test. Modify the test to not use Solo.
- remove ANT+ tests in SensorManagerFactoryTest and replace them with
  bluetooth tests since most of the phones do not have ANT+.
- remove TrackDetailActivityTest since we are no longer using it to
  start the app. Will replace this with end-to-end smoke tests.
2012-04-11 17:02:21 -07:00
Jimmy Shih 28f3565bae sync from main 2012-04-11 10:29:52 -07:00
Jimmy Shih e82c3f15d2 should have been part of 5e46fdb4a91d 2012-04-11 10:25:07 -07:00
Jimmy Shih 4b36671041 merge heads 2012-04-11 10:18:12 -07:00
Jimmy Shih 3a6e6fc980 merge heads 2012-04-11 10:13:01 -07:00
Jimmy Shih a3e69df3ff merge heads 2012-04-11 10:11:53 -07:00
Jimmy Shih 0cd11c799d merge heads 2012-04-11 10:01:41 -07:00
Jimmy Shih 9063267db1 Add contextual menu.
API < 11, use floating context menu.
API >=11, use contextual action mode.
2012-04-10 19:59:36 -07:00
Jimmy Shih df23d20d32 should have been part of 90f307ee08cd 2012-04-10 12:57:31 -07:00
Jimmy Shih 3b889753db In TrackList, start the TrackDetail view when recording. 2012-04-10 12:53:59 -07:00
Jimmy Shih 400051d342 Move dialogs in TrackDetail to fragments.
Move all fragments to com.google.android.apps.mytracks.fragments
package.
2012-04-10 12:44:40 -07:00
Jimmy Shih 2fbdb9bfef merge heads 2012-04-10 10:31:02 -07:00
Jimmy Shih 87a0ce47b9 vertically align content in track_list_item.xml 2012-04-10 10:28:39 -07:00
Jimmy Shih a1993ab39e merge heads 2012-04-10 10:17:57 -07:00
Jimmy Shih 648015fe4c merge heads 2012-04-10 10:16:49 -07:00
Jimmy Shih 3d9536420c merge heads 2012-04-10 10:03:30 -07:00
Jimmy Shih d5389e8c3e fix comment on 5ca17d67ad5c 2012-04-10 09:57:58 -07:00
youtaol e5d86a708e Change the code style of DynamicSpeedTrackPathPainterTest and SingleColorTrackPathPainterTest, and make the code easier to read. 2012-04-10 17:54:49 +08:00
Jimmy Shih eae078b710 Fix bug with setHomeButtonEnabled,
it is only defined for api 14 or higher.
2012-04-09 16:46:08 -07:00
Jimmy Shih 119c24f6e6 Add delete and edit menu icons. 2012-04-09 16:43:08 -07:00
Jimmy Shih 7b800914f6 merge heads 2012-04-09 14:07:57 -07:00
Jimmy Shih 97f4103e67 merge heads 2012-04-09 14:07:04 -07:00
Jimmy Shih 99706edf70 Update TrackEditActivity to ICS. 2012-04-09 14:03:42 -07:00
Jimmy Shih 00974d97a7 Place all Google Earth constants in SaveActivity and prefix them with
GOOGLE_EARTH.
2012-04-09 10:19:07 -07:00
Jimmy Shih adfa66505e Use a dialog for the welcome page. Thus the startup sequence
consists of three dialogs.
Rename to HelpActivity.
Fix activity button styles.
Reuse EulaDialogFragment when invoked from the AboutDialogFragment.
Only hide the title bar on the TrackDetailPage.
2012-04-07 15:52:28 -07:00
Jimmy Shih 54bfe5d4b4 merge heads 2012-04-07 10:13:16 -07:00
Jimmy Shih fedcd33b0b merge heads 2012-04-07 09:56:56 -07:00
Jimmy Shih cd129e1f46 sync from main 2012-04-07 09:32:13 -07:00
Jimmy Shih 86c736dd17 merge heads 2012-04-06 18:25:57 -07:00
Jimmy Shih 5321878dd2 merge heads 2012-04-06 15:33:09 -07:00
Jimmy Shih e149683da7 fix merge error 2012-04-06 15:27:18 -07:00
Jimmy Shih c97ae1e87f merge heads 2012-04-06 15:16:01 -07:00
Jimmy Shih 0ed45e40c6 Move each fragment to its own class. 2012-04-06 15:09:47 -07:00
Jimmy Shih 70124b8465 merge heads 2012-04-06 12:59:38 -07:00
Jimmy Shih 6c7131f2a8 merge heads 2012-04-06 10:55:58 -07:00
Jimmy Shih f5085b208d merge heads 2012-04-06 10:54:22 -07:00
Jimmy Shih cbd52459bd Remove screenshot from the translation_description.
Will not require retranslation.
2012-04-06 10:50:58 -07:00
youtaol 28750142a9 Change the code style of SingleColorTrackPathPainterTest and DynamicSpeedTrackPathPainterTest. 2012-04-06 16:27:13 +08:00
Jimmy Shih 9e224d13ad Fix crashes when trackDataHub is null 2012-04-05 17:50:54 -07:00
Jimmy Shih 5082936ad1 sync from main 2012-04-05 17:06:43 -07:00
Jimmy Shih 32e8044b0b - add TabManager (based on the Fragment Tabs example in
API 4+ Support Demos)
- move to MapFragment, ChartFragment, and StatsFragment
- use android-support-v4-r7-googlemaps.jar to support a map view
  in a fragment.
2012-04-05 16:55:22 -07:00
Jimmy Shih 0314e28766 merge heads 2012-04-05 10:04:05 -07:00
Jimmy Shih ee92cbf92c merge heads 2012-04-05 09:58:19 -07:00
Jimmy Shih d84c4de0d7 fix comment for 3a507cd408b9 2012-04-05 09:55:46 -07:00
Jimmy Shih 8b4c05ead3 fix comment for 7638122cd587 2012-04-05 09:26:23 -07:00
Jimmy Shih a30e19e365 merge heads 2012-04-05 09:06:59 -07:00
youtaol 97227ca26e Merge heads 2012-04-05 14:33:48 +08:00
youtaol 68f50ef6de Change the code style of DynamicSpeedTrackPathPainterTest,SingleColorTrackPathPainterTest, SingleColorTrackPathPainter and TrackPathPainterTestCase. 2012-04-05 14:25:30 +08:00
Jimmy Shih ab8d159791 fix comments for e16572c749ba 2012-04-04 18:12:30 -07:00
Jimmy Shih 883eccb2d0 fix comments for 267c37ed0691 2012-04-04 17:42:25 -07:00
Jimmy Shih c5fa717d55 merge heads 2012-04-04 16:54:29 -07:00
Jimmy Shih 1c0ce45937 merge heads 2012-04-04 16:49:55 -07:00
Jimmy Shih aab0f63201 merge heads 2012-04-04 16:44:06 -07:00
Jimmy Shih d76eb44257 merge heads 2012-04-04 16:40:41 -07:00
Jimmy Shih 336abcce82 merge heads 2012-04-04 14:45:05 -07:00
Jimmy Shih afa2dd2c0e merge heads 2012-04-04 14:44:01 -07:00
Jimmy Shih c26e0ecbef merge heads 2012-04-04 14:29:09 -07:00
Jimmy Shih c795c8e482 fix comment for 5c3c3227ff36 2012-04-04 14:26:15 -07:00
Jimmy Shih 12f17e6f49 merge heads 2012-04-03 13:02:35 -07:00
Jimmy Shih 79fde1c118 Rename to fastest pace. 2012-04-03 10:18:16 -07:00
Jimmy Shih 29bd7889b7 merge heads 2012-04-03 09:58:22 -07:00
Jimmy Shih a34c17a461 Add a hack to enable building a release candidate.
With proguard "-optimizationpasses 5", not able to
obfuscate the CursorLoader. A known issue.

Remove
- AndoridMockRuntime.jar
- googleloginclient-helper.jar
AndoridMockRuntime.jar was included twice, preventing unit tests
from running.

Clean up classpath to not include jar files in the lib directory.
Else the jar files will get included twice.

Move jar files in MyTracks/lib/google-api-client/ to MyTracks/lib
so that proguard can pick up the jar files.

Clean up proguard.cfg into three sections.
- update the config from the default project
- update the config from the Google APIs client library
- remove unnecessary My Tracks specific "-dontwarn"
2012-04-02 18:45:17 -07:00
Jimmy Shih 840576055f merge heads 2012-04-02 15:17:25 -07:00
Jimmy Shih 9575401127 merge heads 2012-04-02 14:50:06 -07:00
Jimmy Shih 2d05ff98ca merge heads 2012-04-02 14:49:12 -07:00
youtaol b3688b043e Add test case for SingleColorTrackPathPainter. Move createCachedLocations method and INVALID_LATITUDE field from DynamicSpeedTrackPathPainterTest to TrackPathPainterTestCase to make them can be invoked by both test cases. 2012-03-31 17:46:11 +08:00
youtaol 004043c3e5 Change some code style. 2012-03-31 10:18:47 +08:00
Jimmy Shih 4b8d4e92b8 merge heads 2012-03-30 15:23:00 -07:00
Jimmy Shih fa18ace9e6 - remove PlayTrackUtils.
- use sub menu for "Export all...".
- prefix menu variables so they are unique.
- prefix intent extra variables with EXTRA.
2012-03-30 15:13:04 -07:00
Jimmy Shih 6869f003e7 - In the action bar, configure the Home button as the Up button.
- When starting an activity, always use FLAG_ACTIVITY_CLEAR_TOP and FLAG_ACTIVITY_NEW_TASK together.
- TrackDetailActivity should handle events for a specific trackId, not
  handling events for the current recording track.
- In TrackListActivity, to support screen rotation, make sure the EULA dialog
  is not shown before creating another one.
- Do not need to bind service in onStart. OnResume will bind the service
  if a recording is happening.
2012-03-30 14:19:29 -07:00
youtaol 314c3a76a6 Add test case for DynamicSpeedTrackPathPainter. 2012-03-30 17:28:09 +08:00
youtaol 7a4b5569f3 Change code style of SendToGoogleUtilsTest. 2012-03-30 11:18:56 +08:00
youtaol c9ccae4ac7 Add test case for UploadResultActivity. 2012-03-30 11:04:20 +08:00
Jimmy Shih 9ff1af221b Move the track context menu to the main menu.
Use sharedPreferenceChangeListener to listen when
a new recording has started to update the view like the action items.
2012-03-29 18:02:28 -07:00
youtaol eae2b63586 change some code style of SendToGoogleUtilsTest. 2012-03-29 15:14:37 +08:00
Jimmy Shih 246b13da4b Remove MenuManager.java. 2012-03-28 16:49:57 -07:00
Jimmy Shih 16f3217364 Set TrackListActivity as the main activity.
Move all startup dialogs to TrackListActivity.
Move one-time application config to MyTracksApplication
2012-03-28 15:28:38 -07:00
Jimmy Shih 9500169719 Rename menu to track_detail.xml 2012-03-27 17:34:37 -07:00
Jimmy Shih 3ef085fbc7 Rename MyTracks.java to TrackDetailActivity.java 2012-03-27 17:13:16 -07:00
Jimmy Shih 0091755c70 rename TrackDetail to TrackEditActivity 2012-03-27 16:41:14 -07:00
Jimmy Shih 6afa67acad Add compatibility library.
Have TrackListActivity extends FragmentActivity
Use Loader to load cursor.
Use DialogFragment to display dialogs.
2012-03-27 13:42:45 -07:00
Jimmy Shih 30b0348655 Add support for search widget.
For API level >= 11, use the search widget.
For API level < 11, use the search dialog.

For API level >=14, the search button will expand the search widget.
For API level < 14, the search button will invoke the search dialog.
2012-03-26 19:02:42 -07:00
Jimmy Shih 5da0afc509 Modify TrackListActivity according to ICS design. 2012-03-26 16:38:54 -07:00
Jimmy Shih d0bec34ec4 Add action item icons for
- record_track
- stop_recording
- search
- settings
- help

Note that the record_track icon is a temporary placeholder until the
actual icon is available.

Change AndroidManifest so that splitActionBarWhenNarrow is
not applied to all activities in the application.

Rename menu strings so they are more consistent.
2012-03-26 09:59:27 -07:00
Jimmy Shih fe6ec32d8e remove trailing whitespaces in strings.xml 2012-03-23 17:02:43 -07:00
Jimmy Shih c36a494952 merge heads 2012-03-23 16:26:39 -07:00
Jimmy Shih c1351a1994 merge heads 2012-03-23 16:20:35 -07:00
Jimmy Shih 2a74cf6604 fix comments 9bc0a5d1c206 2012-03-23 16:16:54 -07:00
Jimmy Shih a0c766d820 merge heads 2012-03-23 16:09:41 -07:00
Jimmy Shih 5890ddd2d5 merge from main 2012-03-23 14:48:06 -07:00
Jimmy Shih 6101b9899e fix comment for 43b6356d7eff 2012-03-23 14:43:00 -07:00
Jimmy Shih 362d4aff8c fix comment 9bc0a5d1c206 2012-03-23 14:28:11 -07:00
Jimmy Shih ff2fe17b2c fix comment on f87ee43bcbb1 2012-03-23 13:09:22 -07:00
Jimmy Shih 7a203cb608 fix comments for efb2d8ffe652 2012-03-23 13:04:10 -07:00
Jimmy Shih f876b8cab4 merge heads 2012-03-23 12:37:44 -07:00
Jimmy Shih db87201724 fix comments for ad1d456e2a96 2012-03-23 12:35:46 -07:00
Jimmy Shih 5c00d9723d fix comment for e4025681f67b 2012-03-23 12:24:04 -07:00
Jimmy Shih ba035db684 sync from main 2012-03-23 12:19:14 -07:00
Jimmy Shih 6ecde2dc7e fix comment for e4025681f67b 2012-03-23 12:18:52 -07:00
Jimmy Shih 70f592e967 merge heads 2012-03-23 11:08:01 -07:00
Jimmy Shih 8138f7a5d6 merge heads 2012-03-23 10:46:55 -07:00
Jimmy Shih 0489582d7b merge heads 2012-03-23 10:44:06 -07:00
Jimmy Shih b1c6d4ba4a update classpath for ADT 17 2012-03-23 10:43:52 -07:00
youtaol 0f2d77400e Test case for SendToGoogleUtils.java. 2012-03-23 12:34:52 +08:00
Jimmy Shih ce65213d33 merge heads 2012-03-22 17:02:28 -07:00
Jimmy Shih 0bd4461c32 merge heads 2012-03-22 12:12:14 -07:00
Jimmy Shih 3044a1daea merge heads 2012-03-22 12:11:21 -07:00
Rodrigo Damazio d8e00e5902 Updating to ADT 17: using BuildConfig instead of our own isRelease 2012-03-22 02:05:19 -03:00
Jimmy Shih bc9ff8b4b1 Fix several Android lint warnings using ADT 17. 2012-03-21 18:06:20 -07:00
Jimmy Shih d2a245194f Cleanup all remaining dialogs.
- Use DialogUtils to create a spinner or a horizontal progress dialog.
- Update all progress dialog messages.
2012-03-21 16:04:53 -07:00
Jimmy Shih a8002ce13e Update upload result dialog for ICS. 2012-03-21 13:54:59 -07:00
Jimmy Shih 8337cda5b8 merge heads 2012-03-21 13:05:41 -07:00
Jimmy Shih 7119bcc66f merge heads 2012-03-21 13:04:57 -07:00
Jimmy Shih f9e8cfeb75 Update About page and Terms of Service page for ICS. 2012-03-21 12:59:58 -07:00
Jimmy Shih 894d6e1133 Update the chart settings dialog based on ICS style guide. 2012-03-21 11:10:18 -07:00
Jimmy Shih 517026bef3 Modify UploadServiceChooser dialog to ICS style.
- Use AlertDialog title and buttons
- Use @android:style/TextAppearance.DeviceDefault.Medium
- Use 8dp for margin between elements
2012-03-20 18:46:24 -07:00
Jimmy Shih 6e413f41b3 merge heads 2012-03-20 13:31:47 -07:00
Jimmy Shih 19293b063d Clean up FileUtils. Make it static with a private constructor. 2012-03-20 13:27:05 -07:00
Jimmy Shih cd741ab93c Rename ExportAllActivity to ExportActivity
Rename ExportAllAsyncTask to ExportAsyncTask
2012-03-20 12:21:57 -07:00
Jimmy Shih 3dd52ea523 In search_only.xml, the "onClick" attributes specifies the "onSearch" method.
However, the method is not excluded from proguard obfuscation.
Simpler to programmatically define "onOptionsItemSelected".
2012-03-20 12:08:36 -07:00
Jimmy Shih 21ba44d422 sync from main 2012-03-20 11:14:35 -07:00
Jimmy Shih 887c4e3dd1 merge heads 2012-03-20 11:11:26 -07:00
Jimmy Shih 0562165421 merge heads 2012-03-20 11:04:54 -07:00
Jimmy Shih 7b8203bd1d merge heads 2012-03-20 10:57:36 -07:00
Jimmy Shih 2f986bac65 merge heads 2012-03-20 10:50:07 -07:00
Jimmy Shih 0bcdab1958 merge heads 2012-03-20 10:45:03 -07:00
Jimmy Shih b8400cc0bf merge heads 2012-03-20 10:37:14 -07:00
Jimmy Shih 08a17a58ef merge heads 2012-03-20 10:23:19 -07:00
Jimmy Shih 1893c3557d Fix comment for 01e7f3b54cbf 2012-03-20 10:18:55 -07:00
Jimmy Shih 7318884583 Fix Android lint warnings.
- remove unused icons
- move icons from drawable to drawable-mdpi
- favor ICS icons when they are available
2012-03-19 19:04:33 -07:00
Jimmy Shih 1c3dd62d28 With targetSdkVersion=15, can no longer perform UI
operation like closing network connection on
the UI thread.
Thus move operations in onPostExecute to doInBackground.

In SendFusionTablesAsyncTask, close the content after
reading the content.

In MapsGDataConverter, don't write the entire kml file
to the log.
2012-03-19 18:34:00 -07:00
Jimmy Shih 5ae68f0826 Fix comment for 31a5329d6d51
For mytracks_marker_item.xml, use eclipse to format the file to
remove the extra spaces.
2012-03-19 17:35:52 -07:00
Jimmy Shih 236ad9813a Fix Android Lint warnings. 2012-03-19 16:23:14 -07:00
Jimmy Shih 963bbedea5 merge heads 2012-03-19 14:26:13 -07:00
Jimmy Shih e5d41576c9 Support screen rotation for back and restore
from the SD card.
2012-03-19 12:47:59 -07:00
Jimmy Shih cd87395ab0 Support screen rotation when importing tracks.
Use an activity to display the progress dialog
and use an associated AsyncTask to perform the import.
2012-03-17 14:37:54 -07:00
Jimmy Shih da9858d41f merge heads 2012-03-17 11:54:37 -07:00
Jimmy Shih d8a81e00cf Added tag v1.1.16 for changeset fe1ff6ce84fb 2012-03-16 17:35:37 -07:00
Jimmy Shih 4b229decb6 Update privacy url 2012-03-16 17:34:08 -07:00
Jimmy Shih 6445304c1f Fix screen rotation for delete marker confirmation
and check unit.
2012-03-16 15:53:08 -07:00
Jimmy Shih e1a7f3c0b5 Support screen rotation for "Delete All Tracks".
Replace DeleteAllTracks and DeleteTrack with
confirmation dialogs.

Currently, for DeleteTrack, the listener code in
repeated twice in MapActivity and TrackList. But in the
ICS design, DeleteTrack will only be available in
one place.
2012-03-16 14:51:11 -07:00
Jimmy Shih ddd06ea9f6 Improve ExportAllAsyncTask
- if an error occurs, the toast should display the error messageId from
  trackWriter.getErrorMessage() if available
- when user cancels export, onPostExecute is not invoked, thus need to
  release the wake lock in doInBackground
2012-03-16 10:44:08 -07:00
Jimmy Shih 8ee1066b9d Modify ExportAll to use the AsyncTask pattern to
support screen rotations of dialogs.
2012-03-15 19:08:54 -07:00
Jimmy Shih 2877712876 Use the AsyncTask pattern for SaveActivity
to support screen rotation when displaying the
progress dialog.
2012-03-15 15:40:57 -07:00
Jimmy Shih fcbfe9ca1c Fix unit tests breakage. 2012-03-14 16:52:25 -07:00
Jimmy Shih 9dca626560 Update strings for release 1.1.16. 2012-03-14 15:45:12 -07:00
Jimmy Shih 8e62ff239c fix eclipse warnings 2012-03-14 15:37:22 -07:00
Jimmy Shih 3ab54c7d67 merge heads 2012-03-14 15:17:55 -07:00
Jimmy Shih ead6249580 Update AndroidManifest for the next release.
1.1.16
2012-03-14 15:16:32 -07:00
Jimmy Shih 17c62b3996 After saving a file to the SD card, always show the result dialog.
After the user dismisses the result dialog, play or share the
saved file if applicable.
2012-03-14 14:57:51 -07:00
Jimmy Shih 51a565b49f Reorder AndroidManifest based on
http://developer.android.com/guide/topics/manifest/manifest-intro.html

Fix one lint error with duplicating variable.
2012-03-14 11:14:33 -07:00
Jimmy Shih 7a6f64b973 Update AndroidManifest.
- add splitActionBarWhenNarrow
- add targetSdkVersion
2012-03-13 17:14:24 -07:00
Jimmy Shih eb0237cd4e should have be part of daa8055b9997 2012-03-13 16:26:59 -07:00
Jimmy Shih f19a7681b4 No value changes. Only format
the AndroidManifest and menu xml files.
2012-03-13 14:51:16 -07:00
Jimmy Shih 0fc001534f sync from main 2012-03-13 14:03:02 -07:00
Jimmy Shih fe7cf7052d fix comments for ee18469e8c07 2012-03-13 14:00:49 -07:00
Jimmy Shih f3112c3acb Fix eclipse warnings 2012-03-13 11:00:00 -07:00
youtaol 504fd7fe14 Add test case for SendMapsAsyncTask, and change SendMapsAsyncTask to make it testable. 2012-03-13 18:02:15 +08:00
youtaol 5d1f19f1a0 Change some code to make test run successfully. Fix a warning in ChooseMapAsyncTask. 2012-03-13 17:42:47 +08:00
youtaol b80d8411c4 Merge heads 2012-03-13 17:13:33 +08:00
youtaol e4a65ce36c Create a utility class TrackStubUtils to create stub Track and MyTracksLocation. And change some code in ChartActivityTest to use this class. 2012-03-13 16:58:25 +08:00
Jimmy Shih bd9a88b903 Change "min pace" wording to "max pace".
See
http://code.google.com/p/mytracks/issues/detail?id=841
2012-03-12 16:35:11 -07:00
Jimmy Shih 2da8525439 merge heads 2012-03-12 16:07:03 -07:00
Jimmy Shih 3f54c07009 Patch 3 CLs from
http://code.google.com/r/rdamazio-mytracks-staging2/
- 7781a7c23cf1
- 883427ab11f8
- d801f8f7c16b

- Use Halo them for api level 11 or higher.
- Use action bar for api level 11 or higher.
- Move all menu items for the 3 tabs to MenuManager.
2012-03-12 15:59:07 -07:00
Jimmy Shih cc07db0269 Specify an icon for a kml track. 2012-03-12 13:10:49 -07:00
youtaol 472d49f241 Change test code of ChooseMapAsyncTaskTest. 2012-03-09 11:51:45 +08:00
youtaol cc358b4872 Fix a warning in ChooseMapActivityTest. 2012-03-08 15:18:04 +08:00
youtaol ad32e56660 Merge Heads 2012-03-08 15:10:33 +08:00
youtaol 4fd832d4a2 Remove T 2012-03-06 20:56:39 +08:00
youtaol efa7094cc5 Change some code for ChooseMapAsyncTaskTest. 2012-03-06 20:53:56 +08:00
youtaol b951a16364 Add double convert in SendFusionTablesAsyncTask and SendMapsAsyncTask, to make
the computation of update percentage is right.
2012-03-06 11:40:49 +08:00
youtaol 04b7a7fcb2 Add static to some variables in ChartActivityTest. 2012-03-06 11:36:54 +08:00
Jimmy Shih c8e184d29c merge heads 2012-03-05 16:25:51 -08:00
youtaol 48f9380f21 Revert the change to make the method getMyTracksLocation static (I'll create a new change for it). And change comments which have Javadoc warnings in some classes. 2012-03-02 17:41:12 +08:00
youtaol 93361881ed Add test case for ChooseMapActivity. 2012-03-02 17:00:57 +08:00
Jimmy Shih d362c539cf Improve playing a track with Google Earth
- directly send the play intent to Google Earth
- add a tour id to the feature to be played
- track the number of play using google analytics
2012-03-01 16:42:53 -08:00
Jimmy Shih 7710bd7a48 merge heads 2012-03-01 16:34:40 -08:00
Jimmy Shih bc56b70b4c Add fractional seconds to timestamp in GPX, KML, CSV, and TCX.
Move FileUtils.FILE_TIMSTAMP_FORMAT to StringUtils.java
Clean up StringUtils.java
- add formatDateTimeIso8601
- add formatDistance
- add formatSpeed
- rename all methods to either formatXXX or getXXX
2012-03-01 12:59:42 -08:00
youtaol 7145ba25b4 Add test case for SendFusionTablesActivity and change some code of SendFusionTablesActivity 2012-03-01 12:13:17 +08:00
youtaol bdf04d64d8 merge heads 2012-03-01 11:53:33 +08:00
youtaol 3b109ca98d merge heads 2012-03-01 11:50:24 +08:00
Jimmy Shih 2646cf63cb Fix bug. In AccountChooserActivity, only show the
choose account dialog when there are more than 1 account.
2012-02-29 15:35:53 -08:00
Jimmy Shih d3bc6ad77c merge heads 2012-02-29 15:20:18 -08:00
Jimmy Shih 93248bc8fb When sending to Google Docs, for elapsed time, always
include the hour.
2012-02-29 14:40:08 -08:00
Jimmy Shih 09ffd991f2 Clean up TCX track writer
- add a SportType enum
- in the footer, remove the <Type> tag under <Author><Build>
- always use 0 for BuildMinor version
2012-02-29 10:51:35 -08:00
youtaol b525a26917 Replace robotium-solo-2.1.jar with robotium-solo-3.1.jar to make ChartActivityTest can be run in Android 4.0. Change getMyTracksLocation() in ChartActivityTest to a static method, so it can be used by other test. 2012-02-29 17:50:05 +08:00
Jimmy Shih 6f7f85a117 merge heads 2012-02-28 15:27:45 -08:00
Jimmy Shih 1a3cb984be Fix comments on aca13c508711 2012-02-28 15:26:05 -08:00
youtaol 89ee5b4df3 Add test case for ChooseMapAsyncTask and adjust some code in ChooseMapAsyncTask.java to make it testable. 2012-02-28 16:15:54 +08:00
Jimmy Shih 4f2364f402 Change CsvTrackWriter to output three tables.
One for track, one for markers, and one for points.
2012-02-27 10:50:58 -08:00
Jimmy Shih 4033e56345 Use the 3.6 constant for MS_TO_KMH to prevent rounding error 2012-02-24 12:38:27 -08:00
Jimmy Shih 330fa98215 fix comment df32871175b2 2012-02-24 12:28:29 -08:00
youtaol f1bfc2af0a Change some code of SendMapsActivityTest and SendMapsActivity. 2012-02-24 16:42:06 +08:00
Jimmy Shih 81122b59ad Cleanup GpxTrackWriter
- remove xml-stylesheet (not used)
- remove the "<number>" tag (do not want to expose internally used track id)
- add <metadata> for name and description
- change the text for the "creator" attribute
- change KmlTrackWriter to use FileUtils.FILE_TIMESTAMP_FORMAT
2012-02-23 18:46:54 -08:00
Jimmy Shih 6087c862d8 Fix comment for fa8caa2aee52 2012-02-23 10:49:24 -08:00
Jimmy Shih ccb4190314 Update KML writer to output a track using gx:MultiTrack and gx:Track. 2012-02-22 17:18:38 -08:00
Jimmy Shih 8fc43ff3fb Fix comments on 4d928853455e 2012-02-22 16:19:10 -08:00
Jimmy Shih 719b7c2414 sync from main 2012-02-22 12:55:01 -08:00
Jimmy Shih ae5a8d04a2 merge heads 2012-02-22 12:39:28 -08:00
youtaol 7cfe8c3dd8 Add test case for SendMapsActivity. 2012-02-22 16:51:21 +08:00
youtaol de2dd9bef4 Add test case for SendRequest.
Add test case for UploadServiceChooserActivity. Change some code in
UploadServiceChooserActivity to make it testable.
2012-02-22 14:30:52 +08:00
youtaol 70bea25cbc Add Robotium 2.1 to library, and add an item in .classpath.
Add test case for ChartActivity.
Modify ChartActivity and ChartView to support test.
2012-02-22 14:00:47 +08:00
Jimmy Shih 64b452d851 Clean up the code to generate track and waypoint description.
Add DescriptionGeneratorImpl
Make StringUtils constructor private
I18n the strings used to generate the descriptions
2012-02-21 13:13:45 -08:00
Jimmy Shih f30301ac4f Fix comment for a8c6f5ff1203 2012-02-21 09:36:54 -08:00
Jimmy Shih cd1a99727a Clean up UnitConversionUtils. 2012-02-16 16:30:04 -08:00
Jimmy Shih 81dfdb5bda merge heads 2012-02-15 10:27:40 -08:00
Jimmy Shih 7219972af5 merge heads 2012-02-15 10:04:18 -08:00
ml1050 8bb94bc104 cosmetics 2012-02-15 16:03:20 +01:00
Jimmy Shih 1e63be4bae Change search_global_description to "Tracks and waypoints" 2012-02-14 13:12:57 -08:00
Jimmy Shih dfabe3242e Add a service to periodically remove files older than 1 hour. 2012-02-13 17:02:26 -08:00
Jimmy Shih 6979227410 merge heads 2012-02-13 10:02:29 -08:00
ml1050 ceb0e68b2a correctly use the <Cadence> tag for biking related activities 2012-02-12 18:47:50 +01:00
Jimmy Shih b10758cd96 Add a play option to play a track.
Check if Google Earth is installed, if not, ask the user
if he wants to install from the Market.
2012-02-10 14:38:34 -08:00
Jimmy Shih 13f5c0e685 Added tag v1.1.15 for changeset 9ab23da8a5be 2012-02-09 11:00:36 -08:00
Jimmy Shih 087b3b0e69 update manifest for version 1.1.15 2012-02-09 10:08:51 -08:00
Jimmy Shih 9d02d4ed67 Fix bug with invalidate auth token. Need to pass in account type, not
auth token type.
2012-02-08 19:51:41 -08:00
Jimmy Shih c4d5471c9b Added tag v1.1.14 for changeset 119d28cee019 2012-02-07 10:17:37 -08:00
Jimmy Shih a5645036ae update strings.xml 2012-02-07 10:16:49 -08:00
Jimmy Shih ec57495481 Update strings.xml in all the locales. 2012-02-06 10:47:40 -08:00
Jimmy Shih 79a86769ee fix eclipse warnings 2012-02-06 10:27:58 -08:00
Jimmy Shih 5f97aa4b99 merge heads 2012-02-06 10:19:43 -08:00
Jimmy Shih 102aabcc95 Fix comment for 490b8ae75c7a 2012-02-06 10:17:17 -08:00
Jimmy Shih cc28fdb65b merge heads 2012-02-06 10:12:13 -08:00
Jimmy Shih 9065992cd7 merge heads 2012-02-06 09:53:53 -08:00
Jimmy Shih cdf2cc8e81 Fix comment on 9984a731b84b 2012-02-06 09:51:41 -08:00
Jimmy Shih 6f5c1aec2c Merge from main. 2012-02-06 09:44:01 -08:00
Rodrigo Damazio ad8a9d2099 Merging heads 2012-02-06 10:38:38 -02:00
Rodrigo Damazio 00540bcfcc Addressing review comments for the search functionality. 2012-02-06 10:37:26 -02:00
ml1050 fc12c1f29e fix comments for da7d78b18f25 2012-02-06 13:22:50 +01:00
jshih 45dc512f01 Set waypoint icon based on the waypoint type.
Only consider valid waypoints. E.g., the first waypoint of a track
contains stats for the whole track, thus should not show up on the
search result.
2012-02-03 21:24:12 -08:00
Jimmy Shih 0691875f06 merge heads 2012-02-03 17:17:12 -08:00
Jimmy Shih c320d16af4 Move checking for service permission at AccountChooserActivity. 2012-02-03 16:41:06 -08:00
ml1050 d105c58309 Use a reference count with SensorManagers created by SensorManagerFactory 2012-02-04 00:47:55 +01:00
Jimmy Shih 55fd48d2dd When an activity starts, prompts the user (if necessary) for permission
to access the service.
2012-02-03 12:55:52 -08:00
youtaol 8c65aeec88 Add test case for ChartSettingsDialog 2012-02-03 20:34:53 +08:00
youtaol 7749c2600a Add test case for BootReceiver. 2012-02-03 20:26:44 +08:00
youtaol 79b3a71d15 Change the way to format setting string. 2012-02-03 20:20:24 +08:00
youtaol c4bddfd6f4 Make changes in DynamicSpeedTrackPathDescriptor :
Add field: CriticalDifference
Add helper method isDifferenceSignificant to test needsRedraw
Add getSpeedMargin,setAverageMovingSpeed getAverageMovingSpeed methods
Change some code style of DynamicSpeedTrackPathDescriptor

Add test cases for FixedSpeedTrackPathDescriptor and DynamicSpeedTrackPathDescriptor
2012-02-03 20:13:29 +08:00
ml1050 073c8a3c98 avoid null pointer exception in a race condition 2012-02-02 23:53:26 +01:00
Jimmy Shih b653e8d059 Fix elevation chart not showing distance correctly.
Use TripStatisticsBuilder to keep track of distance.
Also include the first and the last elevation.
2012-02-02 14:07:02 -08:00
Rodrigo Damazio 71bb550b1f Showing a message when no search results are found. 2012-02-02 03:04:21 -02:00
Rodrigo Damazio 19f1853426 Improving the search results UI. 2012-02-02 02:29:12 -02:00
Jimmy Shih 3b5fba9b52 merge heads 2012-02-01 17:55:01 -08:00
Jimmy Shih 89c9ad0612 Let the SettingsActivity display the confirmation dialogs.
Thus can handle screen rotation.

Rename EulaUtil.java to EulaUtils.java.
2012-02-01 17:35:40 -08:00
Jimmy Shih e4a62b4db8 merge heads 2012-02-01 13:44:50 -08:00
Jimmy Shih 1b3eaeb755 fix comment for af2bc2c67bd2 2012-02-01 13:42:51 -08:00
Jimmy Shih b4573fdc23 In TripStatistics, return 0 for average speed and moving speed
when the denominator is zero.

Use "1000.0" when getting a double by dividing by 1000.
2012-02-01 12:57:04 -08:00
Jimmy Shih 2acfef5d33 Fix the copyright year in the terms of service page. 2012-02-01 10:39:57 -08:00
Jimmy Shih 40d611b2f4 Add WRITE_EXTERNAL_STORAGE permission to the AndroidManifest. 2012-02-01 10:07:29 -08:00
ml1050 ae24966c42 added a VisibleForTesting comment 2012-01-31 20:36:56 +01:00
Jimmy Shih 342b214fd5 sync from main 2012-01-30 14:39:05 -08:00
Jimmy Shih 8c74fa74c1 Prepare release 1.1.14.
Update AndroidManifest
Update strings.xml in other locales
2012-01-30 14:35:38 -08:00
Jimmy Shih 4c552b4e24 clean up strings.xml
- sort alphabetically
- remove trailing whitespaces
2012-01-30 14:16:29 -08:00
Jimmy Shih 089cb06680 Move common Send to Google code into abstract classes.
Remove jshih@google.com in the @author field.
2012-01-30 13:28:00 -08:00
Jimmy Shih f20911ee2e sync from main 2012-01-30 10:16:16 -08:00
Jimmy Shih 041544573f Should have been part of 15e132de0291 2012-01-30 10:15:18 -08:00
Jimmy Shih 29615a3f0d merge heads 2012-01-30 09:59:09 -08:00
ml1050 256a6c6ee7 fix comments for 201f8f6de473 2012-01-30 13:41:54 +01:00
Jimmy Shih 62c40575c9 Clean up Send to Google code.
Remove SendActivity and SendType.
Pass SendRequest from one activity to the next.
2012-01-29 16:47:36 -08:00
Jimmy Shih acf2a4bee2 sync from main 2012-01-28 16:16:44 -08:00
Jimmy Shih 6bb87e1db9 merge heads 2012-01-28 16:13:12 -08:00
Jimmy Shih 5f99083747 Fix comments for 4a7e14e5837e 2012-01-28 16:03:40 -08:00
Rodrigo Damazio 22e9687aff Merge to head 2012-01-28 00:00:48 -02:00
Jimmy Shih aaceb86ba9 Organize files for Send to Google
move gdata files to
io/gdata
io/gdata/docs
io/gdata/maps

move fusion table code to
io/fusiontables
2012-01-27 16:50:33 -08:00
Jimmy Shih da013e9d51 Clean up ApiAdapter now that we only support API 7 or greater.
- rename ApiLevelAdapter to ApiAdapter
- rename ApiFeatures to ApiAdapterFactory
2012-01-27 15:51:43 -08:00
Jimmy Shih 8aa06c7128 merge heads 2012-01-27 12:39:09 -08:00
Jimmy Shih 1b27ff0d95 Fix comment for 4560c4d93a5b. 2012-01-27 12:37:35 -08:00
Jimmy Shih 9c54cc0e86 Fix unit test breakage in TrackWriterTest. 2012-01-26 16:27:14 -08:00
Jimmy Shih ffee51cee8 Use an Async Task to send a track to Google Maps. 2012-01-26 13:20:48 -08:00
ml1050 859248acde SensorEventCounterTest added; AntDirectSensorManagerTest udpated 2012-01-26 12:46:27 +01:00
Rodrigo Damazio 11972297b0 Merge to head 2012-01-25 21:01:57 -02:00
Rodrigo Damazio 8c17c6b2d9 Fixing some search issues caught by the tests:
- if the results contained a track and a waypoint with the same ID, one would be missing from results
- disregarding very old timestamps
- Moved lowercasing of the query inside the search engine
2012-01-25 20:43:54 -02:00
Rodrigo Damazio 2ac6d5d07b Adding tests for the search functionality. 2012-01-25 20:42:49 -02:00
Jimmy Shih 87c2a8fd3e Fixed comments for 68f1788b686b.
Also fixed:
- In ChooseMapActivity and SendFusionTablesActivity, check that the intent
inputs are valid.
- In ChooseMapAsyncTask, close the GDataParser in the finally block.
- In SendFusionTablesAsyncTask, check that a segment has more than 2
  points and that the segment stop time is set in prepareTrackSegment.
2012-01-25 13:20:45 -08:00
Jimmy Shih 2a5f3e6afd sync from main 2012-01-25 11:22:50 -08:00
Jimmy Shih 8472dbb195 Fix comments on aa970ad1da92.
Additional fixes:
- In SendDocsAsyncTask, check that the activity is not null before
using it.
- In SendDocsUtils, close the GDataParser in the finally block.
- When catching an exception, always log it.
2012-01-25 10:41:38 -08:00
Jimmy Shih 15ff1998cb Update the code to choose a Google Map by using
an AsyncTask to perform the network request.
2012-01-24 18:24:04 -08:00
Jimmy Shih f682f347d5 Update Send to Google Docs code to use an activity
to show progress bar and an AysncTask to send
to Google Docs.

Future plan:
Plan to place common code across SendDocs, SendFusionTables,
and SendMaps in abstract classes.
2012-01-24 10:13:04 -08:00
ml1050 625d0704bc s/SensorDataProcessor/SensorEventCounter/ 2012-01-23 23:27:20 +01:00
ml1050 faa4ddd98f member functions moved around 2012-01-23 23:12:04 +01:00
ml1050 e5885da82c explicit cap introduced for the history + displayedValue and getValue renamed 2012-01-23 23:03:27 +01:00
ml1050 efa2f3f1d5 more comments and cleanups. outdated tests are commented out temporarily 2012-01-22 22:49:12 +01:00
ml1050 b0afea35ee added more comments + minor refactoring 2012-01-21 21:35:58 +01:00
Jimmy Shih 9207600130 Merge heads 2012-01-20 15:31:06 -08:00
Jimmy Shih 81a9483f76 Fix comment forfd49d88ec658. 2012-01-20 15:03:21 -08:00
Jimmy Shih 3cf1bebe07 Fix comments for fd49d88ec658.
Also fixed the following:
in uploadAllTrackPoints, introduce a "readCount" variable
rather than using the zero based index "i".

in prepareAndUploadPoints, add a lastBatch parameter
so can include the (Part 1) marker if there is more than
one segment.

in prepareTrackSegment, set a new segment's stop time
to the last location's time.
2012-01-20 12:51:48 -08:00
Rodrigo Damazio df775eeb2d Addressed review suggestions. 2012-01-20 18:13:35 -02:00
ml1050 bee9f46eaf inner classes moved to their own files 2012-01-20 18:06:30 +01:00
ml1050 8afc6b4c04 cosmetic cleanups
renames for better legibility
added some bound checks
2012-01-20 13:53:30 +01:00
Jimmy Shih 152b77b01c Update the support url.
Update the minSdkVersion to 7.
2012-01-19 12:26:08 -08:00
Jimmy Shih 822d1c3eb9 Sync from main. https://mytracks.googlecode.com/hg 2012-01-19 10:51:07 -08:00
Jimmy Shih aa7fb772a0 Fix comments on 5f0afb81a4d6
Remove SendResult.java. Should have been part of this CL.
Fix a bug. Should be UploadResultActivity.FUSION_TABLES_URL.
2012-01-19 09:41:43 -08:00
youtaol 6ccff0697f Add test case for AntPreference, and add a static constant in AntPreference
----------------
2012-01-19 12:31:16 +08:00
Jimmy Shih e23c2bcfb2 Fix comments on 5f0afb81a4d6 2012-01-18 17:16:57 -08:00
Jimmy Shih 1ef6026134 Use an activity for showing the progress dialog
to send to Google Fusion Tables.
Use an AsyncTask to send a track to Google Fusion Tables.

Fix bugs with retry logic, screen rotation, sending
results back to SendActivity.
2012-01-18 16:35:43 -08:00
ml1050 93d702990a ANT+ cadence and cadence+speed sensor support added 2012-01-18 13:03:28 +01:00
Rodrigo Damazio 86ccb76a2b ICS UI: Moving per-tab menu items to the MenuManager.
This will make more sense once tabs are fragments instead of activities.
2012-01-16 03:34:45 -02:00
Rodrigo Damazio 23c2dad9d1 ICS UI: Showing the action bar 2012-01-16 02:26:40 -02:00
Jimmy Shih d3216b0520 Add a UploadResultActivity to better support
screen rotation.
2012-01-13 13:09:56 -08:00
Jimmy Shih feac34ca32 Fix comment for 72858c5628e1 2012-01-13 09:42:51 -08:00
Jimmy Shih 4a0a2a8856 Create an AccountChooserActivity to choose an account.
Benefits of the refactor:
- can support screen rotation when choosing an account
- reduce complexity in SendActivity

Also change the minSdkVersion to 7 so that
- in AccountChooserActivity, can just use the Android AccountManager
- in SendActivity, can use Account
- in SendActivity, can remove the Constants.GET_LOGIN callback
  from the legacy AuthManager (AuthManagerOld)
2012-01-12 12:54:42 -08:00
Jimmy Shih 8f72c36351 When screen rotates, another activity is shown on the foreground.
Thus onPause, need to remove the dialog to prevent the activity
from leaking the dialog window.
2012-01-11 11:23:22 -08:00
Jimmy Shih dc019cd58d Fix comments for c2b1dec90642 2012-01-11 10:06:55 -08:00
Jimmy Shih 9feb097d11 Create a ServicePickerActivity to allow users
to pick the Google services to send a track to.

Benefits of the refactor:
- ServicePickerActivity can easily handle screen rotation
- Reduce complexity in SendActivity
2012-01-10 15:16:24 -08:00
Rodrigo Damazio dad0befca4 Addressed review suggestions and moved lat/long logic to the TripStatistics class. 2012-01-10 16:27:41 -02:00
Jimmy Shih c013db29bc Fix a typo for b287683b8500 2012-01-10 09:36:53 -08:00
Jimmy Shih 4b33e94707 Fix comment b287683b8500 2012-01-09 15:54:19 -08:00
Jimmy Shih 362dcda90c Fix comment for b287683b8500 2012-01-09 14:28:11 -08:00
Jimmy Shih 43cf0659fd Add support to choose the ISO 8601 date format as the default track name.
Note using the "yyyy-MM-dd HH:mm" format so it is readable
for users. However, the colon, ":", is not a valid
FAT32 filename character. So when saving to the SD card,
the filename becomes "yyyy-MM-dd HH_mm".
2012-01-09 12:50:53 -08:00
Jimmy Shih 88c4e0e499 merge 2012-01-09 09:39:21 -08:00
Jimmy Shih aed9248b35 Fix comments for af72371db217 2012-01-06 16:06:12 -08:00
Jimmy Shih c03f2a9adb Change the marketing message to include Google+. 2012-01-06 14:52:22 -08:00
Jimmy Shih 9e6e4bc5af Code cleanup. Rename My Maps to Maps.
Did a case insentive search and replacement for
mymap
my_map
my map
2012-01-06 14:24:26 -08:00
Rodrigo Damazio 83af7a30d8 Addressing suggestion from cbbb34be8b54 2012-01-06 04:43:25 -02:00
Rodrigo Damazio 8000d51caf Adding search suggestions 2012-01-06 04:39:07 -02:00
Rodrigo Damazio 96d740db64 Adressing many TODOs and improving documentation of the search engine. 2012-01-06 04:38:54 -02:00
Rodrigo Damazio ff15031113 Breaking down SearchActivity into display and search logic pieces. 2012-01-06 03:25:51 -02:00
Jimmy Shih 4e9fa91f27 Code cleanup. Use Menu.NONE constant when we don't care about
the groupId or the order.
2012-01-05 18:39:20 -08:00
Rodrigo Damazio 870c5d723c Providing a Search menu option in TrackList and WaypointList, for devices that don't have a search key. 2012-01-05 22:17:31 -02:00
Rodrigo Damazio 254a1d59ac Selecting a waypoint from the search screen will now show it. 2012-01-05 21:47:32 -02:00
Rodrigo Damazio ce05f5b22a Android Lint: fixing invalid height inside a ScrollView. 2012-01-05 21:18:15 -02:00
Rodrigo Damazio b2eb50732e Android Lint: fixing invalid height inside a ScrollView. 2012-01-05 21:18:15 -02:00
Rodrigo Damazio 35395926ff Android Lint: customizing the warnings:
- typography warnings should be just informational (too many of them)
- unused IDs/resources make no sense for the library project
- layout errors should be errors
2012-01-05 21:12:00 -02:00
Rodrigo Damazio e77a685b50 Android Lint: customizing the warnings:
- typography warnings should be just informational (too many of them)
- unused IDs/resources make no sense for the library project
- layout errors should be errors
2012-01-05 21:12:00 -02:00
Rodrigo Damazio ee9a19d788 Android Lint: reordering manifest so requirements come before the application. 2012-01-05 21:02:07 -02:00
Rodrigo Damazio 5cb0752645 Merge to head 2012-01-05 22:23:56 -02:00
Jimmy Shih 26a41e0afc sync from main 2012-01-05 15:37:55 -08:00
Rodrigo Damazio d2ea6dfe8d Android Lint: reordering manifest so requirements come before the application. 2012-01-05 21:02:07 -02:00
Rodrigo Damazio 46b027108c Also updating mocked class libraries to API level 15 2012-01-05 20:35:45 -02:00
Rodrigo Damazio 9afd415e3f Also updating mocked class libraries to API level 15 2012-01-05 20:35:45 -02:00
Jimmy Shih bb989dbc4c Fix file sanitization so that it supports unicode characters.
Replace invalid characters with "_" to make it easier to parse.
2012-01-05 13:56:20 -08:00
Rodrigo Damazio 50095ad044 Fixing showing of waypoints 2012-01-05 19:42:06 -02:00
Jimmy Shih 23ca7bd05e merge heads 2012-01-04 17:17:41 -08:00
Jimmy Shih f38c4ab242 Display date and time based on phone's preferences.
In StringsUtils, add formatDateTime, formatTime, formatElapsedTime.

Note that verified when sending to Google Docs, no longer need
to always show the hours when displaying total time and moving time.
2012-01-04 16:39:53 -08:00
Jimmy Shih 966f661dce In the "Share with friends" menu options, split the
"Map or Fusion Table URL" option into
"Map" and "Fusion Table" options.

- make SendType implements Parcelable so can pass it in an Intent.
2012-01-04 13:44:20 -08:00
Jimmy Shih 8db6f5b569 Support long app name in the about page.
- change from a TableLayout to a LinearLayout
- use layout_gravity="center_vertical" to vertically align the icon.
2012-01-03 17:28:43 -08:00
Jimmy Shih c0aabcfa5a Fixe escaping from the translation console. Change "&amp;gt;" to ">" 2012-01-03 15:42:10 -08:00
Jimmy Shih 235fd16e5a Support multiple lines on Send to Google CheckBox and RadioButtons
- Center align the CheckBox to the ImageView
- Note that to support line wrapping inside a TableLayout, need to
set the layout_width to 0dp.
2012-01-03 14:47:54 -08:00
Rodrigo Damazio 5a3bcfa51a Adressing comments from f11312d2fdc6 2012-01-03 05:33:00 -02:00
Rodrigo Damazio c3912042e9 Merge to head 2012-01-02 19:03:07 -02:00
Rodrigo Damazio cfbb1b1634 Updating to API level 15.
Main justification: the SDK for level 15 comes with the source to the core libraries, making debugging much easier.
2012-01-02 18:53:44 -02:00
Jimmy Shih 40d0eed281 Fix issue 702.
Add meaureWithLargestChild on the Button linear layout.
Change dip to dp
Change text to sp.
2011-12-23 14:23:50 -08:00
Jimmy Shih 5e52552a0c Added tag v1.1.13 for changeset 431cbbc21684 2011-12-23 09:41:15 -08:00
Jimmy Shih 9a220fade9 Fix bug. String.isEmpty is only available in api 9 or higher. 2011-12-22 16:29:05 -08:00
Jimmy Shih b86c9b3867 Merge heads 2011-12-22 15:29:20 -08:00
Jimmy Shih d22deda242 Fix comment on 9399fc25c7ce. 2011-12-22 15:15:42 -08:00
Jimmy Shih 2167111ff4 Update translated strings. 2011-12-22 15:12:23 -08:00
Jimmy Shih 6028137c46 Fix comment on 9399fc25c7ce.
Also define the default values in "do_not_translate.xml" so that can be
consistent between the preferences.xml and the java files.
2011-12-22 11:20:16 -08:00
Jimmy Shih 22dafff7b7 Fix issue 679. 2011-12-21 18:27:11 -08:00
Jimmy Shih 339b045697 Fix crash in issue 680. 2011-12-21 17:57:41 -08:00
Jimmy Shih 28ce9a1656 Fix bluetooth crashes in issue 681. 2011-12-21 17:37:34 -08:00
Jimmy Shih 34c273be7a Update translations. 2011-12-21 16:41:22 -08:00
Jimmy Shih 0e645de733 Update Android Norwegian Bokmal from "no" to "nb". 2011-12-21 16:14:55 -08:00
Jimmy Shih 1281bb311a Change the chart right border to 40 pixels. 2011-12-21 15:45:42 -08:00
Jimmy Shih 5557144728 In the ChartSettingsDialog, update whether to display speed
or pace when calling onPrepareDialog.

Change the x_axis.png and y_axis.png to white foreground
so they show up on the black background.

Clean up chart_settings.xml
- no need to specify minWidth by placing the title
  inside a TableLayout
- align text to the bottom of the image
2011-12-21 15:23:51 -08:00
Jimmy Shih 828949efa4 On ChartView, show either the speed or the pace label depending on the
user preference.
On StatsActivity, draw the unit label.
2011-12-21 13:27:51 -08:00
Jimmy Shih b0980e2e90 Fix comment for a3a7ba31357b 2011-12-21 13:16:58 -08:00
Jimmy Shih a17fc3efd2 Fix the display unit (metric or imperial) on ChartView both on
first app launch and when changing the display unit.

In ChartActivity, set the default to true to match the default
in ChartView.

When display unit changes, on the UI thread, request a layout so the
axises can be redrawn.
2011-12-21 10:55:07 -08:00
Jimmy Shih 6a9f3d9199 Add a text for the Android Market recent changes. 2011-12-21 10:06:39 -08:00
Jimmy Shih ffd3f3f14b Fix a bug where the total distance is repeated twice. 2011-12-20 16:26:24 -08:00
Jimmy Shih 912075ddd4 Change the about page layout to single column to
support long translated strings in different languages.
2011-12-20 14:10:36 -08:00
Jimmy Shih 3833a9f7fe Add the terms of service copyright string to be translated. 2011-12-20 13:20:52 -08:00
Jimmy Shih 6dd40a6edf Shorten strings that need to fit within one line. 2011-12-20 13:16:25 -08:00
Jimmy Shih aa1a7a467f version 1.1.13 release candidate #1. 2011-12-20 12:20:59 -08:00
Jimmy Shih a89475158f Added tag v1.1.12 for changeset 4654df4b02d7 2011-12-16 19:05:33 -08:00
Jimmy Shih bd887c6624 merge heads 2011-12-16 16:16:08 -08:00
Jimmy Shih e8d4537f0d sync from main 2011-12-16 16:13:22 -08:00
Jimmy Shih aa392d61e2 merge heads 2011-12-16 16:12:50 -08:00
Jimmy Shih fa2948e4ab Update strings for v1.1.12 rc3. 2011-12-16 16:11:29 -08:00
Jimmy Shih 4ce0809948 merge heads 2011-12-16 15:04:32 -08:00
Jimmy Shih 7956e761c8 Fix comments for 7057f746f9af 2011-12-16 11:17:37 -08:00
Jimmy Shih 2dc92dcc98 Modify TOS placeholders so the
text matches those already translated.
2011-12-16 10:33:20 -08:00
Jimmy Shih c604c12297 Fix sensor state activity to support right-to-left.
- Need to generate the value as one string
  rather than always putting the unit on the
  right.
2011-12-15 18:00:03 -08:00
Jimmy Shih 3b249d6a06 Fix about page layout.
If not enough space, shrink column0.
If too much space, stretch column1.
Add 2dp padding around.
2011-12-15 15:02:14 -08:00
Jimmy Shih 1b0bdea135 Fix displaying "NONE".
Use the display string rather than the value string for storage.
2011-12-15 14:42:21 -08:00
Jimmy Shih 604ded53b8 Update translation comments.
- Clarify that Zephyr, Polar, SRM are company names and should not get
  translated.
- Clarify that Bluetooth and ANT+ are radio standards and can be
  translated if possible.
- Clarify that bridge is a network bridge.
2011-12-15 14:33:20 -08:00
Jimmy Shih d509890f8f Fix escaping. Change "&amp;gt;" to ">". 2011-12-15 11:57:00 -08:00
Jimmy Shih f973ab8ac2 Should have been part of dff6cccf7912 2011-12-15 11:41:58 -08:00
Jimmy Shih 67407d4bd6 Fix comment for dff6cccf7912 2011-12-15 11:29:57 -08:00
Jimmy Shih 36cbd4a96f Break TOS into paragraphs to match the existing strings in the
translation console. Thus we do not need to retranslate the
TOS.
2011-12-15 10:44:14 -08:00
Jimmy Shih 896dab6d2b Display date/time based on user format for
- TrackList.java
- WaypointsList.java
- StringUtils.generateWaypointDescription for sending waypoint description
to Google services.
2011-12-14 15:41:03 -08:00
Jimmy Shih 8103bf58d8 Fix marker display when the gps location time is 0.
If gps is not available, the waypoint marker time is 0.
So do not display the time if it is not available.
2011-12-14 14:53:20 -08:00
Jimmy Shih 58868dcd4f Update strings from translation. Strings are auto-extracted. 2011-12-14 11:25:39 -08:00
Jimmy Shih 762fc0d06e Clean up TrackDetails
- use MyTracksProviderUtils to update a track
- define TRACK_ID and SHOW_CANCEL in TrackDetails
- log error if track doesn't exit
- add a scrollview
- add padding
2011-12-13 15:52:59 -08:00
Jimmy Shih bf03a4c54b merge heads 2011-12-13 10:05:23 -08:00
Jimmy Shih eac6bdcbbd Update the terms of service to use Google's mobile
terms of service instead of the one for
Google's 20% project.

Update the key so that all users will need to accept
the terms of service again.
2011-12-12 17:57:57 -08:00
Jimmy Shih fe368bc87e As requested by translators, remove mentioning of 20% project
from the android market marketing material.
2011-12-12 15:20:07 -08:00
Jimmy Shih ff5999b383 merge heads 2011-12-12 13:18:23 -08:00
Jimmy Shih ebcfcf125c fix a minor typo 2011-12-12 12:25:29 -08:00
Jimmy Shih c5e996546b improve the wording for sharing only url settings 2011-12-12 12:12:16 -08:00
Jimmy Shih 9cd0d03298 Rename Goolge My Maps to Google Maps 2011-12-12 11:56:58 -08:00
Jimmy Shih 456fa03f8e merge heads 2011-12-09 13:53:16 -08:00
Jimmy Shih a7e706268d Fix issue 608. Set button height to fill_parent
so that buttons can have enough height for 2 lines
of text.
2011-12-08 13:36:07 -08:00
Jimmy Shih 794da145c6 Check in the first iteration of My Tracks translations
- update version name and version code in AndroidManifest.xml
- delete values-es-rES/strings.xml (locale not supported by translation)
- remove escaped html characters in values/strings.xml
- all strings.xml in other locales are auto-generated. We will not
  modify these files directly.
2011-12-07 16:00:35 -08:00
Jimmy Shih ca889ee04c When sharing a url with friends, do not show the send to Google Docs option. 2011-12-07 14:19:21 -08:00
Jimmy Shih ee4e2c5288 merge heads 2011-12-06 12:47:05 -08:00
Rodrigo Damazio 1bd6e53f04 Addressing review suggestions for fusion tables upload warning. 2011-12-06 17:49:08 -02:00
Rodrigo Damazio bcba6dfe5d Fixed fusion tables upload warning - previously, it assumed all queries would be table-creation queries. 2011-12-06 17:20:48 -02:00
Rodrigo Damazio ebe8cbc798 Merge to head 2011-12-06 16:34:48 -02:00
Jimmy Shih f54fe60ca5 sync from main 2011-11-22 10:20:08 -08:00
Jimmy Shih 39b782053a fix comment on c3ea1ef58fb3 2011-11-22 10:17:07 -08:00
Jimmy Shih 5f83cc7656 merge heads 2011-11-22 10:12:28 -08:00
Jimmy Shih 97229c258d merge heads 2011-11-22 10:00:54 -08:00
Jimmy Shih 97e8037a6a Sort styles.xml alphabetically. 2011-11-21 18:11:12 -08:00
Jimmy Shih a9400afd74 Fix comment on f255f3a519fe 2011-11-21 17:26:47 -08:00
Jimmy Shih 2e11a2bfe2 For getSharedPreferences, use Context.MODE_PRIVATE constant. 2011-11-21 17:19:22 -08:00
Jimmy Shih a59cc3a6a2 For shared preferences, use apply (asynchronous)
by calling ApiFeatures.getInstance().getApiAdapter().applyPreferenceChanges.

The only exception is using commit (synchronous) when resetting all settings.
2011-11-21 15:17:26 -08:00
Jimmy Shih 8c0593ad0a Fix broken unit test in SensorManagerFactoryTest 2011-11-21 14:22:02 -08:00
Jimmy Shih 3566645643 Should have been part of 3800ce76c94f 2011-11-21 13:56:39 -08:00
Jimmy Shih 127fb2d648 Fix comment on b32833d4588e
- use Activity.showDialog to display dialogs
to avoid memory leaks when just calling
dialog.show, and to support rotation.
2011-11-21 13:52:11 -08:00
Rodrigo Damazio bb3a14aac0 Initial version of track search. (still lots of TODOs, but works) 2011-11-20 22:50:59 -02:00
Jimmy Shih 2cc2722a0b Add a name for the My Tracks Importer
because when open a GPX file using
the Linda File Manager, three My Tracks
activities show up.

ImportActivity (My Tracks Importer)
MyTracks (My Tracks)
WaypointDetails (Marker details)
2011-11-20 14:15:01 -08:00
Jimmy Shih 366aa4b307 Add screenshots for
- permissions

remove trailing white spaces
fix a typo on welcome_share_friends_answer
2011-11-20 13:22:03 -08:00
Jimmy Shih a6a43ef948 Add screenshots for
- export
- import
- sd card
- generic strings
- gps
- marker
2011-11-20 12:47:09 -08:00
Jimmy Shih 2419d652c2 Add Screenshots for
- My Location
- My Maps List page
- Send to Google
2011-11-20 11:34:15 -08:00
Jimmy Shih c47a01d11d Add screenshots for
- statistics page
- sensor state page
- share track
- settings value
2011-11-20 10:40:34 -08:00
Jimmy Shih a6ec014e73 Add screenshots for
- track list
- track detail page
- track recording messages
2011-11-19 13:46:26 -08:00
Jimmy Shih b1569c4744 Add screenshots and character limits for
- settings
2011-11-19 12:54:09 -08:00
Jimmy Shih 4f85e09edc Add screenshots for
-eula dialog
-menu items
-preferred units dialog
-welcome page
2011-11-19 10:13:33 -08:00
Jimmy Shih 3e9dd156e0 Add screenshot for about page, chart setttings.
Add ScrollView for the about page.
Set minWidth=300dp for the chart settings dialog.
2011-11-18 18:16:41 -08:00
Jimmy Shih 832aa0c303 Remove unused status message when sending to Google. 2011-11-18 16:02:36 -08:00
Jimmy Shih cdc17a8bb4 fix comment on 136b36246dd9 2011-11-18 15:19:59 -08:00
Jimmy Shih caf59954da sync from main 2011-11-18 14:45:23 -08:00
Jimmy Shih 8b2f2b21cd fix comment for daebe51be6dc 2011-11-18 14:42:54 -08:00
Jimmy Shih 744455adef merge heads 2011-11-18 14:11:24 -08:00
Jimmy Shih 7d9e1cd83a merge heads 2011-11-18 14:08:34 -08:00
Jimmy Shih 08d9af31f8 merge heads 2011-11-18 13:51:39 -08:00
Jimmy Shih a4711379e3 merge heads 2011-11-18 13:50:10 -08:00
Jimmy Shih 8c4773a9bf Added tag v1.1.11 for changeset 0656fec62693 2011-11-18 13:15:45 -08:00
Jimmy Shih 3e3b48e0cf update AndroidManifest for version 1.1.11 2011-11-18 12:46:16 -08:00
Jimmy Shih 5aea1348f6 Localize dates. Use DateFormat.getDateInstance for
user visible dates.
2011-11-17 20:10:57 -08:00
Jimmy Shih ce64da7849 correct help content for sharing with friends 2011-11-17 16:42:18 -08:00
Jimmy Shih 74bc4a4515 Localize number formatting. Only use NumberFormat. Remove all
direct calls to DecimalFormat.
2011-11-17 16:39:55 -08:00
Jimmy Shih b723700d0b should have been part of daebe51be6dc 2011-11-17 15:18:17 -08:00
Jimmy Shih f6983bba4b Add support for singular/plural. 2011-11-17 14:31:37 -08:00
Jimmy Shih 0ea4f6f13a another iteration to improve the wordings for track color mode 2011-11-16 18:12:52 -08:00
Jimmy Shih 1c2d64ea0a sync from main 2011-11-16 17:55:56 -08:00
Jimmy Shih e28a9a7cd2 Improve the descriptions where we have placeholders.
To provide translators with more context.
2011-11-16 17:37:00 -08:00
Umran Abdulla a200043667 Fix for SRM ANT+ Bridge 2011-11-17 12:02:04 +11:00
Jimmy Shih e8cf0a3dd2 Add Android Market strings 2011-11-16 16:56:47 -08:00
Umran Abdulla 10ed2233ee Fix for SRM ANT+ Bridge 2011-11-17 11:50:40 +11:00
Jimmy Shih ffb7cafe1b place help content in strings.xml 2011-11-16 15:24:37 -08:00
Jimmy Shih 041550fa6b fix comments on 244a0542bf63 2011-11-16 09:55:53 -08:00
Jimmy Shih f066c7bdce fix comments on 110385d92826 2011-11-15 18:41:02 -08:00
Jimmy Shih f5eebb1b87 merge heads 2011-11-15 17:32:29 -08:00
Jimmy Shih 3731037e68 fix null pointer errors in AntSensorManager 2011-11-15 17:28:49 -08:00
Jimmy Shih ae28dc01fe merge heads 2011-11-15 16:43:45 -08:00
Jimmy Shih 65991ba512 merge heads 2011-11-15 16:42:33 -08:00
Jimmy Shih 55ac8995a9 add eula as a string 2011-11-15 10:23:02 -08:00
Jimmy Shih bdbc453fc0 translate My Tracks application name 2011-11-14 18:42:30 -08:00
Jimmy Shih fc9dafeccd Clean up SendDialog.java
mytracks_send_to_google.xml
- remove unused ids.
- rename id variables.
- set textSize to 18dip to fit "Google Fusion Tables".
- set margin in ScrollView because its height is 0dip
  and settings margins in its children have no effect.

SendDialog.java
- use ApiFeature.applyPreferenceChanges to commit preference changes.
- set myMapsGroup View to GONE when 'Google My Maps' is not checked.
- use Context.MODE_PRIVATE.
- onStop, call super.onStop first.
2011-11-14 18:12:44 -08:00
Rodrigo Damazio c3cda97692 Merged to head 2011-11-14 23:27:04 -02:00
Jimmy Shih 7cb3cdaa05 Fix track color mode text. 'Medium speed percentage' is too long.
Change to 'Medium percentage'.
2011-11-14 10:13:54 -08:00
Jimmy Shih a61d30f522 Fix comment for 7b701a836adf 2011-11-14 09:44:57 -08:00
Jimmy Shih 1bb4dac8b5 remove trailing white space 2011-11-13 18:16:10 -08:00
Umran Abdulla 999285fcbc Fix for the signed/unsigned ANT+ device-id bug 2011-11-14 12:29:11 +11:00
Jimmy Shih 16dd54299a One round of proofreading of strings.xml
- add period when appropriate
- remove capitalization (only capitalize first word)
- add a 'title' suffix to title strings
- for Dynamic thresholds, rename to 'Medium Speed Percentage'
  because the value is a percentage.
- tranlstate 'my_tracks_service_name' string.
2011-11-13 17:18:58 -08:00
Jimmy Shih cf7be09396 Clean up do_not_translate.xml
Merge urls.xml into do_not_translate.xml
Move my_tracks_serviec_name to strings.xml
2011-11-11 18:55:55 -08:00
Jimmy Shih 0365ac5043 - Clean up arrays_do_not_translate.xml
- rename variables and sort alphabetically

- remove arrays.xml in other locales that are no longer being used.
2011-11-11 18:04:14 -08:00
Jimmy Shih 89fb6f6bd8 Reducing the number of strings by removing strings specific to
a Google service.
2011-11-11 17:33:05 -08:00
Jimmy Shih 52eb7bffb6 Reduce strings by removing strings specific for a file type. 2011-11-11 16:03:08 -08:00
Jimmy Shih ed3e3c9c41 merge from main 2011-11-11 12:39:34 -08:00
Jimmy Shih 77b54ed03b merge from main 2011-11-11 12:34:01 -08:00
Jimmy Shih c815579cb9 merge from main 2011-11-11 12:31:07 -08:00
Jimmy Shih 60f34d89ba Fix unit test for ResultDialogFactoryTest
- change to the MyTracks activity because the SendActivity doesn't have a
  window to display the dialog.
2011-11-10 18:40:26 -08:00
Jimmy Shih 2dd37ff965 merge heads 2011-11-10 17:28:50 -08:00
Jimmy Shih 750d109c93 fix unit test due to AntSensorManager changes 2011-11-10 17:25:28 -08:00
Jimmy Shih 23b5f879ae merge heads 2011-11-10 16:51:10 -08:00
Jimmy Shih cc4d57bc0c merge heads 2011-11-10 16:26:30 -08:00
Jimmy Shih c573301b2d merge heads 2011-11-10 16:08:35 -08:00
Jimmy Shih f19482985d merge heads 2011-11-10 15:53:49 -08:00
Jimmy Shih 2062ee7dfc merge heads 2011-11-10 14:52:02 -08:00
Jimmy Shih f24494d877 fix unit test with changing buttons from BUTTON_NEUTRAL to BUTTON_NEGATIVE 2011-11-10 14:24:32 -08:00
Jimmy Shih 9f05d8d8d9 For all locales
- sort variables
- remove unused variables
- delete duplicate variables

For strings.xml - remove trailing white spaces
2011-11-10 14:02:28 -08:00
Jimmy Shih ad139438f9 Last changeset for renaming & reorganizing
- Export
- Generic Strings
- Import
- SD Card
- Share Track

Other fixes
- check spelling
- check spacing
- check order
- clean up section titles
2011-11-09 17:26:50 -08:00
Jimmy Shih 0118a7691f Rename and reorganize variables in strings.xml
- My Maps List
- Send to Google
2011-11-09 15:09:57 -08:00
Rimas Trumpa 7915202aaa Some string corrections + getDefaultCategory moved to TrackRecordingService. 2011-11-09 22:03:59 +00:00
Jimmy Shih 5492bf86d1 Rename and reorganize strings.xml variables for
- Chart Settings
- Sensor State
- Statistic Page
- Unit
2011-11-09 13:13:33 -08:00
Jimmy Shih 32e01c7861 rename and reorganize variables in strings.xml for
- settings backup
- settings sharing
- settings reset
2011-11-09 11:19:20 -08:00
Jimmy Shih 13728c7c09 fix comments for f5deb2130f09 2011-11-09 09:19:57 -08:00
Rimas Trumpa a76945deef Added autocomplete to 'Default Activity Type' field. 2011-11-09 03:17:26 +00:00
Jimmy Shih 08c01f2b4e rename and reorganize
- settings recording
- settings sensor
2011-11-08 18:50:22 -08:00
Jimmy Shih eaa6922a95 rename and reorganize variables for
- top level setttings page
- display setttings
2011-11-08 17:39:57 -08:00
Jimmy Shih b99fa2b997 Rename and reorganize variables in
- About
- EULA
- My Location
- Permission
- Preferred Units
- Voice
- Welcome
2011-11-08 16:37:48 -08:00
Jimmy Shih cf28a3378f Rename and reorganize track variables in strings.xml. 2011-11-08 15:59:28 -08:00
Jimmy Shih 63ba6ec37c - rename and sort marker related variables
- rename and sort gps related variables
- clean up unused strings in AndroidManifest.xml
2011-11-08 14:30:26 -08:00
Jimmy Shih f07856ecb7 fix comment on 480bd29719ab 2011-11-08 11:42:12 -08:00
Jimmy Shih 44e81383f9 fix comment for b7f41a55cc69 2011-11-08 10:45:36 -08:00
Jimmy Shih d5c0b9cd5c Rename and reorganize menu variables in strings.xml 2011-11-07 17:53:22 -08:00
Jimmy Shih 4b0b519261 Remove urls from strings.xml 2011-11-07 12:48:09 -08:00
Jimmy Shih fde0a4ade1 fix comments on 8ff13c62c55e 2011-11-07 09:45:23 -08:00
Jimmy Shih fbd7f1b2b0 merge heads 2011-11-07 09:39:08 -08:00
Jimmy Shih 32bc71ae0f merge heads 2011-11-07 09:27:10 -08:00
Rimas Trumpa 0cf39e94a2 Added 'Default Activity Type' function (Issue 519). 2011-11-07 15:02:40 +00:00
Jimmy Shih 6ccb32c837 Clean up. Have ImportActivity call ImportAllTracks 2011-11-05 16:27:46 -07:00
Jimmy Shih c63763982a fix comment b7f41a55cc69 2011-11-05 15:03:18 -07:00
Jimmy Shih c26e63dec3 merge heads 2011-11-05 12:08:14 -07:00
Jimmy Shih 014e5257d0 merge heads 2011-11-05 11:50:27 -07:00
Jimmy Shih 1911187450 fix comment on 90eb53c0b4bd 2011-11-05 11:44:19 -07:00
Jimmy Shih 827e94b721 merge heads 2011-11-04 15:22:15 -07:00
Jimmy Shih fe9e6d47a2 fix comment on 78a330b32e6f 2011-11-04 15:04:15 -07:00
Jimmy Shih fe8cd0b884 merge heads 2011-11-04 14:30:35 -07:00
Jimmy Shih 496e0c0862 fix comment on 9f9c8f7cfb29 2011-11-04 14:16:01 -07:00
Jimmy Shih f2c3673406 merge heads 2011-11-04 14:11:47 -07:00
Jimmy Shih 8dd2ebd245 merge heads 2011-11-04 13:52:32 -07:00
Jimmy Shih cc06c469ee fix comment on 87a508c1fb9b 2011-11-04 13:50:25 -07:00
Jimmy Shih 96d8397787 fix typo on 4dcde424d9a9 2011-11-03 18:40:56 -07:00
Jimmy Shih 20346091c3 fix a typo in 4dcde424d9a9 2011-11-03 18:32:48 -07:00
Jimmy Shih 776f9bf360 Modify the check units flow so that it asks the user to pick either
metric or imperial. Metric is the default. Thus no longer need to
send the user to the 'Display' settings page.
2011-11-03 18:29:30 -07:00
Jimmy Shih d09218ca97 Fix the temp directory used by TempFileCleaner.
Previously, it missed 'MyTracks' in the directory path.
2011-11-03 14:21:30 -07:00
Jimmy Shih c4e8375ef6 merge heads 2011-11-02 11:39:14 -07:00
Jimmy Shih 4e288e4b85 - remove arrays.xml
- clean up keys.xml
- clean up do_not_translate.xml
2011-11-01 11:34:33 -07:00
Umran Abdulla 324d3f6ef1 Fix for ANT+ Sensor Manager Events Order Issue 2011-11-01 16:04:46 +11:00
Jimmy Shih e640d4280a add translation description 2011-10-31 13:59:58 -07:00
Jimmy Shih 3951f08531 should be been part of 78a330b32e6f 2011-10-31 11:21:34 -07:00
Jimmy Shih 684546f080 add translation descriptionws 2011-10-31 11:18:55 -07:00
Jimmy Shih 507ab6723c merge heads 2011-10-31 09:41:15 -07:00
Jimmy Shih 0f4483e2f8 add translation_description 2011-10-28 18:44:09 -07:00
Jimmy Shih de9c3c94de add translation descriptions for settings options 2011-10-28 16:23:45 -07:00
Jimmy Shih 730048c70b fix comments for e50bc8498bb2 2011-10-28 13:15:58 -07:00
Jimmy Shih 1637d2202c merge heads 2011-10-28 13:01:29 -07:00
Jimmy Shih c0a6850eff merge heads 2011-10-28 12:50:24 -07:00
Jimmy Shih 8f642ad112 fix a typo on a4dd967c8b26 2011-10-28 12:48:30 -07:00
Jimmy Shih 0b879eb5a0 fix comments for a4dd967c8b26 2011-10-28 12:43:36 -07:00
Jimmy Shih c1d4dd92cd Fix eclipse warnings 2011-10-28 11:14:26 -07:00
Jimmy Shih 4741e674c4 merge heads 2011-10-28 09:52:24 -07:00
Jimmy Shih d3ad49c4e1 merge heads 2011-10-27 18:59:10 -07:00
Jimmy Shih 3487da83ab slight wording changes on 8659ae7e6208 2011-10-27 18:53:53 -07:00
Jimmy Shih 3bc96bf319 merge heads 2011-10-27 18:47:05 -07:00
Jimmy Shih 3e22941484 fix comments on 425100d373ad 2011-10-27 18:35:25 -07:00
Jimmy Shih b6dcbb1377 merge heads 2011-10-27 18:13:04 -07:00
Jimmy Shih f6d99ba106 fix comment on 24401e81915f 2011-10-27 17:59:15 -07:00
Jimmy Shih 2bacc8d7b8 add translation_description 2011-10-27 13:21:14 -07:00
Jimmy Shih dfc5d61514 More translation_descriptions. 2011-10-26 18:04:49 -07:00
Jimmy Shih b2d989887d Add translation_description for status messages. 2011-10-26 16:00:49 -07:00
Jimmy Shih 0c72f1e5d3 add translation_descriptions for error messages 2011-10-26 14:19:14 -07:00
Jimmy Shih 58ce6d8a2c Add translation context for Sensor Options and Track Color Mode.
Convention:
Use "option" to indicate a display string like "sensor_type_option_ant".
Use "value" to indicate a stored value like "sensor_type_value_ant".

Additional proposals not in this changeset:
- rename "Sensor Options" to "Sensor"?
- rename "Track Color Mode" to "Track color"?
2011-10-26 10:41:33 -07:00
Jimmy Shih e7c0f3b5d0 Removing track_color_mode_none.
The default value for track_color_mode_options is
@string/none, not @string/track_color_mode_none.
See preferences.xml
2011-10-25 17:11:34 -07:00
Jimmy Shih c799f8d716 fix comments for 22e45d5be68c 2011-10-25 16:55:05 -07:00
Jimmy Shih fb036bfe4c Fix unit test errors in DocsHelper_AddTrackRowTest.java
DocsHelper_AddTrackRowTest is using a MockContext, which
cannot be used to call DateFormat.getDateFormat(context).

Refactor a getDisplayDate method in DocsHelper and allow the
test to override the method.

Also update .hgignore to AnnotationProcessor.log.
2011-10-25 15:02:03 -07:00
Jimmy Shih acfd522b57 Fix unit test failures:
Based on instruction from
http://android-mock.googlecode.com/files/AndroidMockinEclipse.pdf
- reference AndroidMockGenerator instead of AndroidMockRuntime
- name file as AnnotationProcessor.log
- in .factoryPath, upgrade to android-14
- in .factoryPath, add MyTracksLib jar

Verified that AnnotationProcessor.log contains no error.

Based on ADT14 changes:
http://code.google.com/p/android-mock/issues/detail?id=17#c0
change bin_dir location from "bin" to "bin/classes"
2011-10-25 14:26:07 -07:00
Jimmy Shih f16f7b08c8 merge heads 2011-10-25 11:50:06 -07:00
Jimmy Shih b06201d079 merge heads 2011-10-25 10:15:04 -07:00
Jimmy Shih 17ba5e6a48 Fix project dependencies.
- MyTrack app should export google-common.jar, common-logging-1.1.1.jar,
  protobuf-java-2.3.0-lite.jar and the MyTracksLib library.
- A test should only depend on its app. E.g., it should not need to
  reference the MyTracksLib library again.
2011-10-24 18:33:33 -07:00
hardillb b488ee5235 Added a comment to the track_id_broadcast_extra to note it should be deprecated and renamed in the next API refector 2011-10-24 23:00:35 +01:00
Jimmy Shih a012943119 - When there are two buttons, place the positive button on the left
and the negative button on the right to match the alert dialog.
- If an alert dialog only needs one button, assign it as the PostiveButton.
- If an alert dialog needs two buttons, assign one Positive and another
Negative.
- for CheckUnits, change the message to
  "Do you want to use metrics as your default units?" so that
  "yes" corresponds to the default case of using metrics as
  the default units.
2011-10-24 14:30:33 -07:00
hardillb 2afcd38bc5 Reuse track_id_broadcast_extra in MyTracksLib third_party.xml rather than add a new constant with the same value. 2011-10-24 10:32:35 +01:00
Jimmy Shih ef86905c58 Fix comment for 483b954b8878 2011-10-21 17:57:38 -07:00
Jimmy Shih 66f41ca1ae merge heads 2011-10-21 16:16:01 -07:00
Rodrigo Damazio 44f53dabed Merge heads 2011-10-21 20:26:43 -02:00
Jimmy Shih 2eee3c1c3e merge heads 2011-10-21 15:23:13 -07:00
Rodrigo Damazio ac652cbbd7 Also adding proper code formatting properties to signal strength projects. 2011-10-21 20:19:51 -02:00
Rodrigo Damazio de4a7be6a5 Fixing line length in project properties. 2011-10-21 20:07:36 -02:00
Jimmy Shih 5a3a2231c0 Fix classpath dependency on MyTracksLib
Move other projects to Android 4.0.
2011-10-21 14:19:46 -07:00
Jimmy Shih 8326d37806 merge heads 2011-10-21 13:50:19 -07:00
hardillb eb0ecadf31 Removed extra line added by accident 2011-10-21 19:45:16 +01:00
Jimmy Shih 661815ea1f Merge heads 2011-10-21 09:49:38 -07:00
Jimmy Shih e4f1ca83f9 merge heads 2011-10-20 18:07:10 -07:00
Jimmy Shih da2b9cb132 merge heads 2011-10-20 18:05:58 -07:00
Jimmy Shih 547e5a26ee Fix comment on 22e45d5be68c 2011-10-20 17:22:03 -07:00
Jimmy Shih 1068b64b74 Imrpove the layout style for all the Buttons on the bottom of a screen. 2011-10-20 17:13:39 -07:00
Jimmy Shih d8f6ed196e Add translation_description to prepare for translation.
Clean up menu items.
- change "Record track" to "Record Track"
- change "Stop recording" to "Stop Recording"
- remove "Delete all tracks", "Please select the track to view",
  "Current track", and "Last segment".
- move "Elevation" to the stat label section.
2011-10-20 15:56:45 -07:00
Rodrigo Damazio 9ebea2b040 Updating the My Tracks target to ICS (Android 4.0). 2011-10-20 20:52:28 -02:00
Rodrigo Damazio 0c41c36c0d Updating project to build with latest version of the ADT plugin and Android SDK.
The new version seems a bit quirky, if it has build problems try initially building one project at a time in the right order.
2011-10-20 20:50:16 -02:00
Rodrigo Damazio 1b1f3e3d8b Merging to head. 2011-10-20 20:03:43 -02:00
Rodrigo Damazio fe33982df7 Backing out unpushed ef8239961ed3 to merge with newest TrackDataHub. 2011-10-20 20:03:18 -02:00
Jimmy Shih 53804b6c80 Merge heads. 2011-10-20 09:52:46 -07:00
Jimmy Shih 5ce068b6fa Fix comments on 41a785ab72d4. 2011-10-19 17:23:05 -07:00
Jimmy Shih 9b97570a92 - Fix proguard issue with ANT+ services.
- Fix AntSensorManager.onDestroy, check antReceiver is not null.
- In AntSensorManager.onDestroy, log info rather than log error
  for AntServiceNotConnectedException.
2011-10-18 13:18:02 -07:00
Ase 352b844954 Corrected and added all spanish translations 2011-10-18 10:19:42 +02:00
hardillb 49fff1d17e Added an extra to carry the Track ID when files shared 2011-10-16 16:47:18 +01:00
Jimmy Shih d19f647d99 Move
- ApiFeatures.isAudioFocusSupported
- ApiFeatures.hasBackup
- ApiFeatures.useNetHttpTransport
into the appropriate ApiLevelAdapter.

Do not plan to move
- ApiFeatures.hasBluetoothDeviceCreateInsecureRfcommSocketToServiceRecord
- ApiFeatures.canReuseSQLiteQueryBuilder
- ApiFeatures.hasTextToSpeech
2011-10-14 16:09:09 -07:00
Jimmy Shih c5deb1d3b7 Fix comment on b786fecb39b0 2011-10-14 11:27:42 -07:00
Jimmy Shih 167e1e79a8 Clean up ApiFeatures.java
Rename CupcakePlatformAdapter to ApiLevel3Adapter.
Rename EclairPlatformAdapter to ApiLevel5Adapter.
Rename GingerbreadPlatformAdapter to ApiLevel9Adapter.
Rename ApiPlatformAdapter to ApiLevelAdapter.
2011-10-13 17:58:19 -07:00
Jimmy Shih 91b3decf01 Check in a sample app that uses the MyTracks API. 2011-10-13 15:34:25 -07:00
Jimmy Shih 4ab93b067e Added tag v1.1.10 for changeset 5595ebb1c6d4 2011-10-13 13:24:05 -07:00
Jimmy Shih 008fa88012 Update AndroidManifest.xml versionCode and versionName
for the next release.
2011-10-11 18:15:16 -07:00
Jimmy Shih 4c49497577 Fix comment on ad70806c8dc7 2011-10-11 16:36:10 -07:00
Jimmy Shih 8dd3741fa7 Fix comments for ad70806c8dc7 2011-10-11 16:19:54 -07:00
Jimmy Shih 5572e07b34 - Use BluetoothDevice createInsecureRfcommSocketToServiceRecord for API level 10 or above.
- Use DecimalFormatSymbols getInstance for API level 9 or above.
- Use Arrays copyOfRange for API level 9 or above.
- Remove ApiFeatures hasStrictMode.
- Fix comment on MapOverlay to indicate that the two methods should only be
  used during testing.
- Use android.text.format.DateFormat to format date and time in DocsHelper.
  This DateFormat uses the same locale format as the phone configuration.

Fix DecimalFormat
2011-10-11 14:54:49 -07:00
Jimmy Shih 3f5589b655 Clean up AndroidManifest.xml for SignalStrengthSampler. 2011-10-11 09:52:35 -07:00
Jimmy Shih 48abfdd621 Fix SignalStrengthSampler.
Fix style comment on TrackRecordingService.
2011-10-10 18:11:51 -07:00
Jimmy Shih 06088b807b Fix BluetoothConnectionManager by using the public api
to create an insecure connection.
2011-10-10 17:12:17 -07:00
Jimmy Shih 21e47d8ce0 Fix unit tests with TrackPathDescriptor.
In MapOverlay, for testing, expose a getter and a setter
for TrackPathDescriptor instead of newPath and getLastPath.

In SingleColorTrackPathPainter, refactor "new Path" to a
newPath method so that tests can override the newPath method
to provide a mockPath.
2011-10-10 16:47:59 -07:00
Jimmy Shih c39ab2fda2 - fix bluetooth connection manager when creating an insecure connection
- in ControlRecordingService, unbind right after handling an intent
  to prevent leaking ServiceConnection before handling the next intent.
- update comment in TrackRecordingService
2011-10-10 15:03:54 -07:00
Jimmy Shih 4197120d92 merge heads 2011-10-10 12:13:01 -07:00
Jimmy Shih da7bd0f4ea Update "Allow access" texts and variables
Change notification permission to dangerous
Sort entries in keys.xml alphabetically
2011-10-10 12:10:12 -07:00
Jimmy Shih 21ac283355 merge heads 2011-10-09 15:05:10 -07:00
Jimmy Shih 153f638e03 merge heads 2011-10-09 14:46:53 -07:00
Jimmy Shih 9156735aa0 Add a confirmation dialog when user allows access to other apps 2011-10-09 14:36:09 -07:00
Jimmy Shih b8ad90a4cb protect MyTracksProvider based on settings bit, version 2 2011-10-09 13:56:47 -07:00
Jimmy Shih 36f7ba71f9 Fix unit tests 2011-10-09 13:42:02 -07:00
Jimmy Shih b1af2089a4 merge heads 2011-10-09 13:13:30 -07:00
Jimmy Shih 2b50a314a5 backout changeset ced20b29c911 2011-10-09 13:13:01 -07:00
Jimmy Shih 376d02cce2 Protects MyTracks notifications based on the settings bit.
Only sends broadcast notifications if allowed by the settings bit.

Introduces a permission for internal MyTracks communication.
Thus the MyTracks app widget can use this permission to
always receive broadcast notifications when a track starts
and stops.
2011-10-07 18:05:23 -07:00
Rimas Trumpa a4ae9e8fd5 Fixed "My Location" map centering problem (Issue 501). 2011-10-08 01:48:13 +01:00
Jimmy Shih 9e5204934f Protect MyTracksProvider based on the MyTracks settings bit.
Move MyTracksProvider to DatabaseProvider and protect the DatabaseProvider
using the AndroidManifest.xml.

Create a MyTracksProviderUtilFactory to create an instance of
MyTracksProviderUtils that accesses the DatabaseProvider.

Recreate MyTracksProvider by extending DatabaseProvider.
The recreated provider checks access, changes the authority,
and invokes the DatabaseProvider methods.
2011-10-07 16:23:59 -07:00
Jimmy Shih 1ffd77595d Improve TrackRecordingService by placing checkService inside canAccess 2011-10-06 10:09:25 -07:00
Jimmy Shih dac6a362f2 merge heads 2011-10-06 09:54:21 -07:00
Umran Abdulla 6d29b5140b Fix for the exception thrown when remotely starting bluetooth sensors. 2011-10-06 15:02:39 +11:00
Umran Abdulla 2c5414a8e7 Makes changes to the sensor information screen, to allow sensor details to be
available when the application is not recording.
2011-10-06 14:26:10 +11:00
Jimmy Shih 2fa325dbf3 Protect TrackRecordingService to allow
external applications access based on the
sharing settings.

Protect all RPCs calls using the caller's
process id.

When the service is started, we cannot
tell whether the caller is MyTracks or
another app. Thus when the service
is started, we cannot access MyTracks
database or start/stop a recording.

Previsouly, only the MyTracks app
widget is using the service's start method
to start and stop a recording. Thus
create a private service, ControlRecordingService,
that only the MyTracks app widget can access and delegate
starting/stopping a recording to
TrackRecordingService.
2011-10-05 16:45:32 -07:00
Jimmy Shih 969a677d7d Add a Share data settings 2011-10-04 18:35:37 -07:00
Jimmy Shih 90470342e7 merge heads 2011-10-04 14:51:45 -07:00
Jimmy Shih a4e762fb01 update MyTracks permission labels and descriptions 2011-10-04 14:50:00 -07:00
Jimmy Shih da2d732041 fix proguard issues with google-api-client-1.5.0 2011-10-04 13:57:27 -07:00
Jimmy Shih 6a5acee438 merge heads 2011-09-29 18:14:44 -07:00
Jimmy Shih 49cd5014d2 merge heads 2011-09-28 19:41:18 -07:00
Josh Kasten 522882c0cc Added back throwing of IllegalStateExceptions to startNewTrack and
endCurrentTrack so they still are thrown when called from the
ServiceBinder methods.
2011-09-28 21:11:45 -05:00
Josh Kasten 7e8b4dc4b9 Removed ignore_illegal_state string and code the uses it.
Removed the throwing of exceptions on start and stop of tracks and instead
added checking to not run them.
2011-09-28 20:22:02 -05:00
Jimmy Shih 8e673f6634 Remove clearTrackDataHub in MyTracksApplication.java 2011-09-28 17:54:11 -07:00
Josh Kasten 05e6018bd1 Organized code in handleStartCommand into smaller methods to better see the code
paths and for eaier maintainability.
2011-09-28 19:22:49 -05:00
ase69s e1a845d49f I think i have done the commit correctly, althought i only had to correct manually keys.xml (add new key from the head branch xml to mine) 2011-09-29 01:34:43 +02:00
Josh Kasten 2deded2d88 Renamed omit_illegal_state to android.intent.extra.IGNORE_ILLEGAL_STATE
Code comment and code style change.
2011-09-27 22:49:53 -05:00
Josh Kasten af550a7104 Fixed widget to not cause a unhandled exception to occur if you press on the widget
before it can update its button intent.
2011-09-27 19:59:33 -05:00
Jimmy Shih e68d7eb12d Upgrade google-api-client from 1.2.2-alpha to 1.5.0-beta. 2011-09-27 14:38:31 -07:00
Jimmy Shih a186e68ca0 Fix based on Sandor's comments 2011-09-26 11:51:05 -07:00
Jimmy Shih 81c60ca6f2 merge heads 2011-09-26 11:27:34 -07:00
Jimmy Shih bd9347afd7 merge heads 2011-09-26 10:54:11 -07:00
Jimmy Shih 9023cdf726 merge heads 2011-09-26 10:53:43 -07:00
Jimmy Shih 9caef87899 Automated merge with http://jkasten-mytracks2.googlecode.com/hg 2011-09-23 09:26:21 -07:00
ase69s c9d9c065a2 Finally solved instanceof class test. Its ready to merge? 2011-09-23 17:54:58 +02:00
Jimmy Shih c024c8d87b Fix proguard issue with fusion table.
Fusion table depends on google-api-client-1.2.2.alpha.jar.
Proguard needs to be set correctly for the google-api-client library.

Tested a release version and is able to send a track to fusion table.
2011-09-22 18:47:31 -07:00
Josh Kasten 850a0d988a Fixed Next key on the virtual keyboard on the "Marker Type" field to the next
field in the waypoint and track details activities.
2011-09-22 20:29:46 -05:00
Jimmy Shih 7bd3128e8f In MyTracks onDestroy, set trackDataHub to null to save memory 2011-09-22 12:22:23 -07:00
Jimmy Shih 43a1ec60ce create MyTracksApplication to keep global state like TrackDataHub 2011-09-22 11:25:27 -07:00
ase69s d04d83b972 Theorically solved last problem with tests...anything more? 2011-09-22 19:22:28 +02:00
Josh Kasten 89516c41e3 Added hints to all text input fields with the same value as their label for
all languages.
2011-09-22 00:03:57 -05:00
Jimmy Shih 4f9b6535fb Automated merge with http://mytracks.googlecode.com/hg/ 2011-09-21 16:17:01 -07:00
Jimmy Shih 6ab1f6158a Fixes various unit tests 2011-09-21 16:16:37 -07:00
Josh Kasten bb8e6a51f4 * Added display_settings_screen_key to keys.xml and put it to use in
CheckUnits and SettingsActivity classes for use with intents.

* In SettingsActivity split onCreate() code into initActivityCommons() and
  initActivitySpecifics() methods for easier maintaining of code required
  for all screens and code require for only some screens.
2011-09-20 19:52:53 -05:00
ase69s 7a8ea2666b Review issues corrected, pending issue about "expect" with class type argument 2011-09-20 22:31:59 +02:00
Josh Kasten 3029c6d10c * Changed SettingsActivity and CheckUnits
to use open_settings_screen instead of "Open".

* Cleaned up SettingsActivity by removing the class scoped variable displaySettingsOnly.
2011-09-19 17:54:00 -05:00
Josh Kasten 9bb0ba2953 Merge from main repo 2011-09-19 17:38:32 -05:00
Sandor Dornbush 0e22eaf7c3 Merging head. 2011-09-19 13:43:58 -07:00
ase69s 53ee9d31bc Review issues corrected, added test case for remaining class TrackPathPainterFactory 2011-09-19 20:25:41 +02:00
Jimmy Shih 7134edf2f2 Create DialogButton and DialogButtonSpacer styles.
Modify mytracks_send_to_google.xml dialog to use these styles.
2011-09-15 11:20:20 -07:00
Jimmy Shih e4da671cbc Improve the buttons layout on the "Send to Google" dialog.
For style,
I sort the attributes alphabetically except for "android:id".
If "android:id" exists, I place it on the same line as the element.
2011-09-14 17:31:57 -07:00
Josh Kasten 8cde2420e7 Merge from main repo 2011-09-13 22:48:50 -05:00
ase69s 3c4c215931 Review issues corrected 2011-09-13 20:26:28 +02:00
Rodrigo Damazio 2685309926 Fixing NPE in finalizer. 2011-09-11 09:06:06 -03:00
Rodrigo Damazio 03b4a788c5 Fixing potential race condition when stopping the data hub. 2011-09-11 08:48:58 -03:00
Rodrigo Damazio eb6cdd0fc0 Fixing the fixes for localization and track importing.
Fixes issue 462
Fixes issue 559
Fixes issue 540
2011-09-11 08:16:58 -03:00
Josh Kasten 0b1c24e55c Fixed the first app start message of "Units of Measure Notice" to jump to the
display section of the settings instead of the root when pressing yes.
2011-09-11 02:00:42 -05:00
ase69s 057c2d69a9 Suggested corrections made (Pending corrections in halt until getting response from the last revision comments i made) 2011-09-10 11:31:22 +02:00
van.isacker.pieter 79c2cf90cf Fix gpx import thread error (issue 559) 2011-09-09 16:51:08 +02:00
van.isacker.pieter 20cbdccbf6 Make use of HTTPS urls for google services.
Fix formatting by using locale settings
2011-09-09 14:49:31 +02:00
ase69s 5d05d71210 Track Color Mode Beta 2011-09-06 23:52:51 +02:00
Sandor Dornbush 08294e8ada Avoid RejectedExecutionException. 2011-09-05 21:37:09 -07:00
Sandor Dornbush 41f7262280 Merging extra head. 2011-09-02 19:27:46 -07:00
Sandor Dornbush 6aa361b801 Merging stride changes 2011-09-02 19:26:06 -07:00
buff3r 7bcc428178 adding ability to delete a statistics marker if it is the first marker in the list 2011-09-01 17:03:38 -07:00
buff3r c212217f67 adding ability to delete a statistics marker if it is the first marker in the list 2011-09-01 16:52:31 -07:00
Dominik R?ttsches 9281e0adf3 Revision comments for rev 5bcaab17e76f addressed. 2011-08-27 14:32:37 +03:00
Dominik R?ttsches ace10fc511 Review comments for revision fd70af575b77 addressed. 2011-08-26 18:03:57 +03:00
Dominik R?ttsches 0ac923e104 already merged 2011-08-25 15:56:16 +03:00
Dominik R?ttsches 082aa0a34a overriden in ca3651f10063 2011-08-25 15:54:48 +03:00
Dominik R?ttsches acf5c0931f Addressing review comments for StrideReadings class and related test cases:
- removing inner class, and recording of heartbeat timestamps
- fixing issue with rollover by replacing % operator with modulo operation
- comparing problematic firmware id against byte[] instead of String
- removing zephyr packet debug loggin
- not reassigning protobuffers Builders
- moving decision to use workaround into setCadence function
- license and javadoc author for testcase class
- proposal: using introspection to access private fields in testcase in order to determine expected availablity of values from getCadence, alternatively modify access to protected.
- modifying rollover test, hopefully more clear now.
- adding asserts during the loop in this test case.
2011-08-25 15:12:33 +03:00
Dominik R?ttsches ee204f35ef Addressing review comments for revision ca3651f10063.
+ limiting RunCadence to 254, same as it was done for cycling Cadence.
2011-08-25 13:16:02 +03:00
Rodrigo Damazio e51de2bfce Added tag v1.1.9 for changeset 2df0fdeea8c1 2011-08-23 22:38:08 -03:00
Rodrigo Damazio c7da9a45ee Releasing v1.1.9. 2011-08-23 22:37:48 -03:00
Dominik R?ttsches e885224855 TCX Output Tuning
- Interpret cadence only as biking cadence when activity was marked as biking.
- Otherwise encode as RunCadence in the Extensions
2011-08-21 16:10:01 +03:00
Dominik R?ttsches d48eccc0e4 TCX Output Tuning
- Interpret cadence only as biking cadence when activity was marked as biking.
- Otherwise encode as RunCadence in the Extensions
2011-08-21 16:08:26 +03:00
Dominik R?ttsches 21012b305f Adding battery level to sensor state activity. 2011-08-21 15:00:11 +03:00
Dominik R?ttsches a79e322eff Addressing warning. 2011-08-21 14:17:54 +03:00
Dominik R?ttsches b5a1cf1b10 Adding tests for new StrideReadings class. 2011-08-21 14:11:35 +03:00
Dominik R?ttsches 40ebd7bc2c Adressing a round of review comments. Tests in separate commit. 2011-08-21 13:55:11 +03:00
Dominik R?ttsches ef37ee0f38 Merging batteryLevel branch. 2011-08-21 00:40:47 +03:00
Dominik R?ttsches 49033bf952 Fix for Cadence values from HxM with Hardware/Firmware Identification 0x1A00316550003162 2011-08-20 16:58:36 +03:00
Dominik R?ttsches d9725240a6 Storing battery level in new protobuf field. 2011-08-20 01:25:58 +03:00
Dominik R?ttsches cb5518a261 Adding battery_level to protobuffers spec. 2011-08-20 01:01:43 +03:00
Dominik R?ttsches ac71d8aa2a Fixing TCX generation:
- Cadence before Extensions
- Adding BuildMajor and BuildMinor to Version since it seems to be required by http://connect.garmin.com
- Version Values now only contain integers by splitting mytracks version code at dots, allows correct XML validation.
2011-08-19 23:01:55 +03:00
Rodrigo Damazio aa733fbfb1 Merging to head. 2011-08-19 13:19:47 -03:00
Rodrigo Damazio d2b8f65612 Added tag v1.1.8 for changeset d4623f208a4a 2011-08-19 13:19:22 -03:00
Rodrigo Damazio cf6ac06f73 Fixing the display of waypoints. 2011-08-19 01:40:15 -03:00
Rodrigo Damazio 496ad9c4e2 Fixing menu items.
The complicated bit that was missing was the delete action, which is now its own activity with proper intent handling.
2011-08-19 01:33:46 -03:00
Rodrigo Damazio 657ec17559 Fixing usage of Charset in java.lang.String, which is only supported in API level 9. 2011-08-18 15:33:39 -03:00
Sandor Dornbush 62c9af5cba Release v 1.1.8 2011-08-17 09:34:56 -07:00
Sandor Dornbush a4f16a1f30 Pick up new Chinese translations 2011-08-13 08:25:45 -07:00
Sandor Dornbush 1b595ee7fe Pick up new Chinese translations 2011-08-13 08:24:12 -07:00
Sandor Dornbush fa556e4e33 Merged with head. 2011-08-11 09:28:10 -07:00
Sandor Dornbush 391d718909 Switch widget icons.
Fix errors in finish translation.
2011-08-11 09:06:32 -07:00
Rodrigo Damazio 2ce14e443d Merging to head. 2011-08-08 16:08:38 -03:00
Rodrigo Damazio cdf0a3a3e7 Fixing description/icon in waypoint creation request. 2011-08-07 03:48:59 -03:00
Rodrigo Damazio f00f9a5277 Added APN logging to the signal strength sampler.
(not tested on CDMA)
2011-08-07 03:47:03 -03:00
Ville Muurinen 7112642e89 Merging to head. 2011-08-04 20:50:50 +03:00
Ville Muurinen 3714c21f97 Changed and improved translation based on comments 2011-08-04 20:45:42 +03:00
Rodrigo Damazio 24c49b7f2f Merge with head. 2011-08-01 20:22:31 -03:00
Rodrigo Damazio b16429f3f8 Differentiating between GPS provider unavailable and disabled - unavailable, in some implementations (such as Samsung's) just means it doesn't have a fix.
(Fixes issue 505)
2011-08-01 15:31:42 -03:00
Rodrigo Damazio 27734495f4 Fixing race condition made evident by G1's slowness :) 2011-08-01 14:47:08 -03:00
Rodrigo Damazio 097b338d19 Fixing cupcake uploading by not referencing the Account object. 2011-08-01 14:46:51 -03:00
Sandor Dornbush cbb8450435 Merge with head. 2011-07-28 15:36:01 -07:00
Sandor Dornbush 3b7e0a91bd Tighten up the border. 2011-07-27 21:52:12 -07:00
Rodrigo Damazio d9a1e56282 Review suggestions 2011-07-25 21:33:58 -03:00
Rodrigo Damazio b63e74369c Attempt at working around Samsung bug which crashes the account manager service - the auth token call now synchronously calls 2011-07-22 21:04:15 -03:00
Rodrigo Damazio 4d0ba06cba Getting rid of backported accounts API since it's only used for API levels where we have native accounts. 2011-07-22 21:12:21 -03:00
Rodrigo Damazio c4369dc237 Bundling coding style into the projects themselves.
With this there's no need to manually import the xml files.
Downside is that if we decide to change something, we need import it in all projects (e.g. change in one, save as a template, then select that template on others).
2011-07-21 03:12:14 -03:00
Rodrigo Damazio 99dd212496 Updating main app to Honeycomb MR2.
(downgrading signal strength app to Gingerbread since it doesn't need anything more than that)
2011-07-20 14:27:06 -03:00
Rodrigo Damazio 6e41033ed6 Addressing review suggestions 2011-07-15 13:20:20 -03:00
Rodrigo Damazio 90a5cb7aae Enabling some sensible warnings which are not on by default in Eclipse. 2011-07-15 13:19:14 -03:00
Rodrigo Damazio bccfbaa03b Style and warning fixes. 2011-07-12 20:42:25 -03:00
Rodrigo Damazio e32ff7116d Simplyfing the authentication dance by handling both success and failure together, and both of them outside onActivityResult. 2011-07-12 20:19:59 -03:00
Rodrigo Damazio 00214843cb Improve state handling, specially in cases where SendActivity gets destroyed. 2011-07-12 20:11:47 -03:00
Sandor Dornbush dd4054c4fc Address comments. 2011-07-11 22:50:06 -07:00
Sandor Dornbush 0b40b92340 Clean up code + add pace. 2011-07-11 22:30:49 -07:00
Rodrigo Damazio 60a3c41003 Merge with head. 2011-07-11 18:01:39 -03:00
Sandor Dornbush f501c60de1 Address comments. 2011-07-11 11:32:54 -07:00
Sandor Dornbush b985a935b0 Address comments. 2011-07-07 22:25:41 -07:00
Rodrigo Damazio a2f1790db2 Merge with head. 2011-07-07 18:25:36 -03:00
Sandor Dornbush 5784ab63cc Final widget fixes. 2011-07-05 22:11:05 -07:00
Rodrigo Damazio fd857c2586 Fixing race condition in chart UI update thread. 2011-07-05 23:15:47 -03:00
Sandor Dornbush 29df8762e2 Merge with head. 2011-07-05 16:33:45 -07:00
Sandor Dornbush 32e13c3495 Fix polar tests and sensor strings. 2011-07-05 15:20:04 -07:00
Sandor Dornbush e6151b3b71 Fix polar tests and sensor strings. 2011-07-05 15:19:21 -07:00
Sandor Dornbush 6823b08651 Merge with head. 2011-07-03 15:47:20 -07:00
Sandor Dornbush b588bb02f4 Fix formatting. 2011-07-03 10:02:16 -07:00
Sandor Dornbush faf7b6efa2 Fix widget and address comments. 2011-07-03 09:58:04 -07:00
Rodrigo Damazio 03492da2cd Fixing time-based chart drawing by ensuring data is reloaded and fixing a race condition. 2011-07-01 03:56:33 -03:00
Rodrigo Damazio 8abfc2ada0 Removing old comment 2011-07-01 01:56:34 -03:00
Rodrigo Damazio a262a2ef71 Adressing review suggestion. 2011-07-01 01:11:00 -03:00
Ville Muurinen 435a38f1d1 Removed unnecessary files 2011-06-30 22:47:00 +03:00
Ville Muurinen 91d7db7c01 Added Finnish translation 2011-06-30 19:38:34 +03:00
Rodrigo Damazio e298c88728 "I see dead threads".
Removing handler threads which were left to die, forever alone with nothing to execute.
2011-06-30 04:03:30 -03:00
Rodrigo Damazio d58e7a58d0 Making the target account be selected only once. 2011-06-30 03:44:25 -03:00
Rodrigo Damazio e530412ef0 Adding state persistence for low-memory situations and handling the share action. 2011-06-30 03:20:08 -03:00
Rodrigo Damazio 1d5e2dc4d5 Addressing TODO: Making SendActivity a state machine. 2011-06-30 02:26:01 -03:00
Rodrigo Damazio d0b5faf266 Fixing a couple of race conditions. 2011-06-30 02:24:34 -03:00
Rodrigo Damazio 76e8a39276 Allowing SendActivity to receive sub-activity results (onActivityResult calls). 2011-06-30 02:23:48 -03:00
Rodrigo Damazio 66fe8e694f Addressing review suggestions. 2011-06-29 18:07:00 -03:00
Rodrigo Damazio abd8a230b4 Moving back to managed dialogs to make them still work cross-activity. 2011-06-28 05:58:54 -03:00
Rodrigo Damazio 565662a8aa Minor style fix in authentication classes 2011-06-28 02:38:12 -03:00
Rodrigo Damazio 0f00e71b5e Merging to head. 2011-06-27 05:40:36 -03:00
Rodrigo Damazio 44fea0117d Fixing the closing of send to google dialogs. 2011-06-27 05:20:54 -03:00
Rodrigo Damazio b9b39a24f7 Merging to head 2011-06-27 05:15:32 -03:00
Rodrigo Damazio 358fb87683 Addressing review suggestions 2011-06-24 16:20:29 -03:00
Rodrigo Damazio f0ef73d150 Merging to head. 2011-06-22 17:17:31 -03:00
Rodrigo Damazio 1d2297a5fc Fixing some nits from static analysis. 2011-06-22 17:16:40 -03:00
Rodrigo Damazio 862736bba4 Changing service connection to be a non-singleton, and properly handle its state. 2011-06-22 16:35:40 -03:00
Sandor Dornbush e30dac7cc2 Allow units not in metric. 2011-06-21 22:24:14 -07:00
Sandor Dornbush f97d5fa232 Clean up widget. 2011-06-21 22:00:40 -07:00
Rodrigo Damazio e909616aff Minor reorg in the service - just reordering methods. 2011-06-22 01:59:34 -03:00
Sandor Dornbush be219bbee6 Merged with 1.1.7 2011-06-21 21:19:01 -07:00
Sandor Dornbush 17c1c81b4e Try to clean up widget. 2011-06-21 21:17:03 -07:00
Sandor Dornbush bf0a16c707 Added tag v1.1.7 for changeset a9c635c8e7b4 2011-06-21 21:05:26 -07:00
Sandor Dornbush 86a54feb41 1.1.7 2011-06-21 21:02:57 -07:00
Rodrigo Damazio 2c923470f8 Removing service calls which were just delegates to the provider utils.
These weren't used anywhere, and this change makes a more clear separation between dealing with track data and dealing with the recording service.
2011-06-17 14:04:56 -03:00
Sandor Dornbush 5d26250b45 Revert overzealous argument checking. 2011-06-15 21:48:28 -07:00
Sandor Dornbush 6d90e0bf51 Minor fixes. 2011-06-14 21:43:06 -07:00
Rodrigo Damazio 51df795a8c Fixing leftovers from the merge 2011-06-14 20:48:00 -03:00
Rodrigo Damazio 9ee053e4f9 Merge to head (non-trivial merge) 2011-06-14 20:42:57 -03:00
Sandor Dornbush 4044185ab3 Set product version. 2011-06-14 10:32:37 -07:00
Sandor Dornbush f4fe825162 Fixed analytics. 2011-06-14 10:09:14 -07:00
Sandor Dornbush cb785b89f0 Add simple analytics. 2011-06-13 21:15:37 -07:00
JohnG 8289128399 String array sensor_type_options fix
Reverted .classpath.  (Oops)
Moved move the old strings from arrays.xml to strings.xml.
Created sensor_type_options string for "None" for language support.
2011-06-13 23:09:20 -04:00
Sandor Dornbush e9146f5fc1 Merge. 2011-06-12 22:34:18 -07:00
Sandor Dornbush bc7de458d3 Cap at 254. 2011-06-12 22:28:48 -07:00
Rodrigo Damazio 4aa44331f0 Adding new activity types, contributed by Marius F. 2011-06-10 20:00:47 -03:00
Rodrigo Damazio eada19f516 Addressing review suggestions and fixing text-to-speech initialization. 2011-06-10 19:52:18 -03:00
Sandor Dornbush 63677b1451 Merged widget. 2011-06-09 20:57:48 -07:00
Sandor Dornbush 5789d96a3d Cap cadence in TCX files. 2011-06-09 20:32:24 -07:00
Rodrigo Damazio 0afdeb9bcc Fixing a few less common issues from the Market console. 2011-06-09 22:22:57 -03:00
Rodrigo Damazio 79dd8f4e49 Fixing some of the top issues from the Market console:
- Not trying to show dialogs if activity is going away
- Properly handling when the user doesn't select an account
- Handling unwritable database (due to memory full?)
- Handling NPE from fusion tables upload
- Not trying to touch dialogs when we're about to restart the whole app
2011-06-09 22:07:25 -03:00
Rodrigo Damazio 93f204ba22 Uniformly handling id == 0 (it's not valid, but everywhere we only assume < 0 is invalid, so do the same here) 2011-06-09 19:45:08 -03:00
Rodrigo Damazio 98ad96115a Properly handling invalid track/point/waypoint IDs.
This makes the provider utils implementation return null for those cases, and fixes all callers which didn't check for that.
2011-06-09 19:12:51 -03:00
Rodrigo Damazio ae4ce12c17 Added tag v1.1.6 for changeset 43a7a27cd4f0 2011-06-03 19:23:24 -03:00
Rodrigo Damazio b8767042b4 Released version 1.1.6 2011-06-03 19:23:01 -03:00
Rodrigo Damazio 200e5f3373 Addressing review suggestion. 2011-06-03 11:19:24 -03:00
Rodrigo Damazio ebb68cccfe Fixing imports 2011-06-03 01:26:22 -03:00
Rodrigo Damazio cc4be23802 Fixing Toast calls outside the UI thread. 2011-06-03 01:24:42 -03:00
JohnG 9f44b1695d Merge error fix.
String polar_sensor_type was left out of Sensor Type array.
2011-06-02 20:58:27 -04:00
JohnG 94344deff3 Change sensor_type_options array to support different languages.
Moved sensor_type_options from arrays.xml to arrays_do_not_translate.xml.
Added strings to strings.xml.
2011-06-01 23:20:00 -04:00
Rodrigo Damazio a41994cb41 Review suggestions 2011-06-01 17:34:44 -03:00
Rodrigo Damazio eee6a713fa Clean-up of issues found by static analysis. 2011-06-01 05:23:25 -03:00
Rodrigo Damazio aed28fe503 Cosmetic and unused method changes. 2011-06-01 04:58:34 -03:00
Rodrigo Damazio 7bc72e683b Merging to head. 2011-06-01 02:45:41 -03:00
Rodrigo Damazio 31e386de44 Optimization: getting rid of some objects when the hub is stopped. 2011-06-01 02:02:49 -03:00
Rodrigo Damazio 31737efd87 And the moment we've been all waiting for....MyTracks is no longer a singleton. 2011-06-01 01:44:07 -03:00
Rodrigo Damazio be096b9657 Removing no-longer-necessary methods from the platform adapters. 2011-06-01 01:40:12 -03:00
Rodrigo Damazio 3e773ef94b Making TrackDataHub an application singleton (using the application context to ensure we don't leak MyTracks). 2011-06-01 01:39:51 -03:00
Rodrigo Damazio 111adc917b Getting rid of insertWaypoint singleton dependency. 2011-05-31 03:16:14 -03:00
Rodrigo Damazio 6a1b2861f3 Getting rid of unused DialogManager calls. 2011-05-31 03:10:25 -03:00
Rodrigo Damazio ed3ff01c22 Freeing MyTracks from isRecording() calls. 2011-05-31 03:09:08 -03:00
Rodrigo Damazio 73e4af98cc Cutting service binding and preferences dependencies to the MyTracks singleton. 2011-05-31 02:35:05 -03:00
Rodrigo Damazio 84835428ba Merging to head 2011-05-26 10:01:44 -03:00
Rodrigo Damazio 9f3099ef2b Addressing review suggestions 2011-05-26 09:58:29 -03:00
Rodrigo Damazio 412eed51cd Removing DialogManager test which is no longer needed. 2011-05-25 21:26:07 -03:00
Rodrigo Damazio bd20d1af02 Addressing review suggestions 2011-05-25 21:25:46 -03:00
Rodrigo Damazio a15932cc7f Passing track IDs as URIs instead of extras. 2011-05-25 20:13:49 -03:00
Rodrigo Damazio 8942c31a5c Making the "Show track" button after an import clear the stack. 2011-05-25 19:21:56 -03:00
Rodrigo Damazio 90fe6921e2 Moving track importing out of MyTracks class. 2011-05-25 19:19:21 -03:00
Rodrigo Damazio e8a872d351 Improving intent handling so each activity receives its data type. 2011-05-25 19:17:34 -03:00
Rodrigo Damazio a16ae846ae Added tag v1.1.5 for changeset a34fd36dffc6 2011-05-25 16:20:22 -03:00
Rodrigo Damazio 38de0e352f Releasing 1.1.5 2011-05-25 16:19:54 -03:00
Rodrigo Damazio eeaa50ddcb Removing singleton usage: moving all send and save logic out of the MyTracks class.
This is a non-trivial step: I decentralized dialog creation (since it made no sense to have a single place creating a lot of completely unrelated dialogs), made invisible activities just for sending/saving, and changed menu handling a bit, all to decentralize those functions from MyTracks.

There's still a TODO to handle GET_LOGIN more nicely instead of returning from the depths of auth management into the current activity.
2011-05-25 04:50:21 -03:00
Rodrigo Damazio 16b0d4eb24 Removing singleton usage: chart settings dialog 2011-05-25 02:13:38 -03:00
Rodrigo Damazio 053fb403c5 Merging 2011-05-24 14:19:12 -03:00
Rodrigo Damazio 1d70d4bca0 Merging 2011-05-24 14:18:57 -03:00
Rodrigo Damazio bba04ba1bd If the only listener is a new one (and since for optimization we keep its state as the global state), we want to reset the global state before loading points onto it. 2011-05-24 13:53:26 -03:00
nic e926180605 Updated tests for Zephyr HxM message parsing to check signed/unsigned conversion 2011-05-24 17:35:12 +02:00
nic 958b62f8c7 Reverting change that was proposed in review comments of revision 3dfdbcf78de0 for Line 39: the 0xFF bit mask is necessary as Java byte is -128 to 127, not 0 to 255. 2011-05-24 09:45:06 +02:00
JohnG d238a9e9dd Polar HRM cleanup, take III
Code review of May 20 comments addressed.
2011-05-21 09:01:41 -04:00
Rodrigo Damazio 1588c25fba Merging to head 2011-05-20 14:42:10 -03:00
JohnG fb993a7060 Polar HRM parser tests. 2011-05-20 00:38:39 -04:00
JohnG 6b375614ca Fixes for Polar HRM code review of May 1.
Addressed all comments.  Cleaned up Polar parser mostly.
Added decaying heart rate algo for now.

Tried to reach out to joni to work on merging projects.  No response yet.
2011-05-19 23:00:22 -04:00
Rodrigo Damazio da928fb549 Making data hub tests run considerably faster. 2011-05-19 21:42:40 -03:00
Rodrigo Damazio f657c2f1d1 Adding tests and making minor reorg changes. 2011-05-19 20:59:40 -03:00
nic 594cc0f06d Merge with a128c27963002c1d46170696e1c1045db4e1de87 2011-05-19 16:39:51 +02:00
nic d712bb1988 Updated tests for revisions d6fb857fb559 (Zephyr HxM message parsing) 2011-05-19 16:38:26 +02:00
Rodrigo Damazio d00c92ef99 Fixing incremental loading when there's only a single listener. 2011-05-18 17:55:39 -03:00
Rodrigo Damazio 59a30238eb Merging to head 2011-05-17 01:19:58 -03:00
Rodrigo Damazio cb75c6fbe6 Fixing eclipse warnings all over the project. 2011-05-17 00:15:02 -03:00
Rodrigo Damazio 8056b66714 Fixing sampling frequency calculation. 2011-05-16 23:43:24 -03:00
Rodrigo Damazio e09501d779 Minor reorg in sampling code. 2011-05-16 23:42:49 -03:00
nic 70192222ad - comment from http://code.google.com/r/nic-sensors/source/detail?r=116bf0d1136edaa75c6bb5609b3c16e99ecb1ad8 2011-05-13 08:49:20 +02:00
bartn cc253d4b33 Removed untranslated strings. 2011-05-12 14:51:13 -07:00
bartn 7d3918a1c6 Fix typos in Polish translations and a few missing translations. 2011-05-12 12:25:02 -07:00
nic e759a14909 -comments from http://code.google.com/r/nic-sensors/source/detail?r=7fd41979e22a99d8173fe91df25124e85c1766e9 2011-05-12 09:57:29 +02:00
nic fd5a1c5b4b - integrating comments from code review proposals http://code.google.com/r/sandordornbush-patches/source/detail?r=3dfdbcf78de082edb66a8994ffb604c84945df0d 2011-05-11 11:34:47 +02:00
nic c95dc12a96 Merge with 3dfdbcf78de082edb66a8994ffb604c84945df0d 2011-05-10 10:09:04 +02:00
Nico Laum 70ef5912c2 - new method to calculate an Int from Little Endian data (according to the HxM documentation the data is Little Endian)
- new methods to calculate the CRC8 checksum
- in ZephyrMessageParser the CRC8 now is used in isValid() and the cadence and power values are written to the SensorData objects
2011-05-09 09:53:59 +02:00
Rodrigo Damazio 79bb9db3b9 Backing out changeset f35dbbe86d616e41561839a2316867b8e7e68d88 (broke gmail sharing). 2011-05-06 15:51:46 -03:00
Rodrigo Damazio d3791ea99b Providing network or null locations to activities, in the appropriate situations, and addressing minor style suggestions. 2011-05-06 15:45:35 -03:00
Rodrigo Damazio 5982fed0b8 Fixing sampling for re-registered listeners. 2011-05-04 22:52:34 -03:00
Rodrigo Damazio 1254df2db1 We were already assuming that the sampled-out listeners are a subset of sampled listeners, so optimize state update. 2011-05-04 22:44:36 -03:00
Rodrigo Damazio 8a23af8581 Merge to head. 2011-05-04 22:06:16 -03:00
Rodrigo Damazio 9cabb27c39 Filtering out non-GPS updates 2011-05-04 22:03:20 -03:00
Rodrigo Damazio 5c17437ba6 Assuming that we have a GPS provider until we're told otherwise
(this avoid a startup toast saying we have no GPS).
2011-05-04 21:50:16 -03:00
Rodrigo Damazio 520c3659d2 Fixing clearing of stats at the start of recording. 2011-05-04 21:45:23 -03:00
Rodrigo Damazio 962374b765 Optimizing re-registration of listeners so they receive updates since they were unregistered instead of a full reload. 2011-05-04 20:48:52 -03:00
Rodrigo Damazio 8fcc809299 Standardizing the creator string across exported file formats. 2011-05-04 18:21:49 -03:00
Sandor Dornbush 8eac101082 Fix-up Zephyr
- Add cadence
- Add power
- Check crc
2011-05-03 21:27:45 -07:00
JohnG b1605ac44e Polar parser 2011-05-01 15:15:13 -04:00
JohnG 90afc1e221 Polar parser 2011-05-01 15:14:41 -04:00
JohnG adeba81340 Polar parser 2011-05-01 15:13:55 -04:00
JohnG 8c10b7ba04 Polar parser 2011-05-01 15:13:34 -04:00
JohnG 8aae77ff70 Polar parser 2011-05-01 15:13:06 -04:00
JohnG 7eeacc6268 Polar parser 2011-05-01 15:12:33 -04:00
JohnG 06e02781d2 Polar parser 2011-05-01 15:11:53 -04:00
Rodrigo Damazio 3b5625c663 Adding javadoc to ChartView. 2011-04-30 22:35:59 -03:00
Rodrigo Damazio ea47f93bc1 Breaking down chart drawing methods as suggested by Sandor. 2011-04-30 19:16:13 -03:00
Rodrigo Damazio c33c2de18b Adding missing return 2011-04-30 18:42:18 -03:00
Rodrigo Damazio f125a798bf Fixing a few of the issues in chart drawing. 2011-04-30 04:37:59 -03:00
Rodrigo Damazio 84d7281002 Test fix: Moving tests after the tested classes have moved. 2011-04-30 02:58:44 -03:00
Rodrigo Damazio d98a53ec43 Merging to head. 2011-04-30 02:42:35 -03:00
Rodrigo Damazio ee3026233e Fixing handling of no loaded track. 2011-04-30 02:40:46 -03:00
Rodrigo Damazio 8fb0b69a79 Further splitting the data hub. 2011-04-30 02:39:56 -03:00
Benjamin Hardill b hardill 03ce6c05a9 Remove extra MyTracksProviderUtils instance 2011-04-26 01:10:01 +01:00
Benjamin Hardill b hardill 1d3a03909b Added Track as an extra to the Intent used with Intent.ACTION_SEND
Also removed the Locations ArrayList from the Track writeToParcel and createFromParcel as it's no longer populated
2011-04-26 00:43:20 +01:00
saxman 7020b78faa Removed mytracks prefix from files and variables.
Moved colors to colors.xml.
Code clean-up and more documentation.
2011-04-25 09:00:39 -07:00
saxman f1746b41a2 Added widget for displaying track stats and starting/stopping tracks.
Added track update broadcast to TrackRecordingService.
Added start and end track actions to TrackRecordingService.
2011-04-23 23:59:47 -07:00
Rodrigo Damazio 22b96e4b24 Moving data hub and related classes to content package. 2011-04-23 04:05:58 -03:00
Rodrigo Damazio ddf684f6c6 Removing duplicate import_done string. 2011-04-23 03:00:37 -03:00
Sandor Dornbush cc9d327ea0 Kill second head. 2011-04-21 16:01:08 -07:00
Sandor Dornbush 47e23e3463 Make the empty chart slightly less ugly. 2011-04-21 15:57:59 -07:00
Sandor Dornbush 8feb903021 Fix minor bug in send to fusion tables. 2011-04-19 21:04:29 -07:00
Sandor Dornbush 124172e4d7 Disable import and export while recording. 2011-04-19 20:57:50 -07:00
Sandor Dornbush 9d4367cfac Fix waypoint selection. 2011-04-19 20:43:28 -07:00
Matthew Simmons 6cd9dfce8c Constants.TAG -> TAG 2011-04-12 17:37:10 -04:00
Matthew Simmons 4a3dbe4d60 Move ANT Sensor classes into the ANT subdirectory 2011-04-12 17:32:49 -04:00
Matthew Simmons 062ab5045a Add an enum which stores static data about ANT sensors. 2011-04-12 17:13:11 -04:00
Matthew Simmons ba472d3b7b Allow cancellation of track write 2011-04-12 15:43:54 -04:00
Rodrigo Damazio 82adcf37f4 Fixing stats screen registration. 2011-04-12 15:58:58 -03:00
Rodrigo Damazio 4f23690ab4 Fixing stats screen registration. 2011-04-12 15:22:23 -03:00
Rodrigo Damazio 17481aeb38 French string fix 2011-04-12 15:05:01 -03:00
Matthew Simmons 26adbb1717 code review comments 2011-04-12 13:14:05 -04:00
Matthew Simmons ffd2785499 merge 2011-04-12 12:49:17 -04:00
Rodrigo Damazio 5c6d160cbf Minor cleanup. 2011-04-12 02:00:18 -03:00
Rodrigo Damazio 28a5c5b343 Merging to head. 2011-04-12 01:42:27 -03:00
Rodrigo Damazio 3501fff7fc Fixing first-startup NPE. 2011-04-12 01:23:36 -03:00
Rodrigo Damazio 1988337598 Multiple improvements to the data hub:
* Making registration finer-grained so we only listen to the data we really need.
* Moving the system listener registration to an external class (for testability and readability)
* Adding a unit test (not yet complete)
* Adding documention and cleaning up comments

Still many things TODO:
* Allow pausing of registrations
* Add pause/resume to onPause/onResume of activities
* Move sampling logic out of the hub
* Optimize data reloading when display preferences change
* (maybe) move the data hub and related classes to the "content" package
2011-04-12 01:22:57 -03:00
Sandor Dornbush be2fdd5cfa Merge with ru. 2011-04-11 19:57:51 -07:00
Sandor Dornbush ef0837c514 Address comments. Merge in Rodrigo's Changes. 2011-04-11 19:26:52 -07:00
Sandor Dornbush 252f88e362 Address comments. Merge in Rodrigo's Changes. 2011-04-11 19:24:36 -07:00
Sandor Dornbush 8ba9b47141 Address comments. Add periodic task factories. 2011-04-07 11:55:36 -07:00
Matthew Simmons f984339b13 code review comments 2011-04-06 18:46:14 -04:00
Matthew Simmons a1ff1d2585 Add file export progress 2011-04-06 17:31:48 -04:00
Matthew Simmons 3bbe7d0322 add javadoc 2011-04-06 14:06:19 -04:00
Matthew Simmons 3fd729f1a2 Extract an interface from TrackWriter to ease testing. 2011-04-06 13:49:31 -04:00
Matthew Simmons 375b75c422 merge russian messages 2011-04-06 11:30:15 -04:00
Matthew Simmons 340a1e3e3a merge messages 2011-04-06 11:29:07 -04:00
Sandor Dornbush 8d3ab8f93b Refactor periodic tasks. 2011-04-05 21:34:47 -07:00
Sandor Dornbush 8dc52de871 Merging 2011-04-05 21:21:55 -07:00
Rodrigo Damazio 6ff39be4bf Allowing certain data hub operations to work even if not started yet. 2011-03-26 03:26:57 -07:00
Rodrigo Damazio e2548ac9e2 Merging 2011-03-26 03:03:06 -07:00
Rodrigo Damazio 0ce94ada82 Removing unpopulated comment 2011-03-26 01:54:28 -07:00
Chihau Chau 77a4c4be70 This patch fix some spelling and badly-written issues of the Spanish translation 2011-03-25 10:09:29 -03:00
Sandor Dornbush 9616084769 Merge with head. 2011-03-24 23:05:02 -07:00
Sandor Dornbush 163a246c58 New executers. 2011-03-24 23:00:34 -07:00
Chihau Chau 31efcb4a86 Automated merge with http://mytracks.googlecode.com/hg/ 2011-03-24 10:34:14 -03:00
Chihau Chau 1faea596f8 This patch fix some spelling and badly-written issues in the Spanish translation strings file. 2011-03-24 10:19:32 -03:00
Rodrigo Damazio cd5cb9093c Adding first version of My Tracks i18n tool.
Since this is a first proposal, I'm not yet modifying the xml files to pass validation, except for a small example.
Also keep in mind that the annotations in the XML (rev in a string tag, or KEEP_PARENT) would be inserted automatically by the "translate" module.
2011-03-23 22:07:21 -07:00
Matthew Simmons 9f1bd89a0c Add Russian translation 2011-03-23 19:48:59 -04:00
Matthew Simmons 0908053881 merge 2011-03-23 18:47:38 -04:00
Matthew Simmons 910068bcf5 Move file I/O classes into their own package 2011-03-22 19:43:15 -04:00
Chihau Chau d9ae0ff1bf Fixing some error messages strings for the Spanish translation 2011-03-22 10:56:07 -03:00
Matthew Simmons 4bea1a6e70 merge 1.1.4 release 2011-03-21 20:08:16 -04:00
Matthew Simmons e7873b0fa0 Added tag v1.1.4 for changeset b3ade8b2a8cd 2011-03-21 19:10:00 -04:00
Matthew Simmons c892704ee3 update for 1.1.4 2011-03-21 19:09:13 -04:00
Rodrigo Damazio 7cd44c853a Review suggestions. 2011-03-21 13:43:34 -07:00
Rodrigo Damazio 818b42b97e Finishing Sandor's renaming. 2011-03-21 02:19:06 -07:00
Rodrigo Damazio 5870ba98b4 Review suggestions. 2011-03-21 01:54:39 -07:00
Rodrigo Damazio 19939c985a Merging to Sandor's renaming. 2011-03-21 01:10:26 -07:00
Matthew Simmons 7d65a9ef22 merge 2011-03-18 19:35:53 -04:00
Matthew Simmons eb45f7c3bc 1.1.4 RC1 2011-03-18 19:35:14 -04:00
Sandor Dornbush 90a89c9224 Static import TAG. 2011-03-17 22:43:26 -07:00
Sandor Dornbush e59b52dcac Merge with head. 2011-03-17 21:57:27 -07:00
Matthew Simmons 07d4edef4e add script to find messages in strings files 2011-03-17 19:17:39 -04:00
Matthew Simmons b76c2f7b8d Fix German translation for send_track_body_format. While the name implies
that it's a format string, it isn't.  A subsequent change will rename the
string.
2011-03-17 18:26:55 -04:00
Rodrigo Damazio be414510a4 Merging Matthew's change. 2011-03-16 15:11:39 -07:00
Rodrigo Damazio e4b2052231 Merging my maps code to head. 2011-03-16 14:23:19 -07:00
Matthew Simmons 5066b23603 Increment the TCX author minor version number if the MyTracks which generated it
is a development build.
2011-03-16 16:42:51 -04:00
Rodrigo Damazio 86de9830b4 Merging MapsFacadeImpl into MapsFacade 2011-03-16 13:06:53 -07:00
Rodrigo Damazio 758b5e4810 Referencing Waypoint directly again. 2011-03-16 13:00:11 -07:00
Matthew Simmons 79e2c55c34 Code review comments 2011-03-16 15:59:21 -04:00
Rodrigo Damazio 802cf51cf9 Removing many indirections I had introduced. 2011-03-16 12:58:41 -07:00
Rodrigo Damazio 55d4a90041 Getting rid of the authentication refresher (we can now reference AuthManager) 2011-03-16 12:48:37 -07:00
Rodrigo Damazio cf535a2f8f Getting rid of the strings provider (we can now reference string resources again) 2011-03-16 12:42:20 -07:00
Rodrigo Damazio ba38964e8a Bringing My Maps code back. 2011-03-16 12:38:10 -07:00
Matthew Simmons c943e5dd43 Fix TCX export 2011-03-16 14:04:53 -04:00
Matthew Simmons 65f44da4c9 merge with 1.1.3 release 2011-03-15 12:13:19 -04:00
Matthew Simmons 24c51afa40 Added tag v1.1.3 for changeset 62821d45032d 2011-03-14 16:54:16 -04:00
Matthew Simmons e6739adb35 Update version to 1.1.3 2011-03-14 16:53:17 -04:00
Rodrigo Damazio 06fceb07cc Merging to head 2011-03-11 23:55:53 -03:00
Rodrigo Damazio c87029254c Merging to head 2011-03-11 23:54:30 -03:00
Rodrigo Damazio d52aca1d3d Fixing preference keys. 2011-03-11 23:38:31 -03:00
Rodrigo Damazio 26af05cd01 Merging to head. 2011-03-11 23:14:52 -03:00
Rodrigo Damazio f7750f2a2c Minor style clean-up 2011-03-11 22:56:25 -03:00
Rodrigo Damazio 675b4f55c1 First step of data flow refactoring.
This moves all data source connections into the TrackDataHub.

There are still many things to (re)do here:
- Optimizations about when the listeners are registered
- Optimizations about what data each TrackDataListener is interested in
- When activities are restarting, send new data since they were stopped (instead of doing a full reload)
- Proper double-buffering of Location objects (some listeners are interested in double-buffering all points, while others are only interested in double-buffering sampled points)
- etc.
2011-03-11 22:26:05 -03:00
Matthew Simmons a322439a83 Release 1.1.3 RC1 2011-03-11 18:15:29 -05:00
Matthew Simmons f7a1046c67 Make the impossible null location slightly less impossible so Location doesn't throw an
exception anymore.
2011-03-11 17:37:50 -05:00
Matthew Simmons c17593d932 merge 2011-03-11 17:20:13 -05:00
Matthew Simmons 109d2969a5 Fix test failures by removing the need to mock TrackRecordingService. Android mock appears
to have a problem with TRS and Context.  When it tries to mock either class, it ends up trying
(and failing) to mock DatabaseErrorHandler, which for some reason always fails.
2011-03-11 16:55:10 -05:00
Matthew Simmons 2d3c463bf3 Don't mock MockContext. For some reason Android Mock is unable to do it. As it happens, we
don't really need to mock it anyway.
2011-03-11 16:07:34 -05:00
Matthew Simmons 74073b641f Check for null preferences before trying to use them 2011-03-11 16:06:30 -05:00
boiledorange73 426033f835 Some of words are changed. 2011-03-10 00:42:43 +09:00
boiledorange73 a9ad1e22d6 Trans #2 strings.xml 2011-03-09 01:12:49 +09:00
boiledorange73 903aa014e4 Translation 2011-03-09 00:17:33 +09:00
Sandor Dornbush e058854c3f Stripping MyTracks from class names. 2011-03-07 22:12:52 -08:00
Matthew Simmons c16ce866dc code review comments 2011-03-07 13:54:45 -05:00
Matthew Simmons f9eba950e0 code review comments 2011-03-04 19:23:37 -05:00
Matthew Simmons 3eb53d3195 Rework send-to-google result dialog
Fix Fusion Tables success determination
2011-03-04 08:51:52 -05:00
Rodrigo Damazio 2a5921d3d0 Merging Marian's change to German translation. 2011-03-02 14:20:59 -03:00
Rodrigo Damazio 440c711335 Review suggestions:
- Standard style in XML
- Fixing strict mode violation
2011-03-02 14:03:27 -03:00
Rodrigo Damazio 7ea573123b Adding vacuum call for when a track is deleted (helps reclaim storage space). 2011-03-02 13:48:57 -03:00
Rodrigo Damazio 7f5ce45fad "Fixing" translations after adding preference reset option. 2011-03-02 13:35:56 -03:00
Rodrigo Damazio bd16542e25 Adding option to reset to default settings. 2011-03-02 13:35:39 -03:00
Matthew Simmons b95a696a5a Fix NPE in test execution. 2011-02-28 17:17:35 -05:00
Matthew Simmons b8f40e8314 import static MyTracksConstants.TAG 2011-02-28 16:59:52 -05:00
Matthew Simmons 0bbeff0b5b Use locale-insensitive formatting for GPX files 2011-02-27 20:40:14 -05:00
Rodrigo Damazio 5828e16421 Disabling strict mode death for cursors since the Honeycomb emulator system image triggers it in MapView. 2011-02-25 01:13:13 -03:00
Rodrigo Damazio 8497d2efba Making My Tracks honeycomb-compatible. 2011-02-25 00:45:07 -03:00
Rodrigo Damazio b578d2ced0 Merging to head. 2011-02-24 20:48:45 -03:00
Rodrigo Damazio 239b461f75 Added tag v1.1.2 for changeset e3c158b73e59 2011-02-24 20:23:24 -03:00
Rodrigo Damazio c7db7c0926 Releasing version 1.1.2 2011-02-24 20:22:46 -03:00
Rodrigo Damazio e107766a61 Updating Maps library to fix cupcake/donut issues. 2011-02-24 15:19:38 -03:00
Rodrigo Damazio 05a0b6c615 Fixing app and uploading on Cupcake/Donut. 2011-02-24 14:46:24 -03:00
Sandor Dornbush 7ada8f18fb Fix chart image axis. 2011-02-23 18:56:53 -08:00
Rodrigo Damazio 887a77f4a3 Merging Bart's changes 2011-02-23 19:39:11 -03:00
Rodrigo Damazio 97bde67b1d Merging to head 2011-02-23 19:37:59 -03:00
Matthew Simmons 33c3668175 Disable debugging 2011-02-23 15:38:27 -05:00
Matthew Simmons 0158fc3a7a merge 2011-02-23 15:39:24 -05:00
Sandor Dornbush 72bb2ddb08 Address comments. 2011-02-23 12:32:07 -08:00
Sandor Dornbush 01c1a37fa2 Address comments. 2011-02-23 09:50:31 -08:00
Sandor Dornbush 35aa51d6a9 Request audio focus. 2011-02-22 22:13:44 -08:00
Sandor Dornbush ada42ee57d Request audio focus. 2011-02-22 22:10:03 -08:00
Matthew Simmons fe9b27ecf2 fix method name 2011-02-23 00:07:29 -05:00
Matthew Simmons e03f120a00 Remove ANT entries from preferences if the device does not support ANT. 2011-02-23 00:03:39 -05:00
Sandor Dornbush 59344f540d Tabs->spaces. 2011-02-22 19:06:49 -08:00
Sandor Dornbush e829f1fc1b Hide the first stats waypoint. 2011-02-22 16:52:22 -08:00
Rodrigo Damazio d9904eb5f1 Bring My Maps back 2011-02-22 19:55:27 -03:00
Matthew Simmons 10cd26af5e Upgrade ANT support libraries
Rework AntSensorManager (and subclasses) to use asynchronous ANT interfaces
Encapsulate message byte arrays with per-message classes
Add tests
2011-02-21 19:49:43 -05:00
Sandor Dornbush c1f649fc83 Remove strict mode violation from onLocationChanged 2011-02-18 16:12:49 -08:00
Rodrigo Damazio a4865f860d Adding missing fusion tables permission. 2011-02-18 14:07:59 -02:00
Sandor Dornbush 14fce8edfe Merge. 2011-02-17 22:09:47 -08:00
Sandor Dornbush 6826e3567d Fix build breakage. 2011-02-17 22:01:46 -08:00
Sandor Dornbush 250e8625a7 Shorten some strings in csv. 2011-02-17 21:33:47 -08:00
Sandor Dornbush 58530d6f72 Catalan update. 2011-02-17 21:02:35 -08:00
Sandor Dornbush 823fb3fca7 Merge. 2011-02-17 20:13:51 -08:00
Sandor Dornbush 29302c0891 Try to fix moving time. 2011-02-17 07:55:19 -08:00
Matthew Simmons 03570ebd43 merge 2011-02-16 11:35:41 -05:00
Sandor Dornbush 2a4a0d38e3 Merge import changes. 2011-02-16 07:42:25 -08:00
David Piggott 9be9127ad1 Tiny style improvement in ImportAllTracks 2011-02-16 08:19:57 +00:00
David Piggott 66dd1c01f0 Improve style and external storage access methods of ImportAllTracks 2011-02-16 01:29:20 +00:00
Matthew Simmons d8dce7938d Format the Fusion Tables URL locale-insensitively 2011-02-15 07:20:58 -05:00
Rodrigo Damazio 0701f5885e Merging Jared's heads. 2011-02-14 15:01:41 -02:00
Rodrigo Damazio ea3f660999 Merging Jared's heads. 2011-02-14 14:54:31 -02:00
Rodrigo Damazio 95a21ffe8a Merging Jared's heads 2011-02-14 14:51:38 -02:00
David Piggott 89d2cf8340 Tidy up incorrect indentation resulting from Eclipse misconfiguration 2011-02-14 11:17:14 +00:00
David Piggott 0eb676d3cd Improve style and usability of ImportAllTracks
Fix style issues pointed out in code review. Move acquireWakeLock method into
MyTracksUtils and call that from ImportAllTracks and ExportAllTracks. Replace
important Toast messages with dialogs.
2011-02-14 10:53:37 +00:00
Jared Casper ac1a762fa8 Make GPX importer more robust.
Handle the case where the first track point does not have a time
without segfaulting. (issue #316, #192)

Don't throw an exception on a negative time change. It isn't the end
of the world, just put a warning in the log and move on (without
updating the speed, since we really don't have a clue now). (issue #186)

Reset the element content even when we aren't in a track element.  GPX
can have elements outside of the <trk>.  This was causing problems
such as content in a <metadata> element before the <trk> being
included in the track name.

There could still be weirdness in the stats if some of the points have
a time element while others don't.  Hard to say what the best course
of action is in that case though, and may involve changes to the
TripStatisticsBuilder.
2011-02-13 21:33:31 -08:00
David Piggott 59a05262a1 Issue 45: Add ImportAllTracks to import GPX files from /sdcard/MyTracks/gpx
ImportAllTracks is essentially just a modification of ExportAllTracks that
uses the existing GpxImporter to import all GPX files found in
/sdcard/MyTracks/gpx. So that the import functionality can always be accessed,
the MyTracks Activity's MenuManager is altered so that the Tracks button shows
regardless of whether there are any tracks in the database (ImportAllTracks is
launched by a button in the lower right of the MyTracksList activity).

A Toast message shows if no GPX files are found; this serves as a hint to
users on where to put GPX files for import so that this addition should be
discoverable and useable without documentation.

Im
2011-02-13 22:15:48 +00:00
Jared Casper 5f91d187c8 Merge upstream. 2011-02-12 15:49:23 -08:00
Matthew Simmons 8d8bf311ed Added tag v1.1.1 for changeset 98c38ee0ac32 2011-02-10 23:33:29 -05:00
Matthew Simmons 69545c8a56 Update for 1.1.1 release. 2011-02-10 19:05:52 -05:00
Matthew Simmons a1868c0205 Move drawable-mdpi/* to drawable so Cupcake can see them 2011-02-10 17:48:44 -05:00
Matthew Simmons 12bc4f0da8 Rename API feature check method 2011-02-10 16:29:00 -05:00
Matthew Simmons 510b887042 Issue 311: Don't reuse the SQLiteQueryBuilder on Cupcake or Donut
due to Android issue 1587
2011-02-10 15:58:01 -05:00
Matthew Simmons ff7171daa2 Parse the HTTP status code correctly 2011-02-09 21:06:20 -05:00
Jared Casper 5b0dbd5d30 Be more explicit in testing the XML output of GpxTrackWriter.
Instead of producing the comparison strings in the tester just as they
are produced in the tested code, use string literals, thus actually
testing that the formatting code is working as expected.
2011-02-09 16:23:55 -08:00
Jared Casper 9c7fb25a94 Be more explicit in testing the XML output of GpxTrackWriter.
Instead of producing the comparison strings in the tester just as they
are produced in the tested code, use string literals, thus actually
testing that the formatting code is working as expected.
2011-02-09 16:23:55 -08:00
Jared Casper 2e24eab5ad Addressing review comments. 2011-02-09 15:13:54 -08:00
Jared Casper 8135ad4424 Addressing review comments. 2011-02-09 15:13:54 -08:00
Jared Casper 6ffa40e40d Export GPX 1.1 instead of 1.0.
The only thing not allowed in 1.1 currently used is the track color
tag, which is moved into the "<extensions>" tag to make it conform to
the 1.1 schema.
2011-02-09 10:54:13 -08:00
Jared Casper bc120176ca Export GPX 1.1 instead of 1.0.
The only thing not allowed in 1.1 currently used is the track color
tag, which is moved into the "<extensions>" tag to make it conform to
the 1.1 schema.
2011-02-09 10:54:13 -08:00
Jared Casper d50d4ae1c9 Export GPX 1.1 instead of 1.0.
The only thing not allowed in 1.1 currently used is the track color
tag, which is moved into the "<extensions>" tag to make it conform to
the 1.1 schema.
2011-02-09 10:54:13 -08:00
Jared Casper d34aa61e95 Export GPX 1.1 instead of 1.0.
The only thing not allowed in 1.1 currently used is the track color
tag, which is moved into the "<extensions>" tag to make it conform to
the 1.1 schema.
2011-02-09 10:54:13 -08:00
Jared Casper 04578a4ed1 Reorder waypoint and track writing on export.
The GPX schema requires waypoints to come before the track.

Waypoints are not currently used in TCX export, so there are no
changes there.

In KML files, both tracks and waypoints are "Placemark"s, so it
doesn't matter what order they come in there.

This does change the order they appear in CSV files, which could
potentially invalidate some assumptions made in downstream tools.
2011-02-09 10:42:34 -08:00
Jared Casper 3e5282a06d Reorder waypoint and track writing on export.
The GPX schema requires waypoints to come before the track.

Waypoints are not currently used in TCX export, so there are no
changes there.

In KML files, both tracks and waypoints are "Placemark"s, so it
doesn't matter what order they come in there.

This does change the order they appear in CSV files, which could
potentially invalidate some assumptions made in downstream tools.
2011-02-09 10:42:34 -08:00
Jared Casper f86cadb802 Reorder waypoint and track writing on export.
The GPX schema requires waypoints to come before the track.

Waypoints are not currently used in TCX export, so there are no
changes there.

In KML files, both tracks and waypoints are "Placemark"s, so it
doesn't matter what order they come in there.

This does change the order they appear in CSV files, which could
potentially invalidate some assumptions made in downstream tools.
2011-02-09 10:42:34 -08:00
Jared Casper c4fe4d87db Reorder waypoint and track writing on export.
The GPX schema requires waypoints to come before the track.

Waypoints are not currently used in TCX export, so there are no
changes there.

In KML files, both tracks and waypoints are "Placemark"s, so it
doesn't matter what order they come in there.

This does change the order they appear in CSV files, which could
potentially invalidate some assumptions made in downstream tools.
2011-02-09 10:42:34 -08:00
Matthew Simmons 7e5deeaab3 merge 2011-02-09 13:41:15 -05:00
Matthew Simmons 36c425d699 Add HTTP status code to the error message 2011-02-09 13:27:20 -05:00
Jared Casper a2c69c6144 Clean up formatting of numbers in gpx export.
Addresses issue #299 and ensures Latitude and Longitude are formatted
correctly as well.

Also orders the elements in the waypoint correctly according to the
schema: <ele> and <time> need to come before <name> and <desc>.
2011-02-09 10:25:28 -08:00
Jared Casper 58e3c0604d Clean up formatting of numbers in gpx export.
Addresses issue #299 and ensures Latitude and Longitude are formatted
correctly as well.
2011-02-09 10:25:28 -08:00
Jared Casper 7408849eb5 Clean up formatting of numbers in gpx export.
Addresses issue #299 and ensures Latitude and Longitude are formatted
correctly as well.

Also orders the elements in the waypoint correctly according to the
schema: <ele> and <time> need to come before <name> and <desc>.
2011-02-09 10:25:28 -08:00
Jared Casper b42142f692 Clean up formatting of numbers in gpx export.
Addresses issue #299 and ensures Latitude and Longitude are formatted
correctly as well.

Also orders the elements in the waypoint correctly according to the
schema: <ele> and <time> need to come before <name> and <desc>.
2011-02-09 10:25:28 -08:00
Rodrigo Damazio ddafdcf392 Merging proguard changes. 2011-02-09 15:40:18 -02:00
Matthew Simmons 95cbaf1993 Add a better status message to the exception wrapper.
Be more paranoid about exception messages.
2011-02-09 11:34:46 -05:00
Sandor Dornbush 43aa3c857d Added tag v1.1.0 for changeset b5645347b00e 2011-02-08 20:05:33 -08:00
Sandor Dornbush 964e0d6f41 Update for 1.1.0 release. 2011-02-08 20:03:18 -08:00
Matthew Simmons 5a1c52d3b5 Code review fix 2011-02-08 17:32:19 -05:00
Matthew Simmons 02c374b61e Map Fusion Tables uploading failures to the HTTP Exception that GData expects.
Fix typo in proguard disabling comment.
2011-02-08 17:23:39 -05:00
Matthew Simmons f2094e049a Disable proguard 2011-02-08 17:10:59 -05:00
Sandor Dornbush 8ff2b3b090 Merge chart changes. 2011-02-08 07:28:23 -08:00
Sandor Dornbush eeaa363132 Minor chart fixes. 2011-02-07 21:50:12 -08:00
Sandor Dornbush 43e51848fc Don't trap runtime exceptions. 2011-02-07 17:03:06 -08:00
Sandor Dornbush 8b17117220 Unify chart display code. 2011-02-06 19:37:43 -08:00
Sandor Dornbush a4e06a4ce0 Merge Matthew's changes. 2011-02-04 15:35:16 -08:00
Sandor Dornbush 4d55f5ebdb Merge Matthew's changes. 2011-02-04 15:34:22 -08:00
Sandor Dornbush 268f3c77c2 Merge FR translations. 2011-02-04 15:32:28 -08:00
Sandor Dornbush ce73718620 Fine tune JA translation. 2011-02-04 15:28:23 -08:00
Sandor Dornbush d307c58f87 Fine tune JA translation. 2011-02-04 15:23:20 -08:00
Sandor Dornbush e7ec021da8 Address comments. 2011-02-04 15:13:33 -08:00
Matthew Simmons ca94fc7a96 Reuse existing messages 2011-02-04 17:15:34 -05:00
Matthew Simmons 9d650c4885 Rearrange Fusion Tables upload progress reporting 2011-02-04 16:21:20 -05:00
Sandor Dornbush c6d9be499c Merge heads. 2011-02-04 12:16:36 -08:00
Matthew Simmons 0e78e8b3f9 Remove unused imports 2011-02-04 15:09:03 -05:00
Matthew Simmons 2a99278b52 SQL-escape the track name
Don't catch HTTPException in runUpdate/query -- let GDataWrapper do that for us
2011-02-04 15:01:21 -05:00
Sandor Dornbush 4a47c096f7 Possible fix for chart view. 2011-02-04 10:41:17 -08:00
Olivier Beyssac bd961be055 Updating French translations. 2011-02-04 16:25:54 +00:00
boiledorange73 525fea80b8 One entry went back... Corrects it. 2011-02-04 10:44:18 +09:00
boiledorange73 6f92ae6a59 JP translate : Deleted duplicated entries in strings.xml 2011-02-04 10:40:56 +09:00
marian.steinbach 8bad6c0f54 Changed references to 'Docs' to 'Text & Tabellen'; Added non-translated lines as comments for easier file comparison; Removed trailing white spaces 2011-02-04 00:39:44 +01:00
boiledorange73-201102 91cca16f40 JP trans: small change (LAST) 2011-02-03 00:18:52 +09:00
boiledorange73 a0697a048d JP translate: small changes 2011-02-02 16:48:38 +09:00
boiledorange73 d22c6aae79 JP translate 2011-02-02 15:15:48 +09:00
Rodrigo Damazio 83997980ba Merging German translation 2011-02-02 01:19:40 -02:00
Rodrigo Damazio 4d9bdd1c12 Fixing typo in Proguard config. 2011-02-01 21:46:45 -02:00
Rodrigo Damazio 163a73722e Fixing translation leftovers from Fusion Tables and other changes.
The strings that need updating are commented-out, as a reference to translators.
(many other strings are simply missing, I didn't do anything about those)
2011-02-01 21:39:26 -02:00
marian.steinbach 65d17decb8 Added missing labels 2011-02-01 09:06:29 +01:00
Sandor Dornbush 1aa300f97e Merge in Rodrigo's changes. 2011-01-31 20:39:15 -08:00
marian.steinbach 8fbb30bded Added some missing ANT-related labels, deleted obsolete sensor labels, changed 'Energie' (power) to 'Kraft' 2011-01-31 23:37:04 +01:00
Rodrigo Damazio 6b0f1a0c10 Merging 2011-01-31 14:57:22 -02:00
Rodrigo Damazio 1cee590eca Adding some debugging information back 2011-01-31 14:56:54 -02:00
Sandor Dornbush 9ff370ee27 Clean up zh-cn strings.xml 2011-01-30 21:49:43 -08:00
Sandor Dornbush cd0057ea5a A bunch of fusion tables fixes. 2011-01-30 21:39:43 -08:00
Sandor Dornbush 2c0a294b6a A bunch of fusion tables fixes. 2011-01-30 21:39:27 -08:00
Rodrigo Damazio 3e09bd5c60 Fixing ProGuard support by removing usage of reflection and ignoring a few unused classes. 2011-01-30 01:20:37 -02:00
Rodrigo Damazio 0a99d7cebb Changing AndroidMock config to look for API level 9 classes. 2011-01-29 22:26:26 -02:00
Sandor Dornbush 3138e3edc7 Remove reference to old string. 2011-01-27 23:11:15 -08:00
Sandor Dornbush 99ab34ad0b Merge spanish update. 2011-01-23 21:38:56 -08:00
Sandor Dornbush 9b7923f8f5 Merge Matthew's changes. 2011-01-21 22:21:39 -08:00
Matthew Simmons cfcbe7f107 Refactor platform adapter logic 2011-01-21 18:22:41 -05:00
Matthew Simmons 5fb27ab186 Bump the database version, update the migration code 2011-01-21 17:54:37 -05:00
Matthew Simmons 36b1a3c020 Rename locatePlatformAdapter to createPlatformAdapter 2011-01-21 17:22:30 -05:00
Matthew Simmons baccb5d12e Use reflection to find the platform adapters 2011-01-21 17:09:25 -05:00
Matthew Simmons adc4621711 self-review 2011-01-21 16:32:27 -05:00
Matthew Simmons a8d78664e9 Added support for backing up sensors 2011-01-21 16:28:04 -05:00
Sandor Dornbush 9fab4eb088 Update spanish translation. 2011-01-19 22:41:50 -08:00
Sandor Dornbush 0d0f1315ff Add spain spanish translation. 2011-01-19 22:28:46 -08:00
Sandor Dornbush 555598c155 Only show sensor options for the right sensor type. 2011-01-13 21:28:10 -08:00
Sandor Dornbush f49fa23f69 Merge from head. 2011-01-13 21:07:15 -08:00
Rodrigo Damazio b732064f88 Moving assets to their own repository. 2011-01-13 22:26:44 -02:00
Rodrigo Damazio 1f99a381eb Merging Fusion Tables changes. 2011-01-13 22:23:51 -02:00
Sandor Dornbush 81b610cc4c Change the code to use the new icons + delete the old icon files. 2011-01-13 15:17:20 -08:00
marian.steinbach b0a0bfc888 Simplified icons for Record Track and Stop Recording, both drawable and assets 2011-01-12 19:53:52 +01:00
marian.steinbach 6221ccb53b Merging changes from main repository 2011-01-12 19:17:47 +01:00
leifhendrik cbe1da2d68 Keeping db version 18. Bug fixes. 2011-01-11 15:01:44 -08:00
Sandor Dornbush 24297e373c Merging to head + return early to fully ignore close locations. 2011-01-11 14:06:06 -08:00
leifhendrik 99d14a559c Synced with head. Resolved conflicts. 2011-01-11 13:30:03 -08:00
leifhendrik 08339a1f65 String cleanups and responded to most comments. 2011-01-11 12:29:22 -08:00
Rodrigo Damazio 4e3ad38087 Merging Matthew's changes. 2011-01-10 15:41:41 -02:00
Sandor Dornbush 63c97fadc6 Merge in SendToDocs changes. 2011-01-09 22:21:03 -08:00
Matthew Simmons 45633ad7e8 Code review comments 2011-01-07 14:43:25 -05:00
Matthew Simmons 8508decd5c fix url 2011-01-07 14:04:59 -05:00
Matthew Simmons 315f47bf30 Add License button to the About dialog box.
Add link to privacy policy to the About dialog box.
2011-01-07 13:22:30 -05:00
Matthew Simmons 12f8d79d84 unconcatenate constant 2011-01-06 15:42:05 -05:00
Rodrigo Damazio 710690e2d2 Merging to head. 2011-01-06 18:00:11 -02:00
Rodrigo Damazio 03bfbe81d0 Merging Sandor's change. 2011-01-06 15:08:42 -02:00
Matthew Simmons c990fb6fe7 don't hardcode the encoding in the tcx writer either 2011-01-06 11:53:10 -05:00
Sandor Dornbush 9b31cd63a4 Fix overcounting distance. 2011-01-05 22:58:53 -08:00
Rodrigo Damazio dee3ccdf77 Cleaning up deps 2011-01-05 23:09:16 -02:00
Matthew Simmons de23a32c96 Write the VM's charset in the GPX file's XML header, rather than using a
hard-coded value.  Per the Android docs, the default charset for Android is
UTF-8.
2011-01-05 19:54:49 -05:00
Matthew Simmons 2beb840a5c Code review 2011-01-05 18:26:01 -05:00
Matthew Simmons f748d76549 Move the methods which initiate the SendToDocs GData calls into their own class.
This makes SendToDocs easier to understand and easier to test.
2011-01-05 17:16:01 -05:00
Rodrigo Damazio 9d9a326c2b Merging Bart's fix. 2011-01-05 17:00:12 -02:00
marian.steinbach 9184827195 Pre-production files for menu icons (second attempt) 2011-01-05 09:08:51 +01:00
marian.steinbach cb533c954b Merged remote changes 2011-01-05 09:00:36 +01:00
marian.steinbach ead876036d Removing icons from /MyTracks/assets 2011-01-05 08:48:12 +01:00
Sandor Dornbush cfa25eccb1 Fix export all TCX. 2011-01-04 21:57:49 -08:00
Sandor Dornbush b0d6233de6 Merge from head and address comment. 2011-01-04 21:00:12 -08:00
bartn b07b8a1aaa Fix broken test and avoid mocking provider. 2011-01-04 16:19:32 -08:00
leifhendrik a68cdaf2ba More cleanups. Towards a working solution. 2011-01-04 10:11:03 -08:00
marian.steinbach 16641b9193 Pre-production files for menu icons 2011-01-04 09:10:30 +01:00
Sandor Dornbush 0469a90992 Merging from head. 2011-01-03 16:47:35 -08:00
Sandor Dornbush 6dc3e5ab7a Remove trailing white space. 2011-01-03 16:44:34 -08:00
Rodrigo Damazio 82012fa623 Merging from head. 2011-01-03 13:05:30 -02:00
marian.steinbach 7ddd254bb1 Added various missing strings, modified some existing translations 2011-01-03 00:37:56 +01:00
marian.steinbach 464858cfdf Slight comment clean-up 2011-01-03 00:37:12 +01:00
marian.steinbach 30db23255d New menu icons (according to pre-2.3-guidelines) 2011-01-02 22:50:02 +01:00
Sandor Dornbush 868c1ef891 Merge from head. 2010-12-31 09:14:09 -08:00
Sandor Dornbush b961356b7b Addressed comments.
Merge from head.
2010-12-31 09:11:22 -08:00
bartn 2e32d6c574 Address comments and fix broken test. 2010-12-31 00:15:12 -08:00
bartn a31e5aab79 Address comments. 2010-12-30 19:46:14 -08:00
bartn ae4f9565bd Chart drawing refactoring, part 1. Better handle label drawings for multiple data series, fix a few bugs and introduce fine grained zoom settings. 2010-12-29 17:52:23 -08:00
bartn f33ba10b96 Merge with 5ad4c64449adf707f3a0619d568deac185e7ff05 2010-12-28 17:14:37 -08:00
Sandor Dornbush 904c519091 Move untranslated strings to a new resources file. 2010-12-28 17:01:23 -08:00
bartn a0db837910 Merge with 0d6e42a25349b4c1099e8a03a37e22cc559da048 2010-12-28 16:58:56 -08:00
Sandor Dornbush 51cb5db8b4 Add ANT+ sensor support. 2010-12-28 16:29:26 -08:00
bartn c328728e0c Use LocationIterator for scalability and instantiate MyTracksLocation to make sure that sensor data is properly read. 2010-12-28 16:19:34 -08:00
Sandor Dornbush 3384ef67a6 Addressed comments. 2010-12-28 14:39:26 -08:00
bartn e89c549706 Merge with 6f18dfaa4b33c178829a3cdfa374f0ac6a55d5c7 2010-12-28 11:17:43 -08:00
leifhendrik 3c67ac73da Support uploading of tracks to fusion tables. Remove support for maps data api. 2010-12-28 10:40:49 -08:00
Sandor Dornbush 656349e6c5 Use scaled pixels for chart view.
Use better colors for sensor data.
2010-12-27 09:06:08 -08:00
Rodrigo Damazio df2af0185c Using preferences' apply() instead of commit() on Gingerbread. 2010-12-24 05:41:03 -02:00
Rodrigo Damazio 913d30f2de Merge from head 2010-12-24 05:27:56 -02:00
Hauke Ingmar Schmidt e96172b698 * Fixed some typos. 2010-12-23 16:25:34 +01:00
Hauke Ingmar Schmidt 0c241f683d * Did a cross check with current english file, added keys
* Stoppen->Anhalten
*
2010-12-23 15:04:10 +01:00
bartn a19097de2b Get rid of unused getTrackPoints(...). 2010-12-22 16:54:13 -08:00
bartn f6feeb9d1e Fix a typo. 2010-12-22 16:03:10 -08:00
bartn f205e6f9cc Make sure we don't upgrade twice on newer DBs. Prepare for upcoming DB changes v19. 2010-12-22 16:02:05 -08:00
bartn 4e543e6068 Merge with f31f08b12616cde71b9f6df34a92a66c35140d92 2010-12-22 15:30:47 -08:00
bartn 176062f11c Address comments (round #2). 2010-12-22 14:39:04 -08:00
bartn 4d88191171 Address comments. Use bulkInsert to improve performace (2min for 20K points before vs. 10 sec now). 2010-12-22 14:24:26 -08:00
Sandor Dornbush 025ea1d094 Address comments. 2010-12-21 09:31:54 -08:00
bartn a4283d545a Add missing Java class with unit tests. 2010-12-20 14:51:00 -08:00
bartn 52fa2aace9 Finalize the new interface, fix bugs and add unit tests. 2010-12-20 14:50:27 -08:00
Sandor Dornbush fa711cf142 Address comments + add more tests. 2010-12-19 22:11:41 -08:00
bartn 70bc7e53fe Fix a bug in getLocationIterator 2010-12-17 15:09:58 -08:00
bartn 56f22aa073 Addressed comments + new method getLocationId() 2010-12-17 13:57:51 -08:00
Sandor Dornbush 878a87278d Address comments. 2010-12-17 06:59:43 -08:00
bartn c4a539d2ba Initial implementation of getLocationIterator 2010-12-16 21:09:12 -08:00
bartn 4225e81080 Added missing change. 2010-12-16 17:58:28 -08:00
bartn 8fd4887f10 Merge with c31ef4ac66823a80d02265da7810432b51ce01ed 2010-12-16 17:49:01 -08:00
bartn 0e397797b4 Addressed Rodrigo's comments. 2010-12-16 17:46:27 -08:00
bartn e6c8458ce7 Initial draft of the upcoming changes to simplify track points management. 2010-12-16 14:13:09 -08:00
bartn 50ea9919af Add myself to the About box, as suggested by Rodrigo. 2010-12-16 12:31:35 -08:00
Sandor Dornbush 67f62df894 Fix a few bad characters in Catalan files. 2010-12-16 08:35:16 -08:00
Sandor Dornbush 0da0280156 Address one last comment. 2010-12-15 16:53:38 -08:00
Sandor Dornbush fa713eac4a Address comments. 2010-12-15 16:49:37 -08:00
Sandor Dornbush 2c7d56ab34 Adding Catalan translation. 2010-12-15 08:49:02 -08:00
Sandor Dornbush e340268dd0 Minor fixes and respond to comments. 2010-12-13 22:34:58 -08:00
Sandor Dornbush affec6720b Update tests.
Lazily allocate stats objects on waypoints.
2010-12-12 20:02:12 -08:00
Sandor Dornbush 5047826a74 Minor fixes. 2010-12-11 22:06:55 -08:00
Sandor Dornbush 33d9230442 Refactor the waypoint insertion code. 2010-12-11 19:14:47 -08:00
Rodrigo Damazio 607b174c5f Fixing some StrictMode violations, making it softer for others which the Android runtime itself triggers. 2010-12-10 16:40:22 -02:00
Rodrigo Damazio 6b4ea71404 Enabling Proguard to reduce APK size. 2010-12-10 15:39:48 -02:00
Rodrigo Damazio 014322c240 Updating new projects to API level 9 and adding xlarge screen size support. 2010-12-10 14:41:21 -02:00
Rodrigo Damazio b789f84151 Adding new method required in Gingerbread. 2010-12-10 14:36:24 -02:00
Rodrigo Damazio 19d5fe1ba6 Merging gingerbread changes to head. 2010-12-10 14:30:29 -02:00
Rodrigo Damazio 93b95954c4 Updating to API level 9 2010-12-10 14:28:25 -02:00
Rodrigo Damazio fb7a2aaa32 Enabling strict mode in non-release builds 2010-12-10 14:28:11 -02:00
Rodrigo Damazio 3105eacd4d Adding Gingerbread platform adapter 2010-12-10 14:26:14 -02:00
Rodrigo Damazio 215893214f Merging sensor and library changes together. 2010-12-07 18:04:28 -02:00
Bartlomiej Niechwiej 30e01d6700 Revert back local changes. 2010-12-04 23:54:53 -08:00
Bartlomiej Niechwiej 94cfc5d7d6 Merge with 3af20c63ed16c56b6e5e3d854272ec1fb8074570 2010-12-04 23:50:16 -08:00
Sandor Dornbush 471b32cce1 Fix announcement available setting. 2010-12-03 13:11:56 -08:00
Bartlomiej Niechwiej 036b34e91d Fix upgrade SQL. 2010-12-03 00:43:00 -08:00
Bartlomiej Niechwiej 77f7f8c1ed Merge with c6c03f517e6dc6d0da60ace9bd21311c9b20f4dc 2010-12-03 00:35:44 -08:00
Bartlomiej Niechwiej e6fc991d2a DO NOT PULL (local changes) 2010-12-03 00:35:25 -08:00
Sandor Dornbush 060881777d A few more minor fixes. 2010-12-01 20:37:11 -08:00
Sandor Dornbush 6e567fa725 Fix broken build and add icon for sensor state. 2010-12-01 17:56:28 -08:00
Sandor Dornbush 7e4c01937f Minor fixes. 2010-12-01 17:28:22 -08:00
Sandor Dornbush 06a00e6482 Merge from head + bug fixes. 2010-12-01 14:24:47 -08:00
Bartlomiej Niechwiej 242df42f55 Fixed a few NumberFormatExceptions as found in the market reports. 2010-11-28 17:44:37 -08:00
Rodrigo Damazio 8d78c16c8a Adding more tests and other minor fixes. 2010-11-28 03:37:27 -08:00
Rodrigo Damazio db2b05eb7f Moving more constants to the library. 2010-11-28 03:17:24 -08:00
Rodrigo Damazio 282b1090ba Merging from head 2010-11-28 03:00:51 -08:00
Rodrigo Damazio 4f6c9fa866 Creating a library to hold code and resources common to both My Tracks and third-party apps. 2010-11-28 02:35:30 -08:00
Rodrigo Damazio 9375842c71 Moving intent constants to XML file. 2010-11-28 00:48:05 -08:00
Rodrigo Damazio ea3fca0f1b Addressing review suggestions for third-party apps. 2010-11-27 02:52:04 -08:00
Rodrigo Damazio 5971d67a66 Moving signal strength sampling into a separate app. 2010-11-26 23:51:32 -08:00
Rodrigo Damazio 9f5fa880d6 Closing branch v1.0.20-bugfix 2010-11-26 15:01:06 -08:00
Rodrigo Damazio 357b68dd4f Merging 1.0.21 changes back to the default branch 2010-11-26 15:00:41 -08:00
Rodrigo Damazio 384f3f5698 Added tag v1.0.21 for changeset f9230d18271a 2010-11-26 14:57:35 -08:00
Rodrigo Damazio 4577ff9628 Releasing 1.0.21 2010-11-26 14:57:03 -08:00
Rodrigo Damazio e6cd9f524d Replacing tabs with spaces 2010-11-24 19:21:29 -08:00
Rodrigo Damazio 3dad56621f Transplanting Sandor's bugfix change for dialogs in old devices. 2010-11-24 18:57:40 -08:00
Rodrigo Damazio 6c9a225b64 Merging Bart's changes into the bugfix branch. 2010-11-24 18:27:40 -08:00
Rodrigo Damazio 3bbb9bd95d Making a 1.0.20 bugfix branch 2010-11-24 18:26:30 -08:00
Bartlomiej Niechwiej a4f855ccd8 Addressed Rodrigo's comments. 2010-11-24 16:26:12 -08:00
Bartlomiej Niechwiej 4d80af4e06 An emergency fix for a NPE in the service. 2010-11-24 15:46:57 -08:00
Rodrigo Damazio 7abce12499 Merging from head. 2010-11-23 22:13:01 -08:00
Rodrigo Damazio 7b1302c011 Adding broadcasts for when we start/stop recording.
Pause/resume constants are there so apps consider them, but not yet implemented.
2010-11-23 22:12:16 -08:00
Rodrigo Damazio 66d23b7eac Fixing permission descriptions so they show up properly in application manager 2010-11-23 22:11:04 -08:00
Rodrigo Damazio dc0255509b Adding permissions for third-party apps. 2010-11-23 21:53:59 -08:00
Rodrigo Damazio 6661f91eb5 Added tag v1.0.20 for changeset b259d09396e5 2010-11-23 15:20:15 -08:00
Rodrigo Damazio 2eb36aedeb Releasing version 1.0.20. 2010-11-23 15:18:39 -08:00
Bartlomiej Niechwiej 0e623ebfeb Fix a memory leak that was observed each time a recording session was stopped. 2010-11-21 23:49:17 -08:00
Rodrigo Damazio ffb73569e9 Merging Bart's fixes. 2010-11-21 21:11:35 -08:00
Bartlomiej Niechwiej 713cda9455 Addressed Rodrigo's comment. 2010-11-21 21:07:59 -08:00
Bartlomiej Niechwiej 223721cca8 Nullify bineder/checkListener on destroy. 2010-11-21 20:55:44 -08:00
Rodrigo Damazio e7479c8a93 Fixing periodic task restarting. 2010-11-21 20:45:25 -08:00
Bartlomiej Niechwiej 224fe0069b Make sure there is only one instance of TrackRecordingService at a time. 2010-11-21 19:33:14 -08:00
Rodrigo Damazio cb97847392 Addressing comments from a475cd4d33. 2010-11-21 00:44:34 -08:00
Rodrigo Damazio 6a29531467 Second attempt at proper task startup. 2010-11-20 16:21:59 -08:00
Rodrigo Damazio 262e249d2c Also fixing splitter initialization, just for completeness. 2010-11-20 05:46:38 -08:00
Rodrigo Damazio 77479efaef Fixing TTS initialization. 2010-11-20 05:43:09 -08:00
Rodrigo Damazio 898863a8d9 Merging Sandor's second head by ignoring it 2010-11-19 18:37:27 -08:00
Sandor Dornbush 05d555f98d Fix the end track confirmation dialog. 2010-11-19 17:23:27 -08:00
Rodrigo Damazio 868092db10 Fixing intiialization before context is available. 2010-11-19 14:26:11 -08:00
Rodrigo Damazio 7a738c2eca Moving the end recording method to more reasonable location. 2010-11-18 17:14:56 -08:00
Rodrigo Damazio b304dbcba6 Fixing wake lock being held for too long in the service. 2010-11-18 17:13:20 -08:00
Rodrigo Damazio 6e28a5daa4 Merging Matthew's fix for issue 137. 2010-11-18 16:41:21 -08:00
Bartlomiej Niechwiej 8f4f9660ed Addressed Sandor's comments. 2010-11-18 15:42:02 -08:00
Bartlomiej Niechwiej 2d01535651 Fixed a NPE introduced after refactoring dialogManager. 2010-11-17 22:39:50 -08:00
Bartlomiej Niechwiej e57d4669fc Revert API key changes. 2010-11-17 22:25:20 -08:00
Bartlomiej Niechwiej f47c599dea Merge with 63eb7915dafe329e8f06cc33c56122ee15ea6df7 2010-11-17 22:20:15 -08:00
Bartlomiej Niechwiej 7a693a90f7 Make the app single process only, including the following fixes:
1) Simplify SharedPreferences management
2) Shut down signalManager/splitManager to avoid random crashes
3) Get rid of sharedPreferencesChanged from the service interface

All tests pass.
2010-11-17 22:18:50 -08:00
Bartlomiej Niechwiej 9cf51de3f7 Fix a typo in onDestroy. 2010-11-17 20:07:34 -08:00
Matthew Simmons 5089c20cd6 Code review fixes 2010-11-16 11:39:08 -05:00
Bartlomiej Niechwiej a0da23f86a Various fixes to shared preferences. 2010-11-15 23:09:18 -08:00
Rodrigo Damazio 44d24b57c6 Making telephony support optional. 2010-11-15 22:04:48 -08:00
Rodrigo Damazio c143d774d4 Merging Aaron's changes. 2010-11-15 21:50:46 -08:00
Matthew Simmons 9e92240dd0 More self-review 2010-11-15 21:46:19 -05:00
Sandor Dornbush d2c586b096 Fix StatusAnnouncer thread for initialization and prefs in service. 2010-11-15 18:20:10 -08:00
Matthew Simmons fbfbb9408a Self-review 2010-11-15 18:46:23 -05:00
Matthew Simmons fb56665dec Rework authorization failure retry. The retry needs to be synchronous with
the original runone.
2010-11-15 18:37:42 -05:00
Bartlomiej Niechwiej 5b65c216b6 More tests. 2010-11-12 22:18:38 -08:00
Rodrigo Damazio 9ad98c5970 Merging Sandor's changes 2010-11-12 14:37:04 -08:00
Aaron Brown cae9d0f2e5 updated MyTracks/AndroidManifest.xml for inclusion of uses-feature 2010-11-12 17:11:56 +10:00
Sandor Dornbush c0d267c63e Minor formating fixes. 2010-11-11 21:41:39 -08:00
Sandor Dornbush 70704b0a5e Move navcontrols icon decleration to xml. 2010-11-11 21:38:24 -08:00
Sandor Dornbush b135275201 Minor fix for dialog manager. 2010-11-11 16:15:11 -08:00
Bartlomiej Niechwiej 7e1eae6681 Addressed Sandor's comments and added more unit tests and fixed 2 NPEs. 2010-11-11 10:55:15 -08:00
Bartlomiej Niechwiej 30f5d6dc85 Fix two NPEs and add more test coverage. 2010-11-11 00:31:56 -08:00
Sandor Dornbush a50dd1168b Fix format error. 2010-11-09 13:57:19 -08:00
Sandor Dornbush 62fa1620aa Actually add the dialog tests. 2010-11-08 11:31:14 -08:00
Sandor Dornbush a0d42c8b59 Add basic tests to the DialogManager. 2010-11-08 11:28:39 -08:00
Bartlomiej Niechwiej a21663da61 Fix a NPE (replace MyTracks.getInstance() with the parent activity). 2010-11-06 23:37:14 -07:00
Bartlomiej Niechwiej 67a0382942 Fixed another bug reported by users (division by zero).
The issue was most likely related to a race condition (selectedTrackId can change in the UI thread, while the track is being processed in the handler thread).

Simulated slow drawing by adding 50ms, works pretty cool :)
2010-11-06 00:31:52 -07:00
Bartlomiej Niechwiej f5c2467d01 Fix StringIndexOutOfBoundsException in ChartsExtendedEncoder.getEncodedValue().
Found in user error reports (3rd top issue):
java.lang.StringIndexOutOfBoundsException
at com.google.android.apps.mytracks.util.ChartsExtendedEncoder.getEncodedValue(ChartsExtendedEncoder.java:45)
at com.google.android.apps.mytracks.util.ChartURLGenerator.getChartUrl(ChartURLGenerator.java:162)
at com.google.android.apps.mytracks.util.ChartURLGenerator.getChartUrl(ChartURLGenerator.java:60)
at com.google.android.apps.mytracks.util.StringUtils.generateTrackDescription(StringUtils.java:366)
at com.google.android.apps.mytracks.io.SendToMyMaps.doUpload(SendToMyMaps.java:581)
at com.google.android.apps.mytracks.io.SendToMyMaps.access$10(SendToMyMaps.java:538)
at com.google.android.apps.mytracks.io.SendToMyMaps$5.run(SendToMyMaps.java:517)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.os.HandlerThread.run(HandlerThread.java:60)
2010-11-05 22:52:42 -07:00
Bartlomiej Niechwiej a3abcc8094 Provide a workaround for binding to the service once it has been started. It fixes the failing tests (4). 2010-11-05 20:45:06 -07:00
Sandor Dornbush edf439f301 Merge Bart's bug fixes and tests. 2010-11-05 15:37:20 -07:00
Sandor Dornbush 2245563250 Fix broken build. 2010-11-05 14:51:06 -07:00
Bartlomiej Niechwiej bca21d5515 Addressed Rodrigo's comments. 2010-11-05 10:11:55 -07:00
Bartlomiej Niechwiej 89cae2e7c9 Fix a regression related refactoring recordingTrackId management.
In particular:
1) Add a workaround to {start/end}Recording to update recordingTrackId to trigger a notification
2) Add a bunch of unit tests for MyTracks
3) Clear minor style issues in a few classes
2010-11-04 23:32:31 -07:00
Sandor Dornbush 26c381a4c4 Address Bart's comments and more dialog clean up. 2010-11-04 17:44:08 -07:00
Sandor Dornbush 4bc5aa050c Add tests for the TempFileCleaner. 2010-11-04 17:07:59 -07:00
Rodrigo Damazio cd44b0d180 Merging Sandor's changes. 2010-11-03 21:08:50 -02:00
Rodrigo Damazio 59ee91ca5d Merging my own changes. 2010-11-03 20:59:32 -02:00
Rodrigo Damazio 59165a7033 Ignoring Matthew's second head by no-op merging it. 2010-11-03 20:53:50 -02:00
Rodrigo Damazio 93d242c05f Merging Matthew's first head. 2010-11-03 20:42:35 -02:00
Rodrigo Damazio 4bbb6591e3 Merging Bart's changes. 2010-11-03 19:59:35 -02:00
Sandor Dornbush 7df8025f6a Merge with head and address comments. 2010-11-03 12:53:12 -07:00
Bartlomiej Niechwiej f19c52f40e Addressed Sandor's comments. 2010-11-02 08:31:21 -07:00
Bartlomiej Niechwiej b7840779fe Revert API Key Change. 2010-11-02 08:26:31 -07:00
Rodrigo Damazio 28042a8cc9 Adding tests to voice announcements.
If anyone asks, I didn't write this code.
2010-11-02 02:19:43 -02:00
Matthew Simmons b2907226bf Code review comments 2010-11-01 15:21:33 -04:00
Matthew Simmons a2f46821f5 Fix author line 2010-11-01 14:32:19 -04:00
Matthew Simmons b7385cd4cc Combine b2f2f9e9e9 and 8774b3663c
Allow users to choose the default track name policy.  By default, we'll switch
to a new, timestamp-based name.  If they change the pref, they'll get the
old-style 'track n' style.
2010-11-01 13:48:33 -04:00
Matthew Simmons 718c65818c Allow users to choose the track name policy. 2010-11-01 12:59:56 -04:00
Rodrigo Damazio 91e2293606 Adding proper AndroidMock configuration - requires setting eclipse variables 2010-11-01 05:30:16 -02:00
Rodrigo Damazio 3c4a921f9a Addressing review suggestions 2010-11-01 05:27:04 -02:00
Rodrigo Damazio d04b333126 Merging 2010-11-01 02:05:42 -02:00
Rodrigo Damazio 0a4bef4d9a Fixing concurrent access to the content provider by making it have a single instance in the same process as the service. 2010-10-29 17:35:54 -02:00
Bartlomiej Niechwiej a0f090a83a Bug fixing and refactoring:
1) Make sure no one but service changes recordingTrackId (which is owned by it)
2) Cache sharedPreferences
3) Clear recordingTrackId if it doesn't correspond to a valid track or the service is not recording
4) More unit tests
2010-10-28 22:49:01 -07:00
Bartlomiej Niechwiej dc8ee5943c Merge with c10bc69662325f00bf166b783cc3ab1b78ccfed9 2010-10-28 20:48:01 -07:00
Bartlomiej Niechwiej 9132c36aa7 Use a test android:apiKey instead of the official one. 2010-10-28 20:47:42 -07:00
Sandor Dornbush 224c0d759f Minor fixes noticed on first review. 2010-10-28 17:13:59 -07:00
Sandor Dornbush ffcaca2db1 Refactor a few 100 lines of code out of the main Activity. 2010-10-28 17:08:59 -07:00
Sandor Dornbush 409fc4a43b Address Bart's comments. 2010-10-28 15:07:01 -07:00
Sandor Dornbush 16968f3f2b Fix copyright notice. 2010-10-28 14:50:03 -07:00
Sandor Dornbush e3fd0dce21 Undo changes to the eclipse prefs. 2010-10-28 14:47:00 -07:00
Sandor Dornbush 53b6b6deca Add tests to ChartValueSeries.
Also other minor fixes.
2010-10-28 14:43:31 -07:00
Rodrigo Damazio 26f47a50d0 Fixing issue 34: Not making voice announcements during a phone call 2010-10-27 03:07:17 -02:00
Bartlomiej Niechwiej 3cf77374c4 Fix merge. 2010-10-26 20:19:54 -07:00
Bartlomiej Niechwiej a1129c3f0f Merge with c58e4b8519d3ed6959a96192286b83aa1b77f6f3 2010-10-26 20:17:15 -07:00
Bartlomiej Niechwiej 2fe74603a3 Merge with 96ee47b2d8639a0cf62a387f3360640643fbeb0a 2010-10-26 20:14:41 -07:00
Bartlomiej Niechwiej 54d517363d Merge with e34329d612571554d6424d5941dfad57e35612a0 2010-10-26 19:39:46 -07:00
Bartlomiej Niechwiej 948fe0c0e6 Merge with 68eb8dff3a87698ace057447dff40a07cf673f2e 2010-10-26 19:39:20 -07:00
Bartlomiej Niechwiej dbd8e6c0e9 Merge with 5ed61c63ba59f4748231ea14bbbc222423d0b08a 2010-10-26 19:38:51 -07:00
Bartlomiej Niechwiej 02b5601933 Remove unnecessary log. 2010-10-26 19:32:24 -07:00
Sandor Dornbush 3ed40608a2 Merging from head. 2010-10-26 14:44:31 -07:00
Bartlomiej Niechwiej 36d7c2dd91 Allow to move the app to SD card (by default goes to internal storage). This is a frequently requested feature (based on market feedback). 2010-10-26 00:33:38 -07:00
Bartlomiej Niechwiej fa7ef68851 Addressed Sandor's comments. 2010-10-25 22:35:38 -07:00
Matthew Simmons f84877a4fc Issue 86: Remove - from the list of disallowed characters for filenames. 2010-10-25 14:59:20 -04:00
Matthew Simmons 261fb62e24 Changed the default new track name from "track %d" to "date time", where "date"
is a short, locale-aware version of the track's start date, and "time" is the
track's start time.
2010-10-25 14:15:16 -04:00
Bartlomiej Niechwiej 48d8aa4cd8 Introduce an interface to decouple platform specific API from the classes that require it. Also:
1) Put the service into foreground to prevent from being killed by the system
2) Fix a bug the prevented MyTracks from running on pre-Eclair devices
2010-10-24 21:24:11 -07:00
Bartlomiej Niechwiej 95ff0d3db6 Fix a typo in shared preferences and minor cleanup. 2010-10-24 18:55:35 -07:00
Bartlomiej Niechwiej 2dc1d914c0 Several fixes to the service and more test coverage.
Notably:
1) Fixed isRecording to not return false if service is down (for instance, it may be being restarted)
2) Added more checks to prevent from invalid starting/stopping (if in already in progress/not started).
2010-10-24 14:16:43 -07:00
Bartlomiej Niechwiej fc06701009 Fix several bugs and clean up statistics management.
1) Decouple clock from TripStatisticsBuilder.
2) Introduce a new param to constructor to automatically resume at given time
3) Fix various statsbuilder initialization issues in the service (wrong order, missing initialization)
2010-10-24 03:30:58 -07:00
Bartlomiej Niechwiej ee4f334296 Fixed a NPE under certain circumstances (move initialization to onCreate()). 2010-10-24 03:26:32 -07:00
Bartlomiej Niechwiej cac2395237 More unit tests for TracksRecordingService and fix a few bugs. Made the service less forgiving rather than silently ignoring invalid state. 2010-10-24 00:48:53 -07:00
Bartlomiej Niechwiej 5afc3f13cf Minor refactoring: remove dependency on Context and replace it with ContentResolver. 2010-10-23 19:04:57 -07:00
Rodrigo Damazio 9030917c14 Merging Bart's changes. 2010-10-22 15:34:24 -02:00
Bartlomiej Niechwiej 9905def352 Terminate tracker update thread on destroy. 2010-10-22 10:14:36 -07:00
Bartlomiej Niechwiej a3793aa92b Minor updates. 2010-10-22 10:00:15 -07:00
Nulled 76c8498956 updated zh-cn translation 2010-10-21 17:51:40 +08:00
Nulled 75bd8ea5a2 Updated zh-cn translation. fixed some errors. 2010-10-15 18:15:43 +08:00
Nulled 50a5e864ac updated zh-cn translation 2010-10-15 18:04:56 +08:00
Rodrigo Damazio 352fc26f7e Fixing tests 2010-10-14 23:25:42 -03:00
Rodrigo Damazio 44afa1623e Making locations be reused when writing tracks. 2010-10-14 21:06:59 -03:00
Rodrigo Damazio 14acafabfc Getting rid of TrackBuffer. 2010-10-14 20:42:02 -03:00
Rodrigo Damazio 773af58d03 Fixing issue 190 (third step: reordering methods in execution order - no other changes) 2010-10-14 18:44:55 -03:00
Rodrigo Damazio 352b851e9c Fixing issue 190 (second step: refactoring mymaps uploading) 2010-10-14 18:35:51 -03:00
Rodrigo Damazio 8353a01082 Addressing review suggestions. 2010-10-14 16:41:20 -03:00
Bartlomiej Niechwiej b70e001206 Addressed Rodrigo's comments. 2010-10-13 21:58:26 -07:00
Rodrigo Damazio a741bb4d55 Fixing issue 190 (first step: dirty hack) 2010-10-13 22:03:31 -03:00
Rodrigo Damazio 24adee3d54 Addressing review suggestions and adding tests. 2010-10-13 21:53:16 -03:00
Bartlomiej Niechwiej 09203ffb95 Improved test coverage and minor refactoring/improvements. 2010-10-13 12:29:00 -07:00
Bartlomiej Niechwiej e94338f4c6 Fix a drawing lag during track recording.
For a track with ~2,500 points, the average drawign would take ~30-50ms, now it takes about 20ms (21ms if software clipping is enabled).

Removed all possible congestion points by introducing a blocking queue.

This change includes many fixes, including:
1) Major refactoring and clean up of the overlay, sped up drawing by a factor of 2x
2) Disable software clipping as it was slower by about 5% than w/o clipping and would trigger a bug related to map view spanning
3) Add waypoints synchronization  and fixed a bug related to skipping the first wpt
4) Add a simple unit test
2010-10-11 21:55:12 -07:00
Rodrigo Damazio dd9dd8ee81 Refactoring API level detection. 2010-10-11 22:28:02 -03:00
Rodrigo Damazio 01d6dcac59 Merging Bart's Polish fix. 2010-10-07 21:59:11 -03:00
Rodrigo Damazio ad0ee6b0d6 Merging Bart's Polish fix. 2010-10-07 21:58:07 -03:00
Rodrigo Damazio 769c8c228e Added tag v1.0.19 for changeset b096086934d6 2010-10-07 21:21:52 -03:00
Rodrigo Damazio 50fcd67085 Releasing version 1.0.19 (bugfix release) 2010-10-07 21:21:23 -03:00
Sandor Dornbush 52d03e6b7d Address Rodrigo's comments. 2010-10-07 16:28:42 -07:00
Sandor Dornbush b949cd0039 Really fix bug. 2010-10-07 12:39:05 -07:00
Sandor Dornbush e527170315 Fix recording error. 2010-10-07 12:01:32 -07:00
Sandor Dornbush ec7d210c36 Fix recording error. 2010-10-07 11:51:54 -07:00
Bartlomiej Niechwiej 74a4089464 Fix incorrect Polish translation related to delete track(s)/marker confirmation dialog (Issue 176). 2010-10-07 11:36:39 -07:00
Rodrigo Damazio fa9e14f574 Added tag v1.0.18 for changeset 7c67cd917be3 2010-10-05 17:12:20 -03:00
Rodrigo Damazio cdbeefcd16 Releasing version 1.0.18 2010-10-05 17:11:52 -03:00
Rodrigo Damazio ffdd5f4091 Merging Bart's changes 2010-10-05 14:48:43 -03:00
Bartlomiej Niechwiej bb60525780 Rename intent name to be uppercase. 2010-10-05 10:39:07 -07:00
Bartlomiej Niechwiej 82634af649 Minor refactoring. 2010-10-05 09:47:15 -07:00
Bartlomiej Niechwiej 3643ed9f13 Add missing Polish translations. 2010-10-04 23:07:38 -07:00
Bartlomiej Niechwiej fac59ab705 Partially fix a nasty bug related to losing a tracking session on service crash. 2010-10-04 21:53:34 -07:00
Bartlomiej Niechwiej 1e343b0d12 Limit the maximum number of auto-resume retry attempts to 3. 2010-10-04 21:17:56 -07:00
Bartlomiej Niechwiej 34bb467b97 Merge with 25704964a526fcfe09919af8f29c1e526b5409ec 2010-10-04 16:34:38 -07:00
Sandor Dornbush b092525c10 More swedish fixes. 2010-10-04 16:33:25 -07:00
Bartlomiej Niechwiej 256dac3a82 Moved showNotification() outside if clause. 2010-10-03 23:34:19 -07:00
Bartlomiej Niechwiej dfe947f54d Fixed an exception in MyTracks (added isBound), moved resumeState from onStart to onCreate in TrackRecordingService and some minor refactoring. 2010-10-03 23:28:12 -07:00
Andreas Bockert ce09407816 Fixed a number incorrect translation in Swedish language. 2010-10-01 22:33:16 +02:00
Bartlomiej Niechwiej beee6af79d Apply review feedback. 2010-09-30 23:46:47 -07:00
Bartlomiej Niechwiej c282562867 Introduce getLastModified() in Tracks class and fixe a NullPointerException in service if null intent is passed by the system. 2010-09-30 21:54:07 -07:00
Rodrigo Damazio 2aed9b3a33 Fixing track writer test after memory changes 2010-09-29 18:49:13 -03:00
Rodrigo Damazio 210910f21e Merging aggregated statistics change 2010-09-29 18:46:45 -03:00
Bartlomiej Niechwiej 1d666318ae Fix a bug in maybeResumeTrack. Still not sure if it works correctly (need to verify on real device). 2010-09-29 00:33:28 -07:00
Bartlomiej Niechwiej 4df6095089 Implement automatic restart of MyTracks on phone reboot.
In addition fix the following issues/add functionality:
0) Introduce MyTracksReceiver for listening on broadcast messages
1) Remove unnecessary call to VerifyChecker to avoid 403.
2) Clean up TrackRecordingService by adding private methods for common functionality
3) Fix a bug related to not canceling a timer after service was stopped
4) Add a new preference item to control behavior of new functionality
5) Add a unit test for the service (still need to figure out one issue with mocking content resolver).
2010-09-28 22:46:24 -07:00
Rodrigo Damazio d4edcce224 Uncommenting overlooked XML. 2010-09-27 21:42:59 -03:00
Rodrigo Damazio d7c6761841 Addressing comments I originally made on Sandor's change. 2010-09-27 21:02:52 -03:00
Rodrigo Damazio 5733224f8d Merging Sandor's memory footprint improvement 2010-09-27 17:41:34 -03:00
Rodrigo Damazio 22fd5042bc Merging Sandor's memory footprint improvement 2010-09-27 17:37:20 -03:00
Rodrigo Damazio 44a6f2d448 Further improving/fixing drawing, and adding a bounding box for debugging. 2010-09-27 16:14:04 -03:00
Rodrigo Damazio cd9c17f9b3 Fixing leftover from another commit - commenting out testing method. 2010-09-27 16:11:17 -03:00
Rodrigo Damazio dc07bcf0fa Fixing call to HandlerThread.quit() which only exists in API level 5+. 2010-09-27 14:54:36 -03:00
Rodrigo Damazio 248b8fb4fd Fixing bad resource in preferences (only used in 1.5). 2010-09-27 14:53:30 -03:00
Hauke Ingmar Schmidt d5ec7c3001 * Fixed some translation flaws
* Converted usages of formal language into informal language
2010-09-25 16:19:03 +02:00
Sandor Dornbush 35182a1483 Merge changes. 2010-09-23 14:30:44 -07:00
Sandor Dornbush 21b0a517a9 Merged Rodrigo's changes. 2010-09-23 11:07:31 -07:00
Sandor Dornbush 19a770445e Submit my changes before merging. 2010-09-23 11:02:45 -07:00
Rodrigo Damazio c6512f1376 Preparing to further isolate non-UI code from map drawing. 2010-09-22 22:10:36 -03:00
Rodrigo Damazio 2cb3963138 Refactoring track drawing 2010-09-22 22:04:07 -03:00
Sandor Dornbush d05c394c68 Trying to track down the missing end of track bug. 2010-09-21 15:10:56 -07:00
Sandor Dornbush 797de31960 Merging fixes. 2010-09-14 10:52:55 -07:00
Rodrigo Damazio a0af1a811a Added tag v1.0.17 for changeset 4181d0daba76 2010-09-09 20:07:21 -03:00
Rodrigo Damazio 4933b9ce54 Releasing version 1.0.17 2010-09-09 20:06:58 -03:00
Rodrigo Damazio e81c4eb155 Clearly marking the backup feature as a beta. 2010-09-09 20:06:44 -03:00
Rodrigo Damazio b284c8bc56 Fixing Sandor's fix :) 2010-09-08 22:36:59 -03:00
Sandor Dornbush 872d2d4337 Correctly take preference as a long and stop dividing bounds by E6. 2010-09-08 17:36:58 -07:00
Sandor Dornbush 525f1b7781 Fix restarting recording. 2010-09-07 17:18:06 -07:00
Rodrigo Damazio 2f99d8ca62 Fixing GPX importer tests to work on any timezone. 2010-09-07 17:39:38 -03:00
Rodrigo Damazio 7781014cf7 Fixing issue 148 - properly loading bounding boxes, and adding regression tests. 2010-09-07 16:32:46 -03:00
Rodrigo Damazio 2432b36f5d Minor javadoc style fix 2010-09-07 15:47:07 -03:00
Rodrigo Damazio 288aa015fa Merging GPX import fix 2010-09-07 15:08:54 -03:00
Rodrigo Damazio 1cb8b922c3 Fixing GPX import (issue 150) by properly parsing timestamps according to XML spec. 2010-09-06 23:05:09 -03:00
Rodrigo Damazio 41cec64bf6 Translating overlooked strings to Chinese 2010-09-02 21:06:37 -03:00
Rodrigo Damazio d82bda9d00 Merging Chinese translation 2010-09-02 20:56:31 -03:00
FNelson b84da40365 Merge with 28a6c6c0e8f12e489fa501609be4b564eb822f55
(Merge to Head)
2010-09-02 12:23:32 +01:00
Rodrigo Damazio d02c947b84 Style fixing 2010-09-01 17:46:36 -03:00
Rodrigo Damazio 7167a5a71e Final touches to cloud backup: being future-compatible by not using the agent helpers (those manage the backup state themselves, and we don't want to have to follow their format) 2010-09-01 17:42:14 -03:00
Rodrigo Damazio f13c2455ea Not overwriting files during export, and instead adding a suffix to them.
Also greatly simplifying name sanitization.
2010-09-01 00:03:34 -03:00
Rodrigo Damazio b200b66612 Fixing volume control - making the main activities control the text-to-speech volume. 2010-08-31 18:55:12 -03:00
Rodrigo Damazio b811df8cda Fixing indentation 2010-08-31 17:38:05 -03:00
Rodrigo Damazio 1e239b78c3 Fixing crash seen on developer console.
Basically, if the screen space gets really constrained, we would get a negative dimension for an image.
2010-08-31 17:35:38 -03:00
Rodrigo Damazio 3a8daadd92 Fixing NPE seen on developer console.
Apparently this happens when the activity was previously showing the chart settings dialog, and was paused then restarted - in that case we'll just keep the default chart settings.
2010-08-31 17:31:54 -03:00
Rodrigo Damazio f605d6fca5 Fixing issue 35 - detecting errors during "export all". 2010-08-31 17:14:46 -03:00
Rodrigo Damazio cd85e43624 Merging from head 2010-08-31 16:48:37 -03:00
Nulled 2b94d09539 removed file format array.
minor change to the strings.xml
2010-08-31 09:03:44 +08:00
Nulled ab82da5c75 removed colors.xml 2010-08-31 08:40:40 +08:00
Nulled 8a467aa537 updated chinese translation 2010-08-31 08:39:20 +08:00
Rodrigo Damazio 742e6b1e3e Added tag v1.0.16 for changeset 35854d46e6e4 2010-08-30 18:54:39 -03:00
Rodrigo Damazio e550e9aa1d Merge 2010-08-30 17:41:35 -03:00
Rodrigo Damazio 26e2defd9e Import cleanup 2010-08-30 17:39:16 -03:00
Rodrigo Damazio 59846280a8 Adding compression to the backup: assuming that backups/restore are infrequent, the added CPU/battery usage is not an issue 2010-08-24 22:39:29 -03:00
Rodrigo Damazio aa95e3abcd Minor leftover cleanup 2010-08-24 21:49:42 -03:00
Rodrigo Damazio ad6340c1a7 BackupActivity doesn't need to be an activity anymore, it has no own content 2010-08-24 21:41:40 -03:00
Rodrigo Damazio 62a54aab58 Style cleanup 2010-08-24 21:34:28 -03:00
Rodrigo Damazio 23f1e81cf0 A lot of cleanup:
* Splitting ExternalFileBackup into UI and non-UI parts
* Disabling backups while recording
* Triggering cloud backups when preferences are changed
2010-08-24 21:27:43 -03:00
Rodrigo Damazio d014f422d2 Ensuring the rest of the app can deal with preferences being restored from the backup 2010-08-24 21:17:55 -03:00
Rodrigo Damazio 68a9f1bc46 Clearing more leftovers from cloud backup. 2010-08-24 20:07:12 -03:00
Rodrigo Damazio 798637d465 Getting rid of full cloud backup for now - the backup service has a small size limit (1MB) which wouldn't be enough for us 2010-08-24 17:38:35 -03:00
Rodrigo Damazio 60ea4c5f77 Merging Sandor's changes with backup (non-trivial merge) 2010-08-24 17:25:50 -03:00
Rodrigo Damazio 9befe8ae5f Reversing backup order 2010-08-20 23:42:51 -03:00
Rodrigo Damazio 20e01f3b2c Storing files in UTC timezone 2010-08-20 23:31:17 -03:00
Rodrigo Damazio 98b894ed8e Adding SD card backup option to the preferences 2010-08-20 23:26:38 -03:00
Rodrigo Damazio ac8b7264b3 Minor initialization fixes 2010-08-20 23:13:05 -03:00
Rodrigo Damazio bf7b24ecc0 Isolating file utilities 2010-08-20 23:10:09 -03:00
Rodrigo Damazio 3532a6360b Adding backup facilities. TODO: some tests, calling to trigger new automatic backup on Froyo, manual backup to SD option 2010-08-16 22:22:14 -03:00
Rodrigo Damazio df81fba565 Fixing directory used in sharing as well 2010-08-16 18:17:14 -03:00
Rodrigo Damazio 25da0d26ef Changing exporters to use a subdirectory of the SD card 2010-08-16 18:14:33 -03:00
FNelson 236bcba2bd Changing retrieveAllTracks to getAllTracks 2010-08-12 14:31:03 +01:00
FNelson 0347877290 Tidy up to adhere to style guidlines 2010-08-05 12:51:46 +01:00
FNelson b464526d5e Aggregated stats in first working state. 2010-08-04 11:58:43 +01:00
FNelson 0ccd05e605 First stab at aggregated stats. Still needs work. Check in to work on home computer 2010-07-30 15:04:35 +01:00
FNelson 916e4586c5 First HG commit test. 2010-07-28 10:38:26 +01:00
Nulled 1d2f6f46a4 Fixed Chinese Simplified translation folder name 2010-06-12 08:09:49 +08:00
Nulled 4af6d856b9 Added Chinese Simplified translation 2010-06-11 08:50:23 +08:00
1512 changed files with 146967 additions and 32582 deletions
+384
View File
@@ -0,0 +1,384 @@
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = false
max_line_length = 100
tab_width = 4
ij_continuation_indent_size = 8
ij_formatter_off_tag = @formatter:off
ij_formatter_on_tag = @formatter:on
ij_formatter_tags_enabled = false
ij_smart_tabs = false
ij_visual_guides = none
ij_wrap_on_typing = false
[*.java]
ij_java_align_consecutive_assignments = false
ij_java_align_consecutive_variable_declarations = false
ij_java_align_group_field_declarations = false
ij_java_align_multiline_annotation_parameters = false
ij_java_align_multiline_array_initializer_expression = false
ij_java_align_multiline_assignment = false
ij_java_align_multiline_binary_operation = false
ij_java_align_multiline_chained_methods = false
ij_java_align_multiline_deconstruction_list_components = true
ij_java_align_multiline_extends_list = false
ij_java_align_multiline_for = true
ij_java_align_multiline_method_parentheses = false
ij_java_align_multiline_parameters = true
ij_java_align_multiline_parameters_in_calls = false
ij_java_align_multiline_parenthesized_expression = false
ij_java_align_multiline_records = true
ij_java_align_multiline_resources = true
ij_java_align_multiline_ternary_operation = false
ij_java_align_multiline_text_blocks = false
ij_java_align_multiline_throws_list = false
ij_java_align_subsequent_simple_methods = false
ij_java_align_throws_keyword = false
ij_java_align_types_in_multi_catch = true
ij_java_annotation_parameter_wrap = off
ij_java_array_initializer_new_line_after_left_brace = false
ij_java_array_initializer_right_brace_on_new_line = false
ij_java_array_initializer_wrap = off
ij_java_assert_statement_colon_on_next_line = false
ij_java_assert_statement_wrap = off
ij_java_assignment_wrap = off
ij_java_binary_operation_sign_on_next_line = false
ij_java_binary_operation_wrap = off
ij_java_blank_lines_after_anonymous_class_header = 0
ij_java_blank_lines_after_class_header = 0
ij_java_blank_lines_after_imports = 1
ij_java_blank_lines_after_package = 1
ij_java_blank_lines_around_class = 1
ij_java_blank_lines_around_field = 0
ij_java_blank_lines_around_field_in_interface = 0
ij_java_blank_lines_around_initializer = 1
ij_java_blank_lines_around_method = 1
ij_java_blank_lines_around_method_in_interface = 1
ij_java_blank_lines_before_class_end = 0
ij_java_blank_lines_before_imports = 1
ij_java_blank_lines_before_method_body = 0
ij_java_blank_lines_before_package = 0
ij_java_block_brace_style = end_of_line
ij_java_block_comment_add_space = false
ij_java_block_comment_at_first_column = true
ij_java_builder_methods = none
ij_java_call_parameters_new_line_after_left_paren = false
ij_java_call_parameters_right_paren_on_new_line = false
ij_java_call_parameters_wrap = off
ij_java_case_statement_on_separate_line = true
ij_java_catch_on_new_line = false
ij_java_class_annotation_wrap = split_into_lines
ij_java_class_brace_style = end_of_line
ij_java_class_count_to_use_import_on_demand = 99
ij_java_class_names_in_javadoc = 1
ij_java_deconstruction_list_wrap = normal
ij_java_do_not_indent_top_level_class_members = false
ij_java_do_not_wrap_after_single_annotation = false
ij_java_do_not_wrap_after_single_annotation_in_parameter = false
ij_java_do_while_brace_force = never
ij_java_doc_add_blank_line_after_description = true
ij_java_doc_add_blank_line_after_param_comments = false
ij_java_doc_add_blank_line_after_return = false
ij_java_doc_add_p_tag_on_empty_lines = true
ij_java_doc_align_exception_comments = true
ij_java_doc_align_param_comments = true
ij_java_doc_do_not_wrap_if_one_line = false
ij_java_doc_enable_formatting = true
ij_java_doc_enable_leading_asterisks = true
ij_java_doc_indent_on_continuation = false
ij_java_doc_keep_empty_lines = true
ij_java_doc_keep_empty_parameter_tag = true
ij_java_doc_keep_empty_return_tag = true
ij_java_doc_keep_empty_throws_tag = true
ij_java_doc_keep_invalid_tags = true
ij_java_doc_param_description_on_new_line = false
ij_java_doc_preserve_line_breaks = false
ij_java_doc_use_throws_not_exception_tag = true
ij_java_else_on_new_line = false
ij_java_enum_constants_wrap = off
ij_java_extends_keyword_wrap = off
ij_java_extends_list_wrap = off
ij_java_field_annotation_wrap = split_into_lines
ij_java_finally_on_new_line = false
ij_java_for_brace_force = never
ij_java_for_statement_new_line_after_left_paren = false
ij_java_for_statement_right_paren_on_new_line = false
ij_java_for_statement_wrap = off
ij_java_generate_final_locals = false
ij_java_generate_final_parameters = false
ij_java_if_brace_force = never
ij_java_imports_layout = $android.**,$androidx.**,$com.**,$junit.**,$net.**,$org.**,$java.**,$javax.**,$*,|,android.**,|,androidx.**,|,com.**,|,junit.**,|,net.**,|,org.**,|,java.**,|,javax.**,|,*,|
ij_java_indent_case_from_switch = true
ij_java_insert_inner_class_imports = false
ij_java_insert_override_annotation = true
ij_java_keep_blank_lines_before_right_brace = 2
ij_java_keep_blank_lines_between_package_declaration_and_header = 2
ij_java_keep_blank_lines_in_code = 2
ij_java_keep_blank_lines_in_declarations = 2
ij_java_keep_builder_methods_indents = false
ij_java_keep_control_statement_in_one_line = true
ij_java_keep_first_column_comment = true
ij_java_keep_indents_on_empty_lines = false
ij_java_keep_line_breaks = true
ij_java_keep_multiple_expressions_in_one_line = false
ij_java_keep_simple_blocks_in_one_line = false
ij_java_keep_simple_classes_in_one_line = false
ij_java_keep_simple_lambdas_in_one_line = false
ij_java_keep_simple_methods_in_one_line = false
ij_java_label_indent_absolute = false
ij_java_label_indent_size = 0
ij_java_lambda_brace_style = end_of_line
ij_java_layout_static_imports_separately = true
ij_java_line_comment_add_space = false
ij_java_line_comment_add_space_on_reformat = false
ij_java_line_comment_at_first_column = true
ij_java_method_annotation_wrap = split_into_lines
ij_java_method_brace_style = end_of_line
ij_java_method_call_chain_wrap = off
ij_java_method_parameters_new_line_after_left_paren = false
ij_java_method_parameters_right_paren_on_new_line = false
ij_java_method_parameters_wrap = off
ij_java_modifier_list_wrap = false
ij_java_multi_catch_types_wrap = normal
ij_java_names_count_to_use_import_on_demand = 99
ij_java_new_line_after_lparen_in_annotation = false
ij_java_new_line_after_lparen_in_deconstruction_pattern = true
ij_java_new_line_after_lparen_in_record_header = false
ij_java_parameter_annotation_wrap = off
ij_java_parentheses_expression_new_line_after_left_paren = false
ij_java_parentheses_expression_right_paren_on_new_line = false
ij_java_place_assignment_sign_on_next_line = false
ij_java_prefer_longer_names = true
ij_java_prefer_parameters_wrap = false
ij_java_record_components_wrap = normal
ij_java_repeat_synchronized = true
ij_java_replace_instanceof_and_cast = false
ij_java_replace_null_check = true
ij_java_replace_sum_lambda_with_method_ref = true
ij_java_resource_list_new_line_after_left_paren = false
ij_java_resource_list_right_paren_on_new_line = false
ij_java_resource_list_wrap = off
ij_java_rparen_on_new_line_in_annotation = false
ij_java_rparen_on_new_line_in_deconstruction_pattern = true
ij_java_rparen_on_new_line_in_record_header = false
ij_java_space_after_closing_angle_bracket_in_type_argument = false
ij_java_space_after_colon = true
ij_java_space_after_comma = true
ij_java_space_after_comma_in_type_arguments = true
ij_java_space_after_for_semicolon = true
ij_java_space_after_quest = true
ij_java_space_after_type_cast = true
ij_java_space_before_annotation_array_initializer_left_brace = false
ij_java_space_before_annotation_parameter_list = false
ij_java_space_before_array_initializer_left_brace = false
ij_java_space_before_catch_keyword = true
ij_java_space_before_catch_left_brace = true
ij_java_space_before_catch_parentheses = true
ij_java_space_before_class_left_brace = true
ij_java_space_before_colon = true
ij_java_space_before_colon_in_foreach = true
ij_java_space_before_comma = false
ij_java_space_before_deconstruction_list = false
ij_java_space_before_do_left_brace = true
ij_java_space_before_else_keyword = true
ij_java_space_before_else_left_brace = true
ij_java_space_before_finally_keyword = true
ij_java_space_before_finally_left_brace = true
ij_java_space_before_for_left_brace = true
ij_java_space_before_for_parentheses = true
ij_java_space_before_for_semicolon = false
ij_java_space_before_if_left_brace = true
ij_java_space_before_if_parentheses = true
ij_java_space_before_method_call_parentheses = false
ij_java_space_before_method_left_brace = true
ij_java_space_before_method_parentheses = false
ij_java_space_before_opening_angle_bracket_in_type_parameter = false
ij_java_space_before_quest = true
ij_java_space_before_switch_left_brace = true
ij_java_space_before_switch_parentheses = true
ij_java_space_before_synchronized_left_brace = true
ij_java_space_before_synchronized_parentheses = true
ij_java_space_before_try_left_brace = true
ij_java_space_before_try_parentheses = true
ij_java_space_before_type_parameter_list = false
ij_java_space_before_while_keyword = true
ij_java_space_before_while_left_brace = true
ij_java_space_before_while_parentheses = true
ij_java_space_inside_one_line_enum_braces = false
ij_java_space_within_empty_array_initializer_braces = false
ij_java_space_within_empty_method_call_parentheses = false
ij_java_space_within_empty_method_parentheses = false
ij_java_spaces_around_additive_operators = true
ij_java_spaces_around_annotation_eq = true
ij_java_spaces_around_assignment_operators = true
ij_java_spaces_around_bitwise_operators = true
ij_java_spaces_around_equality_operators = true
ij_java_spaces_around_lambda_arrow = true
ij_java_spaces_around_logical_operators = true
ij_java_spaces_around_method_ref_dbl_colon = false
ij_java_spaces_around_multiplicative_operators = true
ij_java_spaces_around_relational_operators = true
ij_java_spaces_around_shift_operators = true
ij_java_spaces_around_type_bounds_in_type_parameters = true
ij_java_spaces_around_unary_operator = false
ij_java_spaces_within_angle_brackets = false
ij_java_spaces_within_annotation_parentheses = false
ij_java_spaces_within_array_initializer_braces = false
ij_java_spaces_within_braces = false
ij_java_spaces_within_brackets = false
ij_java_spaces_within_cast_parentheses = false
ij_java_spaces_within_catch_parentheses = false
ij_java_spaces_within_deconstruction_list = false
ij_java_spaces_within_for_parentheses = false
ij_java_spaces_within_if_parentheses = false
ij_java_spaces_within_method_call_parentheses = false
ij_java_spaces_within_method_parentheses = false
ij_java_spaces_within_parentheses = false
ij_java_spaces_within_record_header = false
ij_java_spaces_within_switch_parentheses = false
ij_java_spaces_within_synchronized_parentheses = false
ij_java_spaces_within_try_parentheses = false
ij_java_spaces_within_while_parentheses = false
ij_java_special_else_if_treatment = true
ij_java_subclass_name_suffix = Impl
ij_java_ternary_operation_signs_on_next_line = false
ij_java_ternary_operation_wrap = off
ij_java_test_name_suffix = Test
ij_java_throws_keyword_wrap = off
ij_java_throws_list_wrap = off
ij_java_use_external_annotations = false
ij_java_use_fq_class_names = false
ij_java_use_relative_indents = false
ij_java_use_single_class_imports = true
ij_java_variable_annotation_wrap = off
ij_java_visibility = public
ij_java_while_brace_force = never
ij_java_while_on_new_line = false
ij_java_wrap_comments = false
ij_java_wrap_first_method_in_call_chain = false
ij_java_wrap_long_lines = false
[*.properties]
ij_properties_align_group_field_declarations = false
ij_properties_keep_blank_lines = false
ij_properties_key_value_delimiter = equals
ij_properties_spaces_around_key_value_delimiter = false
[.editorconfig]
ij_editorconfig_align_group_field_declarations = false
ij_editorconfig_space_after_colon = false
ij_editorconfig_space_after_comma = true
ij_editorconfig_space_before_colon = false
ij_editorconfig_space_before_comma = false
ij_editorconfig_spaces_around_assignment_operators = true
[{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.rng,*.tld,*.wsdl,*.xml,*.xsd,*.xsl,*.xslt,*.xul}]
ij_continuation_indent_size = 4
ij_xml_align_attributes = false
ij_xml_align_text = false
ij_xml_attribute_wrap = normal
ij_xml_block_comment_add_space = false
ij_xml_block_comment_at_first_column = true
ij_xml_keep_blank_lines = 2
ij_xml_keep_indents_on_empty_lines = false
ij_xml_keep_line_breaks = false
ij_xml_keep_line_breaks_in_text = true
ij_xml_keep_whitespaces = false
ij_xml_keep_whitespaces_around_cdata = preserve
ij_xml_keep_whitespaces_inside_cdata = false
ij_xml_line_comment_at_first_column = true
ij_xml_space_after_tag_name = false
ij_xml_space_around_equals_in_attribute = false
ij_xml_space_inside_empty_tag = true
ij_xml_text_wrap = normal
ij_xml_use_custom_settings = true
[{*.apinotes,*.yaml,*.yml}]
indent_size = 2
ij_yaml_align_values_properties = do_not_align
ij_yaml_autoinsert_sequence_marker = true
ij_yaml_block_mapping_on_new_line = false
ij_yaml_indent_sequence_value = true
ij_yaml_keep_indents_on_empty_lines = false
ij_yaml_keep_line_breaks = true
ij_yaml_sequence_on_new_line = false
ij_yaml_space_before_colon = false
ij_yaml_spaces_within_braces = true
ij_yaml_spaces_within_brackets = true
[{*.bash,*.sh,*.zsh}]
indent_size = 2
tab_width = 2
ij_shell_binary_ops_start_line = false
ij_shell_keep_column_alignment_padding = false
ij_shell_minify_program = false
ij_shell_redirect_followed_by_space = false
ij_shell_switch_cases_indented = false
ij_shell_use_unix_line_separator = true
[{*.har,*.json}]
indent_size = 2
ij_json_array_wrapping = split_into_lines
ij_json_keep_blank_lines_in_code = 0
ij_json_keep_indents_on_empty_lines = false
ij_json_keep_line_breaks = true
ij_json_keep_trailing_comma = false
ij_json_object_wrapping = split_into_lines
ij_json_property_alignment = do_not_align
ij_json_space_after_colon = true
ij_json_space_after_comma = true
ij_json_space_before_colon = false
ij_json_space_before_comma = false
ij_json_spaces_within_braces = false
ij_json_spaces_within_brackets = false
ij_json_wrap_long_lines = false
[{*.htm,*.html,*.sht,*.shtm,*.shtml}]
ij_html_add_new_line_before_tags = body,div,p,form,h1,h2,h3
ij_html_align_attributes = true
ij_html_align_text = false
ij_html_attribute_wrap = normal
ij_html_block_comment_add_space = false
ij_html_block_comment_at_first_column = true
ij_html_do_not_align_children_of_min_lines = 0
ij_html_do_not_break_if_inline_tags = title,h1,h2,h3,h4,h5,h6,p
ij_html_do_not_indent_children_of_tags = html,body,thead,tbody,tfoot
ij_html_enforce_quotes = false
ij_html_inline_tags = a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var
ij_html_keep_blank_lines = 2
ij_html_keep_indents_on_empty_lines = false
ij_html_keep_line_breaks = true
ij_html_keep_line_breaks_in_text = true
ij_html_keep_whitespaces = false
ij_html_keep_whitespaces_inside = span,pre,textarea
ij_html_line_comment_at_first_column = true
ij_html_new_line_after_last_attribute = never
ij_html_new_line_before_first_attribute = never
ij_html_quote_style = double
ij_html_remove_new_line_before_tags = br
ij_html_space_after_tag_name = false
ij_html_space_around_equality_in_attribute = false
ij_html_space_inside_empty_tag = false
ij_html_text_wrap = normal
[{*.markdown,*.md}]
ij_markdown_force_one_space_after_blockquote_symbol = true
ij_markdown_force_one_space_after_header_symbol = true
ij_markdown_force_one_space_after_list_bullet = true
ij_markdown_force_one_space_between_words = true
ij_markdown_format_tables = true
ij_markdown_insert_quote_arrows_on_wrap = true
ij_markdown_keep_indents_on_empty_lines = false
ij_markdown_keep_line_breaks_inside_text_blocks = true
ij_markdown_max_lines_around_block_elements = 1
ij_markdown_max_lines_around_header = 1
ij_markdown_max_lines_between_paragraphs = 1
ij_markdown_min_lines_around_block_elements = 1
ij_markdown_min_lines_around_header = 1
ij_markdown_min_lines_between_paragraphs = 1
ij_markdown_wrap_text_if_long = true
ij_markdown_wrap_text_inside_blockquotes = true
+5
View File
@@ -0,0 +1,5 @@
# These are supported funding model platforms
liberapay: OpenTracks
github: [rgmf, pstorch, dennisguse]
custom: https://play.google.com/store/apps/details?id=de.dennisguse.opentracks.playstore
+27
View File
@@ -0,0 +1,27 @@
---
name: Bug report
about: Report issues of OpenTracks features
title: ''
labels: potential bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
If applicable:
* add screenshots
* add logcat output
**Technical information**
- Device: [e.g. Nexus 7 (2013)]
- OS: [e.g. LineageOS 15.1]
- OpenTracks version: [e.g. v3.2.4]
- OpenTracks commit id (only for nightly builds): [e.g. 4b333bb]
@@ -0,0 +1,24 @@
---
name: Data not recorded
about: Somehow OpenTracks did not record GPS data
title: ''
labels: potential bug
assignees: ''
---
**Please describe the problem and how to reproduce it:**
...
**Checklist**
- [ ] Consulted [https://dontkillmyapp.com/]
- [ ] Power management: battery optimization is disabled for OpenTracks
**Technical information**
- Device: [e.g. Nexus 7 (2013)]
- OS: [e.g. LineageOS 15.1]
- OpenTracks version: [e.g. v3.2.4]
- OpenTracks commit id (only for nightly builds): [e.g. 4b333bb]
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for OpenTracks
title: ''
labels: enhancement
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+21
View File
@@ -0,0 +1,21 @@
# Thanks for your contribution.
## PLEASE REMOVE
To support us in providing a nice (and fast) open-source experience:
1. Verify that the tests are passing
2. Check that the code is properly formatted (using AndroidStudio's autoformatter)
3. Provide write access to the [branch](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork)
4. If the PR is not ready for review, please submit it as a [draft](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests#draft-pull-requests)
## PLEASE REMOVE
**Describe the pull request**
A clear and concise description of what the pull request changes/adds.
**Link to the the issue**
(If available): The link to the issue that this pull request solves.
**License agreement**
By opening this pull request, you are providing your contribution under the _Apache License 2.0_ (see [LICENSE.md](LICENSE.md)).
**Note: new dependencies/libraries**
Please refrain from introducing new libraries without consulting the team.
+10
View File
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
+35
View File
@@ -0,0 +1,35 @@
#https://github.com/marketplace/actions/android-emulator-runner
name: Build APK
on:
push
jobs:
apk-build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '17'
- name: Assemble APK
shell: bash
run: |
echo ${NIGHTLY_STORE_FILE} | base64 -d > KEY_NIGHTLY.jks
./gradlew assembleNightly -Dnightly_store_file=KEY_NIGHTLY.jks -Dnightly_store_password="${NIGHTLY_STORE_PASSWORD}" -Dnightly_key_alias="${NIGHTLY_KEY_ALIAS}" -Dnightly_key_password="${NIGHTLY_STORE_PASSWORD}"
env:
NIGHTLY_STORE_FILE: ${{ secrets.NIGHTLY_STORE_FILE }}
NIGHTLY_STORE_PASSWORD: ${{ secrets.NIGHTLY_STORE_PASSWORD }}
NIGHTLY_KEY_ALIAS: ${{ secrets.NIGHTLY_KEY_ALIAS }}
- name: Archive
if: always()
uses: actions/upload-artifact@v4
with:
name: OpenTracks-APK.apk
path: ./build/outputs/apk/nightly/*.apk
retention-days: 7
+21
View File
@@ -0,0 +1,21 @@
name: Linting
on:
push:
pull_request:
jobs:
analyse:
name: Analyse
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- run: ./gradlew lint
+34
View File
@@ -0,0 +1,34 @@
#https://github.com/marketplace/actions/android-emulator-runner
name: Test
on:
push:
pull_request:
jobs:
test:
timeout-minutes: 45
runs-on: macos-latest
steps:
- name: checkout
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '17'
- name: run tests
uses: reactivecircus/android-emulator-runner@v2.30.1
with:
arch: x86_64
api-level: 34
script: ./gradlew connectedCheck
- name: Archive
if: always()
uses: actions/upload-artifact@v4
with:
name: code-coverage-report
path: build/reports/androidTests/
retention-days: 7
+84
View File
@@ -0,0 +1,84 @@
# Built application files
*.apk
*.ap_
# Files for the ART/Dalvik VM
*.dex
# Java class files
*.class
# Generated files
bin/
gen/
out/
release/
# Gradle files
.gradle/
build/
# Local configuration file (sdk path, etc)
local.properties
# Proguard folder generated by Eclipse
proguard/
# Log Files
*.log
# Android Studio Navigation editor temp files
.navigation/
# Android Studio captures folder
captures/
# IntelliJ
*.iml
.idea/workspace.xml
.idea/tasks.xml
.idea/gradle.xml
.idea/assetWizardSettings.xml
.idea/dictionaries
.idea/libraries
.idea/caches
.idea/misc.xml
# IntelliJ IDEA
*.iws
/out/
# User-specific configurations
.idea/.name
.idea/caches/
.idea/compiler.xml
.idea/androidTestResultsUserPreferences.xml
.idea/copyright/profiles_settings.xml
.idea/dataSources.ids
.idea/datasources.xml
.idea/dynamic.xml
.idea/encodings.xml
.idea/jsLibraryMappings.xml
.idea/libraries/
.idea/modules.xml
.idea/scopes/scope_settings.xml
.idea/shelf/
.idea/sqlDataSources.xml
.idea/vcs.xml
.idea/uiDesigner.xml
.idea/jarRepositories.xml
.idea/markdown-navigator-enh.xml
.idea/markdown-navigator.xml
.idea/deploymentTargetDropDown.xml
# Keystore files
*.jks
# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
# Fastlane
Appfile
releasePlayStore/*
Gemfile.lock
-5
View File
@@ -1,5 +0,0 @@
syntax:glob
*/bin
*/gen/**
.metadata
+128
View File
@@ -0,0 +1,128 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<JetCodeStyleSettings>
<option name="PACKAGES_TO_USE_STAR_IMPORTS">
<value>
<package name="java.util" alias="false" withSubpackages="false" />
<package name="kotlinx.android.synthetic" alias="false" withSubpackages="true" />
<package name="io.ktor" alias="false" withSubpackages="true" />
</value>
</option>
</JetCodeStyleSettings>
<MarkdownNavigatorCodeStyleSettings>
<option name="RIGHT_MARGIN" value="72" />
</MarkdownNavigatorCodeStyleSettings>
<codeStyleSettings language="XML">
<indentOptions>
<option name="CONTINUATION_INDENT_SIZE" value="4" />
</indentOptions>
<arrangement>
<rules>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:android</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>xmlns:.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:id</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*:name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>name</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>style</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>^$</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
</AND>
</match>
<order>ANDROID_ATTRIBUTE_ORDER</order>
</rule>
</section>
<section>
<rule>
<match>
<AND>
<NAME>.*</NAME>
<XML_ATTRIBUTE />
<XML_NAMESPACE>.*</XML_NAMESPACE>
</AND>
</match>
<order>BY_NAME</order>
</rule>
</section>
</rules>
</arrangement>
</codeStyleSettings>
</code_scheme>
</component>
+5
View File
@@ -0,0 +1,5 @@
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
</project>
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RenderSettings">
<option name="showDecorations" value="true" />
</component>
</project>
Generated
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
+42
View File
@@ -0,0 +1,42 @@
# How to contribute?
## Testing
Just use OpenTracks and tell us what can be improved by opening an
issue [here](https://github.com/OpenTracksApp/OpenTracks/issues/new/choose)
If we broke things (happens now and then), please tell us also.
## Translations
Translations are hosted on [hosted.weblate.org](https://hosted.weblate.org/engage/opentracks/).
## Coding new features
You have a cool idea for a feature that is missing in OpenTracks?
And you would like to help by implementing it?
If not, you can just take a look at
the [issue tracker](https://github.com/OpenTracksApp/OpenTracks/issues).
Advices:
* creating an issue beforehand might be a good idea
Sometimes it is helpful to discuss your idea and also your implementation approach first.
We may be able to give you some hints on how to tackle the problem.
It also makes merging your changes easier and, usually, faster.
* please only add new dependencies if is absolutely necessary
If you need to:
* tell us why those are required,
* what alternatives are existing, and
* why you choose this dependency.
And also verify that the license(s) are compatible with _Apache 2.0_ as well as open-source.
## Coding conventions
None so far.
Just keep it simple.
And follow the _scout rule_.
You can take a look at existing code and get a feeling for it.
Please autoformat your code using AndroidStudio's code formatter.
+3
View File
@@ -0,0 +1,3 @@
source "https://rubygems.org"
gem "fastlane"
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-10
View File
@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="lib" path="libs/googleloginclient-helper.jar"/>
<classpathentry kind="lib" path="libs/google-common.jar"/>
<classpathentry kind="lib" path="libs/accounts.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
-33
View File
@@ -1,33 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MyTracks</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
@@ -1,12 +0,0 @@
#Thu Aug 12 18:54:52 BRT 2010
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
-100
View File
@@ -1,100 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.maps.mytracks"
android:versionCode="17"
android:versionName="1.0.16">
<application android:icon="@drawable/arrow_icon"
android:label="@string/app_name">
<uses-library android:name="com.google.android.maps" />
<provider android:name="com.google.android.apps.mytracks.content.MyTracksProvider"
android:multiprocess="true"
android:authorities="com.google.android.maps.mytracks" />
<activity android:name="com.google.android.apps.mytracks.MyTracks"
android:label="My Tracks"
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|fontScale">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="file" />
<data android:mimeType="application/gpx+xml" />
<data android:mimeType="application/gpx" />
<data android:mimeType="application/vnd.google-earth.gpx" />
<data android:mimeType="application/vnd.google-earth.gpx+xml" />
</intent-filter>
</activity>
<activity android:name="com.google.android.apps.mytracks.MyTracksMap"
android:label="MyTracks" />
<activity android:name="com.google.android.apps.mymaps.MyMapsList"
android:label="@string/map_list_title"
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|fontScale">
</activity>
<activity android:name="com.google.android.apps.mytracks.MyTracksList"
android:label="Recorded Tracks">
</activity>
<activity android:name="com.google.android.apps.mytracks.MyTracksWaypointsList"
android:label="Recorded Waypoints">
</activity>
<activity android:name="com.google.android.apps.mytracks.MyTracksDetails"
android:label="@string/trackdetails_title" />
<activity android:name="com.google.android.apps.mytracks.MyTracksWaypointDetails"
android:label="@string/waypointdetails_title" />
<activity android:name="com.google.android.apps.mytracks.MyTracksSettings"
android:label="@string/mytracks_settings" />
<activity android:name="com.google.android.apps.mytracks.StatsActivity"
android:label="@string/statistics"/>
<activity android:name="com.google.android.apps.mytracks.ChartActivity"
android:label="@string/elevation_label"/>
<activity android:name="com.google.android.apps.mytracks.WelcomeActivity"
android:label="@string/welcome"/>
<service android:name="com.google.android.apps.mytracks.services.TrackRecordingService"
android:process=":trackrecord"
android:label="Track Recording Service"
android:icon="@drawable/arrow_320"
android:enabled="true"
android:exported="true" />
</application>
<!-- Permissions for recording tracks and showing maps -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- Permissions for uploading tracks -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.local" />
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.wise" />
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.writely" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-sdk android:minSdkVersion="3"/>
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true" />
</manifest>
-22
View File
@@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="com.android.ide.eclipse.adt.debug.LaunchConfigType">
<intAttribute key="com.android.ide.eclipse.adt.action" value="0"/>
<stringAttribute key="com.android.ide.eclipse.adt.commandline" value=""/>
<intAttribute key="com.android.ide.eclipse.adt.delay" value="0"/>
<booleanAttribute key="com.android.ide.eclipse.adt.nobootanim" value="false"/>
<intAttribute key="com.android.ide.eclipse.adt.speed" value="0"/>
<booleanAttribute key="com.android.ide.eclipse.adt.target" value="false"/>
<booleanAttribute key="com.android.ide.eclipse.adt.wipedata" value="false"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/MyTracks"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<booleanAttribute key="org.eclipse.jdt.launching.ALLOW_TERMINATE" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="MyTracks"/>
</launchConfiguration>
-62
View File
@@ -1,62 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>My Tracks Welcome</title>
</head>
<body>
<div>
<img src="file:///android_asset/welcome.png" />
<p>
<b>What is My Tracks?</b><br>
<i>My Tracks</i> is an application for your Android powered phone. With <i>My Tracks</i> you can record GPS tracks and visualize your hiking, running, biking or any other activity while watching live performance statistics. <i>My Tracks</i> makes it easy to archive your training history with <i>Google Docs</i> and <i>Google My Maps</i>, and share your activities with friends and the world.<br><br>
<b>How do I see the map, statistics and elevation profile?</b><br>
Touch the map. Left and right arrows will appear. Tap on these arrows to cycle between the map view, the track statistics view, and the elevation profile.<br> <br>
<b>Why does the application sometimes display <i>Waiting for a better GPS fix. Make sure the sky is visible</i>?</b><br>
For <i>My Tracks</i> to work, your phone needs to be in line-of-sight contact with the GPS satellites orbiting the earth. If line-of-sight is obstructed by trees, buildings or canyon walls, you may not get an accurate fix. If you see the message Waiting for a better GPS fix, wait a minute or two. If your device does not achieve a fix, move to an area clear of obstructions and try again.
<br> <br>
<b>How do I send my tracks to <i>Google My Maps</i> and <i>Google Docs</i>?</b><br>
Tap the <i>Options</i> button located at the bottom right corner of the map and select <i>Send to Google...</i> Then choose to send the track to <i>Google My Maps</i> and/or <i>Google Docs</i>. The first time you do this, you may be prompted to log into your Google account. By default your track will be uploaded to a new <i>My Map</i> that will be created in your account. You can opt to add your track to an existing <i>My Map</i> if you prefer. In that case you will be asked to choose a <i>My Map</i> from your account. You can view and edit all of your <i>My Maps</i> by going to maps.google.com, signing in, and clicking on the <i>My Maps</i> tab.<br> <br>
<b>How do I share tracks with friends and the rest of the world? </b><br>
After recording a track, press the <i>Options</i> button on the bottom right of the map and then select <i>Share with friends...</i> Select how you want to share the track: a) as a link to a <i>Google My Map</i> (you will be prompted to upload the track to <i>Google My Maps</i> if you have not already done so), b) as a GPX file in an e-mail attachment, or c) as a KML file in an e-mail attachment. You can also send an e-mail with a link to your <i>My Map</i> by going to maps.google.com on your computer. Select the map and then click <i>Link</i> on the right side of the Google Maps web site.<br> <br>
<b>Can I view other people's tracks on my Android phone?</b><br>
Yes. Use the <i>Google My Maps Editor</i> application, available from the <i>Android Market</i>, to view tracks that have been uploaded to <a href="http://www.google.com/url?sa=D&amp;q=http%3A%2F%2Fmaps.google.com">maps.google.com</a> by you or your friends. If you have received an e-mail invitation to view a map, you can click on the link contained in the e-mail to view the map on your Android phone, assuming that <i>Google My Maps Editor</i> is installed on the phone.<br> <br>
<b>What are way point markers?</b><br>
Way point markers are used to annotate a place. For example if you are recording a track and you are close to an interesting place, let's say a mountain top, press <i>MENU | Markers | Insert Way point</i> to insert a way point marker at that location. Type a name and description for the place. Once you send your track to Google a place marker will show up on your map. People who view your maps can read your description and learn about this place.<br> <br>
<b>What are statistics markers?</b><br>
Let's say you are recording a bike ride up a hill. You will be able to see the total time and distance for the trip, but wouldn't it be good to know how long the climbing part took and how much altitude has been gained? That's what statistics marker are for. Insert a statistics marker once at the bottom of the hill, and once at the top. Now you will be able to view track statistics for each segment of your ride. Each marker has the statistic for the segment up to the marker. Note: To insert a statistics marker simply press the track ball (while the <i>My Tracks</i> application is in the foreground), or use <i>MENU | Markers | Insert Statistics</i>.<br> <br>
<b>Do I need a cell signal and data connection to use <i>My Tracks</i>?</b><br>
A cell signal or data connection is not required to record GPS tracks. However, if there is no data connection, you will not be able to see satellite imagery or a map. Instead, you will see a grey screen or partial map. Tracks, represented as simple lines, can still be recorded even if there is no data connection.<br> <br>
<b>How long does the battery last when recording tracks?</b><br>
The GPS receiver draws a relatively high amount of power, so a fully charged battery typically survives less than 5 hours. Battery life depends on many factors, including signal strength, battery freshness, and tasks running in parallel. Switching off some or all of the phone's radios will lengthen battery life. Putting the phone into Airplane mode will yield the best results.<br> <br>
<b>What can I do with tracks after saving them as GPX or KML files to the SD card or sharing such files with friends?</b><br> GPX and KML are standard file formats for storing data from GPS receivers. You can use Google Earth or similar applications to visualize and edit GPS tracks. Go to http://earth.google.com to download the latest version of Google Earth for free.<br> <br>
<b>How precise are the recorded tracks?</b><br>
Under optimal conditions the location error can be +/- 20 feet (6 meters). However, precision depends on the quality of the GPS signal. Your phone needs to be in line-of-sight contact with the GPS satellites orbiting the earth. The signal will be best in open areas free of trees, buildings, canyon walls and other obstructions. The blue circle around the orange location arrow indicates estimated precision. (You may need to zoom in or out to see the circle.) If the precision is too low, a message at the top of the screen will alert you and tracks will not be recorded. You can change the minimum required precision in the <i>My Tracks</i> Settings (See: <i>MENU | Settings | Pause recording if accuracy drops below</i>).<br> <br>
<b> How precise is the elevation measurement?</b><br>
GPS receivers measure elevations much less precisely than latitude and longitude. Elevations can sometimes be off by a few hundred feet, though relative changes are tracked more precisely. To get a good elevation measurement make sure that you have a strong GPS signal (good sky visibility) and wait a few minutes for the elevation to settle to a stable value.<br> <br>
<b>Can I edit the tracks and correct them for inaccuracies?</b><br>
Once you upload tracks to <i>Google My Maps</i>, you can move, delete or insert individual track points as desired.<br> <br>
<b>Why do very long tracks split into multiple segments upon sending them to <i>Google My Maps</i>? </b><br>
Tracks on maps.google.com are limited to 500 points or less. As a result, long tracks are split into multiple pieces upon upload to <i>Google My Maps</i>.<br><br>
<b>How do I delete all tracks from my phone?</b><br> Press the MENU button and select List tracks. Tap the Delete all tracks button. This permanently deletes the recorded GPS tracks from memory. If you have saved tracks to the SD card, you must delete them separately. Tracks uploaded to <i>Google My Maps</i> and <i>Google Docs</i> must also be deleted separately.<br> <br>
<b>Who can see maps I send to maps.google.com?</b><br> By default new maps that you send to maps.google.com will be publicly visible. To prevent newly created maps from being public, go to the <i>My Tracks</i> settings screen and deselect the check box labeled <i>Make maps public on maps.google.com</i>. You can change the visibility of existing maps through the maps.google.com web site or using the <i>Google My Maps Editor</i> application from your Android phone.<br> <br> <br><br>
</div>
</body>
</html>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

-13
View File
@@ -1,13 +0,0 @@
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "build.properties", and override values to adapt the script to your
# project structure.
# Indicates whether an apk should be generated for each density.
split.density=false
# Project target.
target=Google Inc.:Google APIs:8
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 738 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 720 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 671 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 810 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 698 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 694 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 725 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 805 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 812 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 689 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 760 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 707 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 743 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 974 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 358 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 913 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 722 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

-127
View File
@@ -1,127 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2008 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<TableLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:stretchColumns="2">
<TableRow>
<ImageView
android:layout_column="1"
android:src="@drawable/arrow_icon" />
<LinearLayout
android:layout_column="2"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:orientation="vertical">
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/app_name"
android:textSize="30sp" />
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/about_copyright_message"
android:textSize="15sp" />
</LinearLayout>
</TableRow>
<View
android:layout_height="2dip" />
<TableRow>
<TextView
android:paddingLeft="10dip"
android:paddingRight="10dip"
android:layout_column="1"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/about_team"
android:textSize="20sp" />
<LinearLayout
android:layout_column="2"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:orientation="vertical">
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/about_dylan"
android:textSize="20sp" />
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/about_leif"
android:textSize="20sp" />
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/about_rdamazio"
android:textSize="20sp" />
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/about_sandor"
android:textSize="20sp" />
</LinearLayout>
</TableRow>
<View
android:layout_height="2dip" />
<TableRow>
<TextView
android:paddingLeft="10dip"
android:paddingRight="10dip"
android:layout_column="1"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/about_version"
android:textSize="20sp" />
<TextView
android:layout_height="wrap_content"
android:id="@+id/about_version_register"
android:layout_width="wrap_content"
android:text="@string/unknown"
android:textSize="20sp" />
</TableRow>
<View
android:layout_height="2dip" />
<TableRow>
<TextView
android:paddingLeft="10dip"
android:paddingRight="10dip"
android:layout_column="1"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/about_support"
android:textSize="20sp" />
<TextView
android:autoLink="web"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="@string/about_weburl"
android:textSize="18sp" />
</TableRow>
<View
android:layout_height="4dip" />
</TableLayout>
-133
View File
@@ -1,133 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2009 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/screen"
android:layout_width="200dip"
android:layout_height="fill_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bar">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/chart_settings"
android:textSize="20dip"
android:textColor="#fff"
android:layout_marginLeft="10dip"/>
</LinearLayout>
<ScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1">
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="1"
android:layout_marginTop="5dip"
android:layout_marginLeft="5dip">
<TableRow>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginLeft="10dip">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView android:src="@drawable/x_axis"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/x_axis"
android:textSize="20dip" />
</LinearLayout>
<RadioGroup android:id="@+id/chart_settings_x"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<RadioButton android:id="@+id/chart_settings_by_distance"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/by_distance"/>
<RadioButton android:id="@+id/chart_settings_by_time"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/by_time"/>
</RadioGroup>
</LinearLayout>
</TableRow>
<TableRow>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginLeft="10dip">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView android:src="@drawable/y_axis"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/y_axis"
android:textSize="20dip" />
</LinearLayout>
<CheckBox android:id="@+id/chart_settings_elevation"
android:checked="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/elevation"/>
<CheckBox android:id="@+id/chart_settings_speed"
android:checked="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/speed"/>
</LinearLayout>
</TableRow>
</TableLayout>
</ScrollView>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bar"
android:padding="3dip">
<Button android:id="@+id/chart_settings_cancel"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="right"
android:text="@string/cancel"
android:textSize="14dip"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<Button android:id="@+id/chart_settings_ok"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="right"
android:text="@string/ok"
android:textSize="14dip"/>
</LinearLayout>
</LinearLayout>
-103
View File
@@ -1,103 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apl/res/com.google.android.maps"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bar"
android:layout_weight="0"
android:padding="3dip">
<TextView android:id="@+id/message"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="16dip"
android:textColor="#fff"
android:text="@string/select_map_message"
android:layout_weight="0"/>
</LinearLayout>
<ListView android:id="@+id/maplist"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<TextView android:id="@+id/mapslist_empty"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="center"
android:gravity="center"
android:padding="3dip"
android:textSize="16dip"
android:textColor="#c00"
android:textStyle="bold"
android:text="@string/mapslist_no_maps_available"
android:visibility="gone"/>
<TextView android:id="@+id/failed"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:padding="3dip"
android:textSize="16dip"
android:textColor="#c00"
android:textStyle="bold"
android:text="@string/maps_list_failed"
android:visibility="gone"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bar"
android:layout_weight="0"
android:padding="3dip">
<LinearLayout android:id="@+id/loading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="3dip"
android:layout_gravity="center">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<ProgressBar
android:layout_height="20dip"
android:layout_width="20dip"
android:layout_gravity="center"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:paddingLeft="3dip"
android:textSize="16dip"
android:textColor="#fff"
android:textStyle="bold"
android:text="@string/maps_list_loading"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"/>
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"/>
</LinearLayout>
</LinearLayout>
-40
View File
@@ -1,40 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="2dip"
android:orientation="vertical">
<TextView android:id="@+id/maplistitem"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="9pt"
android:textStyle="bold"
android:textColor="#fff"
android:singleLine="true"/>
<TextView android:id="@+id/maplistdesc"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="8pt"
android:singleLine="true"/>
<TextView android:id="@+id/maplistpublic"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="7pt"
android:singleLine="true"/>
</LinearLayout>
-88
View File
@@ -1,88 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingTop="10dip"
android:background="#c000">
<TextView android:text="@string/trackdetails_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView android:id="@+id/trackdetails_icon"
android:src="@drawable/track"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:paddingLeft="4dip"
android:paddingRight="4dip"/>
<EditText android:id="@+id/trackdetails_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:autoText="true"
android:capitalize="words"
android:selectAllOnFocus="true"/>
</LinearLayout>
<TextView android:text="@string/trackdetails_category"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<AutoCompleteTextView android:id="@+id/trackdetails_category"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="true"/>
<TextView android:text="@string/trackdetails_description"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<EditText android:id="@+id/trackdetails_description"
android:layout_width="fill_parent"
android:layout_height="0dip"
android:singleLine="false"
android:autoText="true"
android:capitalize="sentences"
android:selectAllOnFocus="true"
android:maxLines="50"
android:gravity="top"
android:layout_weight="1"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bar"
android:padding="3dip">
<Button android:id="@+id/trackdetails_cancel"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="right"
android:text="@string/cancel"
android:textSize="14dip"/>
<TextView
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<Button android:id="@+id/trackdetails_save"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="right"
android:text="@string/save"
android:textSize="14dip"/>
</LinearLayout>
</LinearLayout>
@@ -1,58 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/elevation_root"
android:orientation="vertical"
android:layout_height="fill_parent"
android:layout_width="fill_parent">
<LinearLayout android:id="@+id/elevation_chart"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1">
</LinearLayout>
<RelativeLayout android:id="@+id/elevation_zoom_layout"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="0">
<ZoomControls android:id="@+id/elevation_zoom"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"/>
</RelativeLayout>
<LinearLayout android:id="@+id/elevation_busypane"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="0"
android:padding="3dip"
android:visibility="gone">
<ProgressBar
android:layout_weight="1"
android:layout_height="0dip"
android:layout_width="wrap_content"
android:maxWidth="80dip"
android:maxHeight="80dip"
android:minWidth="80dip"
android:minHeight="80dip"
android:layout_gravity="center"/>
</LinearLayout>
</RelativeLayout>
-83
View File
@@ -1,83 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/screen"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.google.android.maps.MapView android:id="@+id/map"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clickable="true"
android:enabled="true"
android:focusable="true"
android:focusableInTouchMode="true"
android:apiKey="0TXoRmxTinrZKQ9JSazj-9A34XX6_lXsRvTpXWA"/>
<!-- corresponding certificate md5: 81:DF:A2:63:53:C7:6B:1E:6C:24:62:D4:91:1C:36:3A -->
<LinearLayout android:id="@+id/messagepane"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bar"
android:layout_weight="0"
android:padding="3dip"
android:visibility="gone">
<TextView android:id="@+id/messagetext"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="16dip"
android:textColor="#fff"
android:text="@string/wait_for_fix"
android:layout_weight="0"/>
</LinearLayout>
<LinearLayout android:id="@+id/busypane"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="0"
android:padding="3dip"
android:visibility="gone">
<ProgressBar
android:layout_weight="1"
android:layout_height="0dip"
android:layout_width="wrap_content"
android:maxWidth="80dip"
android:maxHeight="80dip"
android:minWidth="80dip"
android:minHeight="80dip"
android:layout_gravity="center"/>
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_gravity="center"
android:paddingTop="10dip">
<LinearLayout
android:layout_width = "wrap_content"
android:layout_height= "wrap_content"
android:layout_weight="1"/>
<ImageButton
android:id="@+id/showOptions"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="0"
android:visibility="visible"
android:src="@android:drawable/ic_menu_more"/>
</LinearLayout>
</RelativeLayout>
-66
View File
@@ -1,66 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apl/res/com.google.android.apps.mytracks"
android:id="@+id/tracklist_root"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bar"
android:layout_weight="0"
android:padding="3dip">
<TextView android:id="@+id/message"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="16dip"
android:textColor="#fff"
android:text="@string/tracklist_pick_one"
android:layout_weight="0"/>
</LinearLayout>
<ListView android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bar"
android:layout_weight="0"
android:padding="3dip">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<Button android:id="@+id/tracklist_btn_export_all"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="left|top"
android:text="@string/tracklist_btn_export_all"
android:textSize="14dip"/>
<Button android:id="@+id/tracklist_btn_delete_all"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="left|top"
android:text="@string/tracklist_btn_delete_all"
android:textSize="14dip"/>
</LinearLayout>
</LinearLayout>
@@ -1,83 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:paddingTop="2dip"
android:paddingBottom="2dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:orientation="vertical">
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<ImageView android:id="@+id/trackdetails_item_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="4dip"
android:paddingRight="2dip"
android:paddingTop="5dip"
android:src="@drawable/track"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView android:id="@+id/trackdetails_item_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="6dip"
android:layout_marginTop="6dip"
android:singleLine="true"
android:text="Track name"
android:textAppearance="?android:attr/textAppearanceLarge"/>
<TextView android:id="@+id/trackdetails_item_category"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="6dip"
android:layout_marginTop="6dip"
android:singleLine = "true"
android:text="Activity type"
android:textAppearance="?android:attr/textAppearanceSmall"/>
</LinearLayout>
</LinearLayout>
<TextView android:id="@+id/trackdetails_item_time"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="6dip"
android:singleLine="true"
android:textColor="#fff"
android:text="Start time"
android:textAppearance="?android:attr/textAppearanceSmall"/>
<TextView android:id="@+id/trackdetails_item_stats"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="6dip"
android:singleLine="true"
android:textColor="#0f0"
android:text="Distance and total time"
android:textAppearance="?android:attr/textAppearanceSmall"/>
<TextView android:id="@+id/trackdetails_item_description"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft = "6dip"
android:singleLine = "false"
android:text="Description"
android:textAppearance="?android:attr/textAppearanceSmall"/>
</LinearLayout>
@@ -1,70 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:paddingTop="2dip"
android:paddingBottom="2dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:minHeight="?android:attr/listPreferredItemHeight"
android:orientation="vertical">
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<ImageView android:id="@+id/waypointslist_item_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="6dip"
android:layout_marginTop="6dip"
android:src="@drawable/ylw_pushpin"/>
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView android:id="@+id/waypointslist_item_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="6dip"
android:layout_marginTop="6dip"
android:singleLine = "true"
android:text="Name"
android:textAppearance="?android:attr/textAppearanceLarge"/>
<TextView android:id="@+id/waypointslist_item_time"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft = "6dip"
android:singleLine = "true"
android:textColor = "#fff"
android:text="date and time"
android:textAppearance="?android:attr/textAppearanceSmall"/>
<TextView android:id="@+id/waypointslist_item_category"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft = "6dip"
android:singleLine = "true"
android:textColor="#0f0"
android:text="category"
android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
@@ -1,129 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/screen"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bar">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/sendtogoogle_title"
android:textSize="20dip"
android:textColor="#fff"
android:layout_marginLeft="10dip"/>
</LinearLayout>
<ScrollView android:id="@+id/sendtogoogle_scrollview"
android:layout_width="fill_parent"
android:layout_height="0dip"
android:layout_weight="1">
<TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="1"
android:layout_marginTop="5dip"
android:layout_marginLeft="5dip">
<TableRow>
<ImageView android:src="@drawable/mymaps_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginLeft="10dip">
<CheckBox android:id="@+id/sendtogoogle_google_mymaps"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/sendtogoogle_google_mymaps"
android:textSize="20dip"
android:checked="true"/>
<RadioGroup android:id="@+id/sendtogoogle_group_mymaps"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<RadioButton android:id="@+id/sendtogoogle_create_new_map"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/sendtogoogle_create_new_map"/>
<RadioButton android:id="@+id/sendtogoogle_pick_existing_map"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/sendtogoogle_pick_existing_map"/>
</RadioGroup>
</LinearLayout>
</TableRow>
<TableRow>
<ImageView android:src="@drawable/googledocs_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginLeft="10dip">
<CheckBox android:id="@+id/sendtogoogle_google_docs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/sendtogoogle_google_docs"
android:textSize="20dip"
android:checked="true"/>
<RadioGroup android:id="@+id/sendtogoogle_group_docs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:visibility="gone">
<RadioButton android:id="@+id/sendtogoogle_send_stats"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/sendtogoogle_send_stats"/>
<RadioButton android:id="@+id/sendtogoogle_send_stats_and_points"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/sendtogoogle_send_stats_and_points"
android:enabled="false"/>
</RadioGroup>
</LinearLayout>
</TableRow>
</TableLayout>
</ScrollView>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bar"
android:padding="3dip">
<Button android:id="@+id/sendtogoogle_cancel"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="right"
android:text="@string/cancel"
android:textSize="14dip"/>
<TextView
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<Button android:id="@+id/sendtogoogle_send_now"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="right"
android:text="@string/sendtogoogle_send_now"
android:textSize="14dip"/>
</LinearLayout>
</LinearLayout>
@@ -1,509 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#c000">
<ScrollView
android:id="@+id/scrolly"
android:layout_height="0dip"
android:layout_weight="1"
android:layout_width="fill_parent"
android:scrollbarStyle="insideInset">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<TextView android:text="@string/waypointdetails_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView android:id="@+id/waypointdetails_icon"
android:src="@drawable/ylw_pushpin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:paddingLeft="4dip"
android:paddingRight="2dip"/>
<EditText android:id="@+id/waypointdetails_name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:autoText="true"
android:capitalize="words"
android:selectAllOnFocus="true"/>
</LinearLayout>
<LinearLayout android:id="@+id/waypointdetails_description_layout"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="0dip"
android:visibility="visible"
android:layout_weight="1">
<TextView android:id="@+id/waypointdetails_category_label"
android:text="@string/waypointdetails_category"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<AutoCompleteTextView android:id="@+id/waypointdetails_category"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:singleLine="true"/>
<TextView android:text="@string/waypointdetails_description"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<EditText android:id="@+id/waypointdetails_description"
android:layout_width="fill_parent"
android:layout_height="0dip"
android:singleLine="false"
android:autoText="true"
android:capitalize="sentences"
android:selectAllOnFocus="true"
android:minLines="5"
android:maxLines="50"
android:gravity="top"
android:layout_weight="1"/>
</LinearLayout>
<TableLayout android:id="@+id/waypoint_stats"
android:visibility="gone"
android:padding="2dip"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:stretchColumns="1,4">
<!-- Total distance and max speed -->
<TableRow
android:padding="1dip">
<TextView
android:id="@+id/total_distance_label"
android:layout_column="1"
android:layout_span="3"
android:text="@string/total_distance_label" />
<TextView
android:id="@+id/max_speed_label"
android:layout_column="4"
android:layout_span="2"
android:text="@string/max_speed_label" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/total_distance_register"
android:layout_column="1"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:gravity="left"
android:id="@+id/total_distance_unit_label"
android:layout_column="2"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/mile"
android:textColor="@color/stat_label_text" />
<!-- TODO 4/08/2009
The following is a bad hack to get a spacer the same size as the
text. Ideally this should just be a View, however I don't know how to
set the view height properly. fill_parent on this element causes as
NullPointerException. This same filler is repeated on each line.-->
<TextView
android:background="@color/black"
android:layout_column="3"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="5dip"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/max_speed_register"
android:layout_column="4"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<LinearLayout
android:gravity="bottom"
android:layout_column="5"
android:layout_width="wrap_content"
android:lines="1"
android:orientation="vertical">
<TextView
android:id="@+id/max_speed_unit_label_top"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="-1dip"
android:layout_marginTop="-1dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
<TextView
android:background="@color/black"
android:layout_height="3dip"
android:layout_width="fill_parent" />
<TextView
android:id="@+id/max_speed_unit_label_bottom"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="-1dip"
android:layout_marginTop="-1dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
</LinearLayout>
</TableRow>
<!-- Total time and average speed -->
<TableRow>
<TextView
android:id="@+id/track_time_label"
android:layout_column="1"
android:layout_span="3"
android:text="@string/total_time_label" />
<TextView
android:id="@+id/average_speed_label"
android:layout_column="4"
android:layout_span="2"
android:text="@string/average_speed_label" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/total_time_register"
android:layout_column="1"
android:layout_height="wrap_content"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_span="2"
android:layout_width="fill_parent"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:background="@color/black"
android:layout_column="3"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="5dip"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/average_speed_register"
android:layout_column="4"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<LinearLayout
android:gravity="bottom"
android:layout_column="5"
android:layout_width="wrap_content"
android:lines="1"
android:orientation="vertical">
<TextView
android:id="@+id/average_speed_unit_label_top"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="-1dip"
android:layout_marginTop="-1dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
<TextView
android:background="@color/black"
android:layout_height="3dip"
android:layout_width="fill_parent" />
<TextView
android:id="@+id/average_speed_unit_label_bottom"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="-1dip"
android:layout_marginTop="-1dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
</LinearLayout>
</TableRow>
<!-- Moving time and average moving speed -->
<TableRow>
<TextView
android:id="@+id/moving_time_label"
android:layout_column="1"
android:layout_span="3"
android:text="@string/moving_time_label" />
<TextView
android:id="@+id/average_moving_speed_label"
android:layout_column="4"
android:layout_span="2"
android:text="@string/average_moving_speed_label" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/moving_time_register"
android:layout_column="1"
android:layout_height="wrap_content"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="fill_parent"
android:layout_span="2"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:background="@color/black"
android:layout_column="3"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="5dip"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/average_moving_speed_register"
android:layout_column="4"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<LinearLayout
android:gravity="bottom"
android:layout_column="5"
android:layout_width="wrap_content"
android:lines="1"
android:orientation="vertical">
<TextView
android:id="@+id/average_moving_speed_unit_label_top"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="-1dip"
android:layout_marginTop="-1dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
<TextView
android:background="@color/black"
android:layout_height="3dip"
android:layout_width="fill_parent" />
<TextView
android:id="@+id/average_moving_speed_unit_label_bottom"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="-1dip"
android:layout_marginTop="-1dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
</LinearLayout>
</TableRow>
<!-- Elevation and elevation gain -->
<TableRow>
<TextView
android:id="@+id/elevation_label"
android:layout_column="1"
android:layout_span="3"
android:text="@string/elevation_label" />
<TextView
android:id="@+id/elevation_gain_label"
android:layout_column="4"
android:layout_span="2"
android:text="@string/elevation_gain_label" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/elevation_register"
android:layout_column="1"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:gravity="left"
android:id="@+id/elevation_unit_label"
android:layout_column="2"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/feet"
android:textColor="@color/stat_label_text"/>
<TextView
android:background="@color/black"
android:layout_column="3"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="5dip"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/elevation_gain_register"
android:layout_column="4"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:gravity="left"
android:id="@+id/elevation_gain_unit_label"
android:layout_column="5"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/feet"
android:textColor="@color/stat_label_text" />
</TableRow>
<!-- Min and max elevation -->
<TableRow>
<TextView
android:id="@+id/min_elevation_label"
android:layout_column="1"
android:layout_span="3"
android:text="@string/min_elevation_label" />
<TextView
android:id="@+id/max_elevation_label"
android:layout_column="4"
android:layout_span="3"
android:text="@string/max_elevation_label" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/min_elevation_register"
android:layout_column="1"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:gravity="left"
android:id="@+id/min_elevation_unit_label"
android:layout_column="2"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/feet"
android:textColor="@color/stat_label_text" />
<TextView
android:background="@color/black"
android:layout_column="3"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="5dip"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/max_elevation_register"
android:layout_column="4"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:id="@+id/max_elevation_unit_label"
android:gravity="left"
android:layout_column="5"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/feet"
android:textColor="@color/stat_label_text" />
</TableRow>
<!-- Min and max grade -->
<TableRow>
<TextView
android:id="@+id/min_grade_label"
android:layout_column="1"
android:layout_span="3"
android:text="@string/min_grade_label" />
<TextView
android:id="@+id/max_grade_label"
android:layout_column="4"
android:layout_span="2"
android:text="@string/max_grade_label" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/min_grade_register"
android:layout_column="1"
android:layout_height="wrap_content"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="fill_parent"
android:layout_span="2"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:background="@color/black"
android:layout_column="3"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="5dip"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/max_grade_register"
android:layout_column="4"
android:layout_height="wrap_content"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="fill_parent"
android:layout_span="2"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
</TableRow>
</TableLayout>
</LinearLayout>
</ScrollView>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bar"
android:padding="3dip">
<Button android:id="@+id/waypointdetails_cancel"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="right"
android:text="@string/cancel"
android:textSize="14dip"/>
<TextView
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<Button android:id="@+id/waypointdetails_save"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="right"
android:text="@string/save"
android:textSize="14dip"/>
</LinearLayout>
</LinearLayout>
@@ -1,67 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apl/res/com.google.android.apps.mytracks"
android:id="@+id/waypointslist_root"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bar"
android:layout_weight="0"
android:padding="3dip">
<TextView android:id="@+id/message"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="16dip"
android:textColor="#fff"
android:text="@string/waypointslist_pick_one"
android:layout_weight="0"/>
</LinearLayout>
<ListView android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_bar"
android:layout_weight="0"
android:padding="3dip">
<TextView
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1"/>
<Button android:id="@+id/waypointslist_btn_insert_statistics"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="left|top"
android:text="@string/waypointslist_btn_insert_statistics"
android:textSize="14dip"/>
<Button android:id="@+id/waypointslist_btn_insert_waypoint"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="left|top"
android:text="@string/waypointslist_btn_insert_waypoint"
android:textSize="14dip"/>
</LinearLayout>
</LinearLayout>
-542
View File
@@ -1,542 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/stats_root"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_width="fill_parent">
<ScrollView
android:id="@+id/scrolly"
android:layout_height="wrap_content"
android:layout_width="fill_parent">
<TableLayout
android:id="@+id/stats_table"
android:layout_height="wrap_content"
android:stretchColumns="1,4"
android:layout_width="fill_parent">
<!-- Layout the speed large on it's own line. -->
<TableRow>
<TextView
android:id="@+id/speed_label"
android:layout_span="5"
android:text="@string/speed" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/speed_register"
android:layout_column="1"
android:layout_marginBottom="-13dip"
android:layout_marginTop="-13dip"
android:layout_span="4"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="50sp" />
<LinearLayout
android:gravity="bottom"
android:layout_column="5"
android:layout_width="wrap_content"
android:lines="1"
android:orientation="vertical">
<TextView
android:layout_height="fill_parent"
android:layout_width="fill_parent" />
<TextView
android:id="@+id/speed_unit_label_top"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:layout_marginTop="2dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
<TextView
android:background="@color/black"
android:layout_height="3dip"
android:layout_width="fill_parent" />
<TextView
android:id="@+id/speed_unit_label_bottom"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="2dip"
android:layout_marginTop="2dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
</LinearLayout>
</TableRow>
<!-- Total distance and max speed -->
<TableRow
android:padding="1dip">
<TextView
android:id="@+id/total_distance_label"
android:layout_column="1"
android:layout_span="3"
android:text="@string/total_distance_label" />
<TextView
android:id="@+id/max_speed_label"
android:layout_column="4"
android:layout_span="2"
android:text="@string/max_speed_label" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/total_distance_register"
android:layout_column="1"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:gravity="left"
android:id="@+id/total_distance_unit_label"
android:layout_column="2"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/mile"
android:textColor="@color/stat_label_text" />
<!-- TODO 4/08/2009
The following is a bad hack to get a spacer the same size as the
text. Ideally this should just be a View, however I don't know how to
set the view height properly. fill_parent on this element causes as
NullPointerException. This same filler is repeated on each line.-->
<TextView
android:background="@color/black"
android:layout_column="3"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="5dip"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/max_speed_register"
android:layout_column="4"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<LinearLayout
android:gravity="bottom"
android:layout_column="5"
android:layout_width="wrap_content"
android:lines="1"
android:orientation="vertical">
<TextView
android:id="@+id/max_speed_unit_label_top"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="-1dip"
android:layout_marginTop="-1dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
<TextView
android:background="@color/black"
android:layout_height="3dip"
android:layout_width="fill_parent" />
<TextView
android:id="@+id/max_speed_unit_label_bottom"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="-1dip"
android:layout_marginTop="-1dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
</LinearLayout>
</TableRow>
<!-- Total time and average speed -->
<TableRow>
<TextView
android:id="@+id/track_time_label"
android:layout_column="1"
android:layout_span="3"
android:text="@string/total_time_label" />
<TextView
android:id="@+id/average_speed_label"
android:layout_column="4"
android:layout_span="2"
android:text="@string/average_speed_label" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/total_time_register"
android:layout_column="1"
android:layout_height="wrap_content"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_span="2"
android:layout_width="fill_parent"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:background="@color/black"
android:layout_column="3"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="5dip"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/average_speed_register"
android:layout_column="4"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<LinearLayout
android:gravity="bottom"
android:layout_column="5"
android:layout_width="wrap_content"
android:lines="1"
android:orientation="vertical">
<TextView
android:id="@+id/average_speed_unit_label_top"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="-1dip"
android:layout_marginTop="-1dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
<TextView
android:background="@color/black"
android:layout_height="3dip"
android:layout_width="fill_parent" />
<TextView
android:id="@+id/average_speed_unit_label_bottom"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="-1dip"
android:layout_marginTop="-1dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
</LinearLayout>
</TableRow>
<!-- Moving time and average moving speed -->
<TableRow>
<TextView
android:id="@+id/moving_time_label"
android:layout_column="1"
android:layout_span="3"
android:text="@string/moving_time_label" />
<TextView
android:id="@+id/average_moving_speed_label"
android:layout_column="4"
android:layout_span="2"
android:text="@string/average_moving_speed_label" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/moving_time_register"
android:layout_column="1"
android:layout_height="wrap_content"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_span="2"
android:layout_width="fill_parent"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:background="@color/black"
android:layout_column="3"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="5dip"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/average_moving_speed_register"
android:layout_column="4"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<LinearLayout
android:gravity="bottom"
android:layout_column="5"
android:layout_width="wrap_content"
android:lines="1"
android:orientation="vertical">
<TextView
android:id="@+id/average_moving_speed_unit_label_top"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="-1dip"
android:layout_marginTop="-1dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
<TextView
android:background="@color/black"
android:layout_height="3dip"
android:layout_width="fill_parent" />
<TextView
android:id="@+id/average_moving_speed_unit_label_bottom"
android:gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginBottom="-1dip"
android:layout_marginTop="-1dip"
android:layout_width="wrap_content"
android:textColor="@color/stat_label_text" />
</LinearLayout>
</TableRow>
<!-- Elevation and elevation gain -->
<TableRow>
<TextView
android:id="@+id/elevation_label"
android:layout_column="1"
android:layout_span="3"
android:text="@string/elevation_label" />
<TextView
android:id="@+id/elevation_gain_label"
android:layout_column="4"
android:layout_span="2"
android:text="@string/elevation_gain_label" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/elevation_register"
android:layout_column="1"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:gravity="left"
android:id="@+id/elevation_unit_label"
android:layout_column="2"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/feet"
android:textColor="@color/stat_label_text"/>
<TextView
android:background="@color/black"
android:layout_column="3"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="5dip"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/elevation_gain_register"
android:layout_column="4"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/elevation_gain_unit_label"
android:layout_column="5"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/feet"
android:textColor="@color/stat_label_text" />
</TableRow>
<!-- Min and max elevation -->
<TableRow>
<TextView
android:id="@+id/min_elevation_label"
android:layout_column="1"
android:layout_span="3"
android:text="@string/min_elevation_label" />
<TextView
android:id="@+id/max_elevation_label"
android:layout_column="4"
android:layout_span="3"
android:text="@string/max_elevation_label" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/min_elevation_register"
android:layout_column="1"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:gravity="left"
android:id="@+id/min_elevation_unit_label"
android:layout_column="2"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/feet"
android:textColor="@color/stat_label_text" />
<TextView
android:background="@color/black"
android:layout_column="3"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="5dip"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/max_elevation_register"
android:layout_column="4"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/max_elevation_unit_label"
android:layout_column="5"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:text="@string/feet"
android:textColor="@color/stat_label_text" />
</TableRow>
<!-- Min and max grade -->
<TableRow>
<TextView
android:id="@+id/min_grade_label"
android:layout_column="1"
android:layout_span="3"
android:text="@string/min_grade_label" />
<TextView
android:id="@+id/max_grade_label"
android:layout_column="4"
android:layout_span="2"
android:text="@string/max_grade_label" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/min_grade_register"
android:layout_column="1"
android:layout_height="wrap_content"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="fill_parent"
android:layout_span="2"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
<TextView
android:background="@color/black"
android:layout_column="3"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="5dip"
android:textSize="40sp" />
<TextView
android:gravity="right"
android:id="@+id/max_grade_register"
android:layout_column="4"
android:layout_height="wrap_content"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="fill_parent"
android:layout_span="2"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="40sp" />
</TableRow>
<!-- Latitude and Longitude -->
<TableRow>
<TextView
android:layout_column="1"
android:layout_span="3"
android:text="@string/latitude_label" />
<TextView
android:layout_column="4"
android:layout_span="2"
android:text="@string/longitude_label" />
</TableRow>
<TableRow
android:background="@color/stat_label_background">
<TextView
android:gravity="right"
android:id="@+id/latitude_register"
android:layout_column="1"
android:layout_height="wrap_content"
android:layout_marginBottom="-5dip"
android:layout_marginTop="-5dip"
android:layout_width="fill_parent"
android:layout_span="2"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="25sp" />
<TextView
android:background="@color/black"
android:layout_column="3"
android:layout_marginBottom="-9dip"
android:layout_marginTop="-9dip"
android:layout_width="5dip"
android:textSize="25sp" />
<TextView
android:gravity="right"
android:id="@+id/longitude_register"
android:layout_column="4"
android:layout_height="wrap_content"
android:layout_marginBottom="-5dip"
android:layout_marginTop="-5dip"
android:layout_width="fill_parent"
android:layout_span="2"
android:text="@string/unknown"
android:textColor="@color/stat_label_text"
android:textSize="25sp" />
</TableRow>
</TableLayout>
</ScrollView>
<LinearLayout android:id="@+id/stats_busypane"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="0"
android:padding="3dip"
android:visibility="gone">
<ProgressBar
android:layout_weight="1"
android:layout_height="0dip"
android:layout_width="wrap_content"
android:maxWidth="80dip"
android:maxHeight="80dip"
android:minWidth="80dip"
android:minHeight="80dip"
android:layout_gravity="center"/>
</LinearLayout>
</RelativeLayout>
-53
View File
@@ -1,53 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<WebView
android:id="@+id/welcome_web"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1" />
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="0"
android:background="@drawable/list_bar"
android:padding="3dip">
<Button
android:id="@+id/welcome_about"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="left"
android:text="@string/welcome_about"
android:textSize="14dip" />
<TextView
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1" />
<Button
android:id="@+id/welcome_read_later"
android:layout_width="wrap_content"
android:layout_height="48dip"
android:layout_gravity="right"
android:text="@string/welcome_read_later"
android:textSize="14dip" />
</LinearLayout>
</LinearLayout>
-29
View File
@@ -1,29 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/menu_start_recording"
android:icon="@drawable/menu_record"
android:title="@string/start_recording"/>
<item android:id="@+id/menu_stop_recording"
android:icon="@drawable/menu_stop"
android:title="@string/stop_recording"/>
<item android:id="@+id/menu_list_tracks"
android:icon="@drawable/menu_list_tracks"
android:title="@string/list_tracks"/>
<item android:id="@+id/menu_list_markers"
android:icon="@drawable/menu_marker"
android:title="@string/list_markers"/>
<item android:id="@+id/menu_settings"
android:icon="@android:drawable/ic_menu_preferences"
android:orderInCategory="1001"
android:title="@string/settings"/>
<item android:id="@+id/menu_help"
android:icon="@android:drawable/ic_menu_info_details"
android:orderInCategory="1002"
android:title="@string/help"/>
</menu>
-43
View File
@@ -1,43 +0,0 @@
End User License Agreement
By downloading, installing or using this application or any portion thereof ("Application"), you agree to the following terms and conditions (the "Terms and Conditions").
1. USE OF APPLICATION
a. Google grants you the non-exclusive, non-transferable, limited right and license to install and use this Application solely and exclusively for your personal use.
b. You may not use the Application in any manner that could damage, disable, overburden, or impair the Application (or servers or networks connected to the Application), nor may you use the Application in any manner that could interfere with any other party's use and enjoyment of the Application (or servers or networks connected to the Application).
c. You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) your use of the Application, any breach of your obligations under the Terms and Conditions, and for the consequences (including any loss or damage which Google may suffer) of any such breach.
2. PROPRIETARY RIGHTS
You acknowledge that (a) the Application contains proprietary and confidential information that is protected by applicable intellectual property and other laws, and (b) Google and/or third parties own all right, title and interest in and to the Application and content, excluding content provided by you, that may be presented or accessed through the Application, including without limitation all Intellectual Property Rights therein and thereto. "Intellectual Property Rights" means any and all rights existing from time to time under patent law, copyright law, trade secret law, trademark law, unfair competition law, and any and all other proprietary rights, and any and all applications, renewals, extensions and restorations thereof, now or hereafter in force and effect worldwide. You agree that you will not, and will not allow any third party to, (i) copy, sell, license, distribute, transfer, modify, adapt, translate, prepare derivative works from, decompile, reverse engineer, disassemble or otherwise attempt to derive source code from the Application or content that may be presented or accessed through the Application for any purpose, unless otherwise permitted, (ii) take any action to circumvent or defeat the security or content usage rules provided, deployed or enforced by any functionality (including without limitation digital rights management functionality) contained in the Application, (iii) use the Application to access, copy, transfer, transcode or retransmit content in violation of any law or third party rights, or (iv) remove, obscure, or alter Google's or any third party's copyright notices, trademarks, or other proprietary rights notices affixed to or contained within or accessed in conjunction with or through the Application.
3. GOOGLE TERMS OF SERVICE AND PRIVACY POLICY
a. Google’s Privacy Policy (located at http://www.google.com/privacypolicy.html) explains how Google treats your information and protects your privacy when you use the Application. You agree to the use of your data in accordance with Google’s privacy policies.
b. The Application may contain features that are used in conjunction with Google’s search and other services. Accordingly, your use of such features of the Application is also governed by Google’s Terms of Service located at http://www.google.com/terms_of_service.html, Google’s Privacy Policy located at http://www.google.com/privacypolicy.html, as well as any applicable Google Service-specific Terms of Service and Privacy Policy, which may be updated from time to time and without notice.
4. U.S. GOVERNMENT RESTRICTED RIGHTS
This Application, related materials and documentation have been developed entirely with private funds. If the user of the Application is an agency, department, employee, or other entity of the United States Government, the use, duplication, reproduction, release, modification, disclosure, or transfer of the Application, including technical data or manuals, is restricted by the terms, conditions and covenants contained in these Terms and Conditions. In accordance with Federal Acquisition Regulation 12.212 for civilian agencies and Defense Federal Acquisition Regulation Supplement 227.7202 for military agencies, use of the Application is further restricted by these Terms and Conditions.
5. EXPORT RESTRICTIONS
The Application may be subject to export controls or restrictions by the United States or other countries or territories. You agree to comply with all applicable U.S. and international export laws and regulations. These laws include restrictions on destinations, end users, and end use.
6. TERMINATION
These Terms and Conditions will continue to apply until terminated by either you or Google as set forth below. You may terminate these Terms and Conditions at any time by permanently deleting the Application from your mobile device in its entirety. Your rights automatically and immediately terminate without notice from Google or any Third Party if you fail to comply with any provision of these Terms and Conditions. In such event, you must immediately delete the Application.
7. INDEMNITY
To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from your use of the Application, including your downloading, installation, or use of the Application, or your violation of these Terms and Conditions.
8. DISCLAIMER OF WARRANTIES
A. You expressly understand and agree that your use of the application is at your sole discretion and risk and that the application is provided “as is” and “as available” without warranty of any kind.
B. You are solely responsible for any damage to your mobile device, or other device, or loss of data that results from such use.
C. Google further expressly disclaims all warranties and conditions of any kind, whether express or implied, including, but not limited to the implied warranties and conditions of merchantability, fitness for a particular purpose and non-infringement, with respect to the application.
D. The application is not intended for use in the operation of nuclear facilities, life support systems, emergency communications, aircraft navigation or communication systems, air traffic control systems, or any other activities in which the failure of the application could lead to death, personal injury, or severe physical or environmental damage.
9. LIMITATION OF LIABILITY
You expressly understand and agree that google, its subsidiaries and affiliates, and its licensors are not liable to you under any theory of liability for any direct, indirect, incidental, special consequential or exemplary damages that may be incurred by you through your use of the application, including any loss of data or damage to your mobile device, whether or not google or its representatives have been advised of or should have been aware of the possibility of any such losses arising.
10. MISCELLANEOUS
a. These Terms and Conditions constitute the entire Agreement between you and Google relating to the Application and govern your use of the Application, and completely replace any prior or contemporaneous agreements between you and Google regarding the Application.
b. The failure of Google to exercise or enforce any right or provision of these Terms and Conditions does not constitute a waiver of such right or provision, which will still be available to Google.
c. If any court of law, having the jurisdiction to decide on this matter, rules that any provision of these Terms and Conditions is invalid, then that provision will be removed from the Terms and Conditions without affecting the rest of the Terms and Conditions. The remaining provisions of these Terms and Conditions will continue to be valid and enforceable.
d. The rights granted in these Terms and Conditions may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google are permitted to delegate their responsibilities or obligations under these Terms and Conditions without the prior written approval of the other party.
e. These Terms and Conditions and your relationship with Google under these Terms and Conditions will be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from these Terms and Conditions. Notwithstanding this, you agree that Google will still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
Binary file not shown.
-284
View File
@@ -1,284 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<!-- Task frequency -->
<string-array name="task_frequency_options">
<item>Off</item>
<item>1 min</item>
<item>2 min</item>
<item>5 min</item>
<item>10 min</item>
<item>15 min</item>
<item>30 min</item>
<item>60 min</item>
</string-array>
<!-- Minimum recording distance -->
<string-array name="min_recording_distance_options">
<item>1 m</item>
<item>2 m</item>
<item>3 m</item>
<item>4 m</item>
<item>5 m (empfohlen)</item>
<item>10 m</item>
<item>100 m</item>
</string-array>
<string-array name="min_recording_distance_options_ft">
<item>3 Fuß</item>
<item>6 Fuß</item>
<item>10 Fuß</item>
<item>13 Fuß</item>
<item>16 Fuß (empfohlen)</item>
<item>33 Fuß</item>
<item>328 Fuß</item>
</string-array>
<!-- Maximum recording distance -->
<string-array name="max_recording_distance_options">
<item>50 m</item>
<item>100 m</item>
<item>200 m (empfohlen)</item>
<item>500 m</item>
<item>1000 m</item>
<item>5000 m</item>
</string-array>
<string-array name="max_recording_distance_options_ft">
<item>164 Fuß</item>
<item>328 Fuß</item>
<item>656 Fuß (empfohlen)</item>
<item>1640 Fuß</item>
<item>0,6 Meilen</item>
<item>3,1 Meilen</item>
</string-array>
<!-- Minimum recording interval -->
<string-array name="min_recording_interval_options">
<item>batterie sparend (adaptiv)</item>
<item>hohe genauigkeit (adaptiv)</item>
<item>maximal (empfohlen)</item>
<item>2 s</item>
<item>3 s</item>
<item>4 s</item>
<item>5 s</item>
<item>10 s</item>
<item>20 s</item>
<item>30 s</item>
<item>1 min</item>
<item>2 min</item>
<item>5 min</item>
<item>10 min</item>
<item>15 min</item>
<item>30 min</item>
</string-array>
<!-- Minimum required accuracy -->
<string-array name="min_required_accuracy_options">
<item>10 m (sehr gutes GPS-Signal)</item>
<item>20 m</item>
<item>50 m</item>
<item>100 m</item>
<item>200 m (empfohlen)</item>
<item>500 m</item>
<item>1000 m</item>
<item>2000 m</item>
<item>5000 m (sehr schlechtes GPS-Signal)</item>
</string-array>
<string-array name="min_required_accuracy_options_ft">
<item>33 Fuß (sehr gutes GPS-Signal)</item>
<item>66 Fuß</item>
<item>165 Fuß</item>
<item>328 Fuß</item>
<item>656 Fuß (empfohlen)</item>
<item>1640 Fuß</item>
<item>0,6 Meilen</item>
<item>1,2 Meilen</item>
<item>3,1 Meilen (sehr schlechtes GPS-Signal)</item>
</string-array>
<!-- Split frequency -->
<string-array name="split_frequency_options">
<item>Nicht zerteilen</item>
<item>100 km</item>
<item>50 km</item>
<item>25 km</item>
<item>10 km</item>
<item>5 km</item>
<item>1 km</item>
<item>60 min</item>
<item>30 min</item>
<item>15 min</item>
<item>10 min</item>
<item>5 min</item>
<item>2 min</item>
<item>1 min</item>
</string-array>
<string-array name="split_frequency_options_ft">
<item>Nicht zerteilen</item>
<item>100 meilen</item>
<item>50 meilen</item>
<item>25 meilen</item>
<item>10 meilen</item>
<item>5 meilen</item>
<item>1 meile</item>
<item>60 min</item>
<item>30 min</item>
<item>15 min</item>
<item>10 min</item>
<item>5 min</item>
<item>2 min</item>
<item>1 min</item>
</string-array>
<!-- Other non-preference arrays -->
<array name="activity_types">
<item>unbekannt</item>
<item>gemischt</item>
<item>andere</item>
<item>Jogging</item>
<item>Straßenlauf</item>
<item>Laufbahn</item>
<item>Geländelauf</item>
<item>Gehen</item>
<item>Schnelles Gehen</item>
<item>Wandern</item>
<item>Bergwandern</item>
<item>Bergsteigen</item>
<item>Trekking</item>
<item>Radfahren</item>
<item>Rennradfahren</item>
<item>Mountainbiking</item>
<item>Radwandern</item>
<item>Eislaufen</item>
<item>Inlineskaten</item>
<item>Skateboarden</item>
<item>Schneeschuhwandern</item>
<item>Skifahren</item>
<item>Snowboarden</item>
<item>Schlittenfahren</item>
<item>Eissegeln</item>
<item>Segeln</item>
<item>Kanadierfahren</item>
<item>Kajakfahren</item>
<item>Kanuwandern</item>
<item>Rudern</item>
<item>Motorbootfahren</item>
<item>Fähre</item>
<item>Ferngesteuertes Boot</item>
<item>Surfen</item>
<item>Windsurfen</item>
<item>Kitesurfen</item>
<item>Wasserski</item>
<item>Wakeboarden</item>
<item>Flugzeug</item>
<item>Segelflugzeug</item>
<item>Wasserflugzeug</item>
<item>Linienflugzeug</item>
<item>Hubschrauber</item>
<item>Heißluftballon</item>
<item>Luftschiff</item>
<item>Modellflugzeug</item>
<item>Modellhubschrauber</item>
<item>Fallschirmspringen</item>
<item>Gleitschirmfliegen</item>
<item>Hängegleiten</item>
<item>Reiten</item>
<item>Pferdewanderung</item>
<item>Eselreiten</item>
<item>Auto</item>
<item>Bus</item>
<item>Zug</item>
<item>Motorrad</item>
<item>Motorroller</item>
<item>Motocross</item>
<item>Quad</item>
<item>Strandsegeln</item>
<item>Frisbee</item>
<item>Ultimate Frisbee</item>
</array>
<array name="waypoint_types">
<item>Geldautomat</item>
<item>Bank</item>
<item>Kneipe</item>
<item>Grill</item>
<item>Gebäude</item>
<item>Bushaltestelle</item>
<item>Straßenbahnhaltestelle</item>
<item>Bahnhof</item>
<item>S-Bahnhof</item>
<item>Café</item>
<item>Lagerfeuer</item>
<item>Campingplatz</item>
<item>Zeltplatz</item>
<item>Kirche</item>
<item>Gasthaus</item>
<item>Kiosk</item>
<item>Trinkwasser</item>
<item>Geröll</item>
<item>Fähre</item>
<item>Feuerstelle</item>
<item>Feuerwache</item>
<item>Angelplatz</item>
<item>Tankstelle</item>
<item>Golfplatz</item>
<item>Lebensmittelgeschäft</item>
<item>Friseur</item>
<item>Hafen</item>
<item>Wanderweg</item>
<item>Hotel</item>
<item>Haus</item>
<item>Information</item>
<item>Kreuzung</item>
<item>Briefkasten</item>
<item>Marktplatz</item>
<item>Treffpunkt</item>
<item>Oper</item>
<item>Parkplatz</item>
<item>Post</item>
<item>Schlagloch</item>
<item>Polizeiwache</item>
<item>Bahnübergang</item>
<item>Restaurant</item>
<item>Shopping</item>
<item>Sehenswürdigkeit</item>
<item>Laden</item>
<item>Schwimmbad</item>
<item>Telefon</item>
<item>Theater</item>
<item>Toilette</item>
<item>Touristeninformation</item>
<item>Tunnel</item>
<item>Baum</item>
<item>Wasserfall</item>
<item>Wegpunkt</item>
</array>
</resources>
-355
View File
@@ -1,355 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<!-- Used by the Menu -->
<string name="start_recording">Track aufzeichnen</string>
<string name="stop_recording">Aufzeichnung anhalten</string>
<string name="switch_to_sat">Satellitenansicht</string>
<string name="switch_to_map">Kartenansicht</string>
<string name="mylocation">Mein Aufenthaltsort</string>
<string name="list_markers">Wegpunkte</string>
<string name="delete_all_tracks">Alle Tracks löschen</string>
<string name="settings">Einstellungen</string>
<string name="elevation">Höhe</string>
<string name="choose_track_message">Bitte wählen Sie einen Track zur Ansicht aus</string>
<string name="current_track">Aktueller Track</string>
<string name="current_segment">Letztes Segment</string>
<!-- Error messages -->
<string name="error_no_location_manager">Es wurde kein \'Location Manager\' auf diesem Gerät gefunden.</string>
<string name="error_no_gps_location_provider">Konnte keinen GPS-Empfänger auf diesem Gerät finden.</string>
<string name="error_sending_to_mymap">Beim Senden Ihres Tracks an Google My Maps ist ein Fehler aufgetreten. Bitte versuchen Sie es später nochmal.</string>
<string name="error_sending_to_docs">Beim Senden Ihres Tracks an Google Docs ist ein Fehler aufgetreten. Bitte versuchen Sie es später nochmal.</string>
<string name="error_unable_to_start_recording">Aufzeichnen fehlgeschlagen. Bitte versuchen Sie es nochmal.</string>
<string name="error_unable_to_stop_recording">Anhalten unmöglich. Bitte versuchen Sie es nochmal.</string>
<string name="error_unable_to_read_file">Datei nicht lesbar.</string>
<string name="error_invalid_gpx_format">Datei ist nicht im GPX-Format.</string>
<string name="error_generic">Ein Fehler ist aufgetreten. Bitte versuchen Sie es nochmal.</string>
<string name="error_track_does_not_exist">Track existiert nicht.</string>
<string name="error_out_of_memory">Die Datei ist zu groß (Obergrenze sind 500 KB). Operation abgebrochen.</string>
<string name="error_unable_to_insert_marker">Der Wegpunkt kann nicht einfügt werden. Keine Positionsbestimmung möglich.</string>
<!-- Status messages -->
<string name="wait_for_fix">Warten auf ein besseres GPS-Signal. Bitte stellen Sie sicher, dass der Himmel sichtbar ist.</string>
<string name="status_now_recording">Ein neuer Track wird aufgezeichnet.</string>
<string name="status_stopped_recording">Die Aufzeichnung wurde beendet.</string>
<string name="status_new_mymap_has_been_created">Eine neue Karte wurde auf maps.google.com erstellt.</string>
<string name="status_tracks_have_been_uploaded">Ihr Track wurde auf maps.google.com gespeichert.</string>
<string name="status_tracks_have_been_uploaded_to_new_doc">Ihr Track wurde in einer neuen Tabelle bei docs.google.com gespeichert.</string>
<string name="status_tracks_have_been_uploaded_to_docs">Ihr Track wurde an docs.google.com gesendet.</string>
<string name="status_mymap_info">Manchmal dauert es ein paar Minuten, bis neue Tracks bei maps.google.com erscheinen.</string>
<string name="status_enable_gps">Berühren Sie hier um zu den Sicherheits- und Positionseinstellungen zu gelangen. Aktiviere \'GPS-Satelliten\'. Drücken Sie dann den Zurück-Knopf um zurückzukehren.</string>
<string name="status_approximate_location">Anmerkung: Eine ungefähre Position wird angezeigt, bestimmt mittels Funktürmen und WiFi-Netzwerken.</string>
<string name="status_no_location">Ihre Position kann derzeit nicht bestimmt werden. Aktivieren Sie mehr Positionsquellen (siehe Sicherheits- und Positionseinstellungen) und stellen Sie sicher, dass der Himmel sichtbar ist.</string>
<string name="status_waypoint_inserted">Ein Wegpunkt wurde eingefügt.</string>
<string name="status_statistics_inserted">Ein Statistikwegpunkt wurde eingefügt.</string>
<!-- Progress dialog -->
<string name="progress_title">Bitte warten…</string>
<string name="progress_message">Ihr GPS-Track wird an Google gesendet.</string>
<string name="progress_message_reading_track">Lese Track</string>
<string name="progress_message_preparing_track">Bereite Track vor</string>
<string name="progress_message_authenticating_mymaps">Anmelden bei Google Maps</string>
<string name="progress_message_authenticating_docs">Anmelden bei Google Docs</string>
<string name="progress_message_sending_docs">Track an Google Docs senden</string>
<string name="progress_message_sending_mymaps">Track an Google Maps senden</string>
<string name="progress_message_creating_map">Neue \'Meine Karte\' erstellen</string>
<string name="import_progress_message">Importiere GPS-Track. Das dauert ein wenig.</string>
<string name="write_progress_message">Schreibe Datei auf SD-Karte. Das dauert ein wenig.</string>
<string name="progress_message_updating_track">Aktualisiere Trackstatistik</string>
<!-- Used by DeleteAllDataHandler -->
<string name="are_you_sure_question">Bist Du Dir wirklich sicher?</string>
<string name="all_data_will_be_permanently_deleted">Alle Tracks und Wegpunkte werden endgültig von diesem Gerät gelöscht.</string>
<string name="track_will_be_permanently_deleted">Dieser Track und seine Wegpunkte werden endgültig von diesem Gerät gelöscht.</string>
<string name="marker_will_be_permanently_deleted">Dieser Wegpunkt wird endgültig von diesem Gerät gelöscht.</string>
<!-- Text and links when uploading to Google MyMaps -->
<string name="new_map_title">Neue Karte</string>
<!-- Formatting of track and marker descriptions -->
<string name="points">Punkte</string>
<string name="recorded_date">Aufgezeichnet am</string>
<string name="category">"Aktivität"</string>
<string name="waypoint_category">"Art des Wegpunktes"</string>
<string name="part">"(Teil %d)"</string>
<!-- Used by the track recording service -->
<string name="recording_your_track">"Ihr Track wird aufgezeichnet…"</string>
<!-- Common -->
<string name="no">Nein</string>
<string name="yes">Ja</string>
<string name="error">Fehler</string>
<string name="success">Erfolgreich</string>
<string name="waypoint">Wegpunkt</string>
<!-- Placemark labels for start and end of track -->
<string name="start">(Anfang)</string>
<string name="end">(Ende)</string>
<!-- TrackList -->
<string name="tracklist_show_track">Anzeigen</string>
<string name="tracklist_send_to_mymaps">An eine Google MyMaps-Karte senden</string>
<string name="tracklist_send_to_new_mymap">An eine neue Google MyMaps-Karte senden</string>
<string name="tracklist_send_to_docs">An Google Docs senden</string>
<string name="tracklist_send_to_google">An Google senden…</string>
<string name="tracklist_delete_track">Vom Gerät löschen…</string>
<string name="tracklist_edit_track">Bearbeiten</string>
<string name="tracklist_write_to_sd">Auf SD-Karte speichern…</string>
<string name="tracklist_save_as_gpx">GPX-Datei exportieren</string>
<string name="tracklist_save_as_kml">KML-Datei exportieren</string>
<string name="tracklist_btn_send_all_to_mymaps">An Google MyMaps senden</string>
<string name="tracklist_btn_delete_all">Alle Tracks löschen</string>
<string name="tracklist_pick_one">Eine Track auswählen. Lange berühren für mehr Optionen.</string>
<string name="tracklist_all_tracks">Alle Tracks:</string>
<string name="tracklist_this_track">Dieser Track</string>
<string name="tracklist_share_track">Mit Freunden teilen…</string>
<string name="tracklist_share_link">Ein Link zur Google MyMaps-Karte</string>
<string name="tracklist_share_gpx_file">Eine GPX-Datei</string>
<string name="tracklist_share_kml_file">Eine KML-Datei</string>
<string name="tracklist_clear_map">Karte zurücksetzen.</string>
<!-- Waypoints list -->
<string name="waypointslist_btn_delete_all">Alle Wegpunkte löschen</string>
<string name="waypointslist_this_waypoint">Dieser Wegpunkt</string>
<string name="waypointslist_delete_waypoint">Löschen</string>
<string name="waypointslist_edit_waypoint">Details bearbeiten</string>
<string name="waypointslist_show_waypoint">Auf der Karte zeigen</string>
<string name="waypointslist_btn_insert_waypoint">Wegpunkt einfügen</string>
<string name="waypointslist_btn_insert_statistics">Statistik einfügen</string>
<string name="waypointslist_pick_one">Wegpunkt auswählen. Lange berühren für mehr Optionen.</string>
<!-- MyTracks Details -->
<string name="trackdetails_title">Trackdetails</string>
<string name="trackdetails_name">Name</string>
<string name="trackdetails_description">Beschreibung</string>
<string name="trackdetails_category">Aktivität (z. B. Wandern, Fahrradfahren, Laufen, Klettern…)</string>
<!-- MyTracks Waypoint Details -->
<string name="waypointdetails_title">Wegpunktdetails</string>
<string name="waypointdetails_name">Wegpunktname</string>
<string name="waypointdetails_description">Wegpunktbeschreibung</string>
<string name="waypointdetails_category">Art des Wegpunktes (z. B. Gebäude, Schlagloch, Sehenswürdigkeit…)</string>
<!-- MyTracks Settings -->
<string name="mytracks_settings">Einstellungen für My Tracks</string>
<string name="settings_display">Anzeige</string>
<string name="settings_recording">Aufzeichnen</string>
<string name="settings_sharing">Mit Freunden Teilen</string>
<string name="settings_announcement_frequency">Dauer zwischen Ansagen:</string>
<string name="settings_announcement_frequency_summary">Kürzeste Zeit zwichen zwei Ansagen</string>
<string name="settings_announcement_not_available_summary">Gesprochene Ansagen sind mit Ihrer Version von Android nicht verfügbar.</string>
<string name="settings_min_recording_distance">Kleinste Entfernung zwischen Punkten:</string>
<string name="settings_min_recording_distance_summary">Kleinste Entfernung zwischen zwei Positionsaufzeichnungen</string>
<string name="settings_max_recording_distance">Neues Segment wenn Punkte weiter entfernt als:</string>
<string name="settings_max_recording_distance_summary">Der Track wird in Zwei geteilt wenn zwei folgende Punkte weiter entfernt sind als hier angegeben.</string>
<string name="settings_min_recording_interval">Aufzeichnungsfrequenz:</string>
<string name="settings_min_recording_interval_summary">Kürzeste Zeit zwischen zwei Positionsaufzeichnungen.</string>
<string name="settings_min_required_accuracy">Aufzeichnung pausieren wenn Genauigkeit kleiner als:</string>
<string name="settings_min_required_accuracy_summary">Die Aufzeichnung wird kurzfristig angehalten, wenn Ihre Position nicht genauer als hier angegeben ermittelt werden kann.</string>
<string name="settings_metric_units">Entfernungen in metrischen Einheiten anzeigen</string>
<string name="settings_metric_units_summary_on">Alle Entfernungen werden in metrischen Einheiten angezeigt.</string>
<string name="settings_metric_units_summary_off">Alle Entfernungen werden in britischen Längeneinheiten angezeigt.</string>
<string name="settings_map_public">Karten auf maps.google.com veröffentlichen</string>
<string name="settings_map_public_summary_on">Hochgeladene Karten auf maps.google.com sind für alle sichtbar.</string>
<string name="settings_map_public_summary_off">Hochgeladene Karten auf maps.google.com werden nicht öffentlich sichtbar aufgelistet.</string>
<string name="settings_report_speed_or_pace">Geschwindigkeitsanzeige:</string>
<string name="settings_report_speed_or_pace_summary_on">Geschwindigkeit wird angezeigt.</string>
<string name="settings_report_speed_or_pace_summary_off">Gangart wird angezeigt.</string>
<string name="settings_share_url_only">Nur URL als Einladung zum Teilen senden</string>
<string name="settings_share_url_only_summary_on">Beim teilen mit Freunden wird nur die Karten URL gesendet.</string>
<string name="settings_share_url_only_summary_off">Beim teilen mit Freunden wird der GPS Track selbst gesendet.</string>
<string name="settings_signal_sampling_frequency">Empfangsstärke Aufzeichnungsfrequenz</string>
<string name="settings_signal_sampling_frequency_summary">Dauer zwischen zwei Aufzeichnungen der Telefonempfangsstärke.</string>
<string name="settings_split_frequency">Zerteilungs Frequenz</string>
<string name="settings_split_frequency_summary">Längste Dauer oder Entfernung nach der automatisch ein Marker eingefügt wird.</string>
<string name="pace_label">Tempo</string>
<!-- MyTracksSky -->
<string name="mytracks_sky">GPS-Satelliten</string>
<!-- MyMaps -->
<string name="select_map_message">Wähle eine Karte von Deinem Konto aus:</string>
<string name="create_new_map">Neue Karte erstellen…</string>
<string name="map_list_title">An Google My Maps senden</string>
<string name="maps_list_loading">Karten werden geladen…</string>
<string name="maps_list_failed">Ihre Karten konnten im Augenblick nicht geladen werden!</string>
<string name="open_map">Diese Karte auswählen</string>
<string name="edit_map_details">Kartendetails bearbeiten</string>
<string name="share_map">Karte mit Freunden teilen</string>
<string name="share_track">Track mit Freunden teilen</string>
<string name="delete_map">Karte vom Konto löschen</string>
<string name="map_title">Kartentitel:</string>
<string name="map_description">Trackbeschreibung:</string>
<string name="map_searchable_edit">Diese Karte und Ihren Inhalt in Suchergebnissen sichtbar machen.</string>
<string name="map_not_searchable_edit">Diese Karte und Ihren Inhalt nicht in Suchergebnissen sichtbar machen.</string>
<string name="map_searchable">Diese Karte und Ihr Inhalt sind in Suchergebnissen sichtbar.</string>
<string name="map_not_searchable">Weder diese Karte noch Ihr Inhalt sind in Suchergebnissen sichtbar, allerdings können Sie trotzdem von anderen durch einen direkten Link angezeigt werden.</string>
<string name="close">Schließen</string>
<string name="edit">Bearbeiten</string>
<string name="cancel">Abbrechen</string>
<string name="save">Sichern</string>
<!-- Sharing -->
<string name="share_map_subject">Ich möchte gerne eine Karte mit Dir teilen.</string>
<string name="share_map_body_format">Vielleicht interessierst Du Dich für diese Karte:
%s</string>
<string name="send_track_subject">Ich möchte einen GPS-Track mit Dir teilen</string>
<string name="send_track_body_format">Vielleicht interessierst Du Dich für diese Track:
%s.</string>
<string name="public_map">Öffentlich</string>
<string name="unlisted_map">Nicht in Suchergebnissen enthalten.</string>
<string name="mapslist_no_maps_available">Du hast noch keine Karten.</string>
<!-- Statistics View -->
<!-- Average Moving -->
<string name="average_moving_speed_label">Durchschnitt in Bew.</string>
<string name="average_moving_pace_label">Durchschnitt in Bew.</string>
<!-- Average -->
<string name="average_speed_label">Durchschnittsgeschw.</string>
<string name="average_pace_label">Durchschnittstempo</string>
<string name="elevation_chart_name">Höhenprofil</string>
<string name="elevation_gain_label">Höhengewinn</string>
<string name="elevation_label">Höhe</string>
<string name="latitude_label">Breitengrad</string>
<string name="longitude_label">Längengrad</string>
<!-- Min -->
<string name="min_elevation_label">Niedrigste Höhenlage</string>
<string name="min_grade_label">Minimale Steigung</string>
<string name="min_pace_label">Schnellstes Tempo</string>
<!-- Max -->
<string name="max_elevation_label">Höchste Höhenlage</string>
<string name="max_grade_label">Maximale Steigung</string>
<string name="max_speed_label">Max. Geschwindigkeit</string>
<string name="loading_track">Lade Track…</string>
<!-- Chart Settings -->
<string name="chart_settings">Diagram Einstellungen</string>
<!-- X Axis -->
<string name="x_axis">X Achse</string>
<string name="by_distance">Nach Entfernung</string>
<string name="by_time">Nach Zeit</string>
<!-- Y Axis -->
<string name="y_axis">Y Achse</string>
<!-- Units -->
<!-- Time -->
<string name="hour">Stunde</string>
<string name="hours">Stunden</string>
<string name="hr">Std</string>
<string name="minute">Minute</string>
<string name="minutes">Minuten</string>
<string name="second">Sekunde</string>
<string name="seconds">Sekunden</string>
<!-- Distance -->
<string name="feet">Fuß</string>
<string name="kilometers_long">Kilometer</string>
<string name="miles_long">Meilen</string>
<!-- Speed and Pace -->
<string name="kilometer_per_hour_long">Kilometer pro Stunde</string>
<string name="per_kilometer">pro Kilometer</string>
<string name="mile_per_hour_long">Meilen pro Stunde</string>
<string name="per_mile">pro meile</string>
<!-- Stats Labels -->
<string name="moving_time_label">Zeit in Bewegung</string>
<string name="total_time_label">Gesamtzeit</string>
<string name="time_label">Zeit</string>
<string name="sd_unavail">SD-Karte nicht verfügbar</string>
<string name="speed">Geschwindigkeit</string>
<string name="start_trip">Sie müssen erst eine Strecke zurücklegen.</string>
<string name="statistics">Statistik</string>
<string name="total_distance_label">Gesamtentfernung</string>
<string name="distance_label">Entfernung</string>
<string name="waiting">Bitte warten…</string>
<!-- End User License Agreement -->
<string name="eula_title">Lizenzvereinbarung für Endverbraucher</string>
<string name="accept">Akzeptieren</string>
<string name="decline">Ablehnen</string>
<!-- About -->
<string name="about">Über</string>
<string name="help">Hilfe</string>
<string name="about_email">Unterstützung</string>
<!-- Send to Google -->
<string name="sendtogoogle_title">Senden an…</string>
<string name="sendtogoogle_send_now">Jetzt senden</string>
<string name="sendtogoogle_create_new_map">Neue Karte erstellen</string>
<string name="sendtogoogle_pick_existing_map">Eine Karte auswählen</string>
<string name="sendtogoogle_send_stats">Trackstatistik senden</string>
<string name="sendtogoogle_send_stats_and_points">Statistik und Punkte senden</string>
<!-- Getting the account to upload to. -->
<string name="no_account_found_title">Kein Konto vorhanden</string>
<string name="no_account_found">Kein Konto gefunden um Tracks zu versenden.</string>
<string name="choose_account_title">Wählen Sei ein Konto</string>
<!-- SD card -->
<string name="io_no_external_storage_found">Keine externes Speichermedium verfügbar. Stellen Sie sicher, dass eine SD-Karte vorhanden ist und nicht bereits von einem Computer darauf zugegriffen wird.</string>
<string name="io_write_failed">Die Datei kann nicht geschrieben werden.</string>
<string name="io_create_dir_failed">Das Verzeichnis auf der SD-Karte kann nicht erstellt werden.</string>
<string name="io_write_finished">Der Track wurde auf die SD-Karte geschrieben.</string>
<!-- VersionChecker -->
<string name="version_check_title">Suche nach neuer Version</string>
<string name="version_check_upgrade_button">Jetzt aktualisieren</string>
<string name="version_check_continue_button">Fortfahren ohne zu aktualisieren</string>
<string name="upgrade_required">Ihre Version von %1$s funktioniert möglicherweise nicht mehr richtig und wird nicht mehr unterstützt. Bitte aktualisieren Sie %1$s.</string>
<string name="upgrade_recommended">Ihre Version von %1$s funktioniert möglicherweise nicht mehr richtig. Sie können sie jetzt aktualisieren, oder auf sie auf eigene Gefahr weiterverwenden. Einige Funktionen wie Datenaustausch mit Google-Diensten wird möglicherweise nicht mehr funktionieren, solange Sie die Software nicht aktualisieren.</string>
<string name="upgrade_available">Eine neue Version von %1$s ist jetzt verfügbar. Sie können Ihre aktuelle Version ohne Probleme weiterverwenden, aber um die neuesten Funktionen in Anspruch nehmen zu können, müssen sie die Software aktualisieren.</string>
<!-- Welcome -->
<string name="welcome">Willkommen</string>
<string name="welcome_about">Über My Tracks</string>
<!-- Announcement -->
<string name="announce_no_distance">My Tracks keine Entfernung</string>
<!-- Format:
$1 : Distance label
$2 : Distance value (5)
$3 : Distance units (mi, km)
$4 : Time description (10 minutes 5 seconds)
$5 : Speed value (5.6) : Pace value (5 minutes 6 seconds)
$6 : Speed units (mph) : Pace units (per mile)
-->
<string name="announce_template">My Tracks %1$s %2$.2f %3$s in %4$s mit %5$s %6$s</string>
</resources>
-278
View File
@@ -1,278 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<!-- Task frequency -->
<string-array name="task_frequency_options">
<item>Apagado</item>
<item>1 min</item>
<item>2 min</item>
<item>5 min</item>
<item>10 min</item>
<item>15 min</item>
<item>30 min</item>
<item>60 min</item>
</string-array>
<!-- Minimum recording distance -->
<string-array name="min_recording_distance_options">
<item>1 m</item>
<item>2 m</item>
<item>3 m</item>
<item>4 m</item>
<item>5 m (recomendada)</item>
<item>10 m</item>
<item>100 m</item>
</string-array>
<string-array name="min_recording_distance_options_ft">
<item>3 ft</item>
<item>6 ft</item>
<item>10 ft</item>
<item>13 ft</item>
<item>16 ft (recomendada)</item>
<item>33 ft</item>
<item>328 ft</item>
</string-array>
<!-- Maximum recording distance -->
<string-array name="max_recording_distance_options">
<item>50 m</item>
<item>100 m</item>
<item>200 m (recomendada)</item>
<item>500 m</item>
<item>1000 m</item>
<item>5000 m</item>
</string-array>
<string-array name="max_recording_distance_options_ft">
<item>164 ft</item>
<item>328 ft</item>
<item>656 ft (recomendada)</item>
<item>1640 ft</item>
<item>0.6 miles</item>
<item>3.1 miles</item>
</string-array>
<!-- Minimum recording interval -->
<string-array name="min_recording_interval_options">
<item>optimizar duración de la batería (adaptable)</item>
<item>alta precisión (adaptable)</item>
<item>más alta posible (recomendada)</item>
<item>2 s</item>
<item>3 s</item>
<item>4 s</item>
<item>5 s</item>
<item>10 s</item>
<item>20 s</item>
<item>30 s</item>
<item>1 min</item>
<item>2 min</item>
<item>5 min</item>
<item>10 min</item>
<item>15 min</item>
<item>30 min</item>
</string-array>
<!-- Minimum required accuracy -->
<string-array name="min_required_accuracy_options">
<item>10 m (señal GPS excelente)</item>
<item>20 m</item>
<item>50 m</item>
<item>100 m</item>
<item>200 m (recomendada)</item>
<item>500 m</item>
<item>1000 m</item>
<item>2000 m</item>
<item>5000 m (señal GPS débil)</item>
</string-array>
<string-array name="min_required_accuracy_options_ft">
<item>33 ft (señal GPS excelente)</item>
<item>66 ft</item>
<item>165 ft</item>
<item>328 ft</item>
<item>656 ft (recomendada)</item>
<item>1640 ft</item>
<item>0.6 miles</item>
<item>1.2 miles</item>
<item>3.1 miles (señal GPS débil)</item>
</string-array>
<!-- Split frequency -->
<string-array name="split_frequency_options">
<item>No dividir</item>
<item>100 km</item>
<item>50 km</item>
<item>25 km</item>
<item>10 km</item>
<item>5 km</item>
<item>1 km</item>
<item>60 min</item>
<item>30 min</item>
<item>15 min</item>
<item>10 min</item>
<item>5 min</item>
<item>2 min</item>
<item>1 min</item>
</string-array>
<string-array name="split_frequency_options_ft">
<item>No dividir</item>
<item>100 mi</item>
<item>50 mi</item>
<item>25 mi</item>
<item>10 mi</item>
<item>5 mi</item>
<item>1 mi</item>
<item>60 min</item>
<item>30 min</item>
<item>15 min</item>
<item>10 min</item>
<item>5 min</item>
<item>2 min</item>
<item>1 min</item>
</string-array>
<!-- Other non-preference arrays -->
<array name="activity_types">
<item>desconocido</item>
<item>tipo mixto</item>
<item>otro</item>
<item>correr</item>
<item>correr en calle</item>
<item>correr en pista</item>
<item>correr en senda</item>
<item>caminar</item>
<item>caminar rápido</item>
<item>excursión</item>
<item>excursión por sendas</item>
<item>excursión a campo traviesa</item>
<item>escalando</item>
<item>bicicleta</item>
<item>bicicleta de carrera</item>
<item>bicicleta de montaña</item>
<item>bicicleta de pista</item>
<item>patinando</item>
<item>patinando inline</item>
<item>skate boarding</item>
<item>caminata sobre nieve</item>
<item>esquiando</item>
<item>snow boarding</item>
<item>trineo</item>
<item>veleando sobre hielo</item>
<item>veleando</item>
<item>canotaje</item>
<item>kayaking</item>
<item>remo</item>
<item>bote de motor</item>
<item>tansbordador</item>
<item>bote RC</item>
<item>surfeando</item>
<item>wind surfing</item>
<item>kite surfing</item>
<item>esquí aquático</item>
<item>wake boarding</item>
<item>avión</item>
<item>hidroavion</item>
<item>avión comercial</item>
<item>helicóptero</item>
<item>glbo aerostático</item>
<item>dirigible</item>
<item>aeroplane RC</item>
<item>helicóptero RC</item>
<item>paracaidismo</item>
<item>planeador</item>
<item>hang gliding</item>
<item>para gliding</item>
<item>montando</item>
<item>montando caballo</item>
<item>montando burro</item>
<item>manejeando auto</item>
<item>manejando camión</item>
<item>tren</item>
<item>moto bici</item>
<item>moto cross</item>
<item>ATV</item>
<item>veleando sobre tierra</item>
<item>frisbee</item>
<item>ultimate frisbee</item>
</array>
<array name="waypoint_types">
<item>cajero automático</item>
<item>banco</item>
<item>bar</item>
<item>parrillada</item>
<item>edificio</item>
<item>parada de camión</item>
<item>café</item>
<item>fogata</item>
<item>campamento</item>
<item>iglesia</item>
<item>café</item>
<item>tienda de abarrotes</item>
<item>agua potable</item>
<item>deslave</item>
<item>transbordador</item>
<item>chimenea</item>
<item>estación de bomberos</item>
<item>pesca</item>
<item>gasolinera</item>
<item>campo de golf</item>
<item>tienda de abarrotes</item>
<item>salon de belleza</item>
<item>puerto</item>
<item>senda</item>
<item>hotel</item>
<item>casa</item>
<item>información</item>
<item>intersección</item>
<item>buzón de correo</item>
<item>mercado</item>
<item>punto de encuentro</item>
<item>ópera</item>
<item>estacionamiento</item>
<item>oficina de correos</item>
<item>bache</item>
<item>estación de policía</item>
<item>cruce de vía de tren</item>
<item>restaurante</item>
<item>mall</item>
<item>lugar de interés</item>
<item>tienda</item>
<item>alberca</item>
<item>teléfono</item>
<item>teatro</item>
<item>baño</item>
<item>información turística</item>
<item>túnel</item>
<item>árbol</item>
<item>cascada</item>
<item>fuente de agua</item>
<item>camino</item>
</array>
</resources>
-357
View File
@@ -1,357 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<!-- Used by the Menu -->
<string name="start_recording">Grabar recorrido</string>
<string name="stop_recording">Dejar de grabar recorrido</string>
<string name="switch_to_sat">Modo satelital</string>
<string name="switch_to_map">Modo mapa</string>
<string name="mylocation">Mi ubicación</string>
<string name="list_markers">Señal</string>
<string name="delete_all_tracks">Borrar todos los recorridos</string>
<string name="settings">Configuraciones</string>
<string name="elevation">Elevación</string>
<string name="choose_track_message">Por favor seleccione el recorrido que desea ver</string>
<string name="current_track">Recorrido actual</string>
<string name="current_segment">Último segmento</string>
<!-- Error messages -->
<string name="error_no_location_manager">Ningún administrador de ubicación fue hallado en este aparato! </string>
<string name="error_no_gps_location_provider">Ningún proveedor GPS de ubicación fue hallado en este aparato.</string>
<string name="error_sending_to_mymap">Hubo un error al mandar su recorrido a Google My Map. Por favor inténtelo de nuevo más tarde.</string>
<string name="error_sending_to_docs">Hubo un error al mandar su recorrido a Google Docs. Por favor inténtelo de nuevo más tarde.</string>
<string name="error_unable_to_start_recording">No pude empezar a grabar. Por favor inténtelo de nuevo. </string>
<string name="error_unable_to_stop_recording">No pude dejar de grabar. Por favor inténtelo de nuevo.</string>
<string name="error_unable_to_read_file">No pude leer del archivo.</string>
<string name="error_invalid_gpx_format">El archivo no tiene un format GPX válido.</string>
<string name="error_generic">Error. Por favor inténtelo de nuevo.</string>
<string name="error_track_does_not_exist">El recorrido no existe.</string>
<string name="error_out_of_memory">El archivo es demasiado grande (tiene que ser menor a 500 KB). Abortando.</string>
<string name="error_unable_to_insert_marker">No pude insertar la señal. La ubicación no esta disponible.</string>
<!-- Status messages -->
<string name="wait_for_fix">Esperando una ubicación mas exacta del GPS. Asegúrese que el cielo sea visible.</string>
<string name="status_now_recording">Grabando un nuevo recorrido.</string>
<string name="status_stopped_recording">Grabacíon interrumpida.</string>
<string name="status_new_mymap_has_been_created">Un mapa Google My Map nuevo has sido creado en maps.google.com.</string>
<string name="status_tracks_have_been_uploaded">Su recorrido ha sido enviado a maps.google.com.</string>
<string name="status_tracks_have_been_uploaded_to_new_doc">Su recorrido ha sido enviado a una nueva hoja de cálculo en docs.google.com.</string>
<string name="status_tracks_have_been_uploaded_to_docs">Su recorrido ha sido enviado a docs.google.com.</string>
<string name="status_mymap_info">A veces nuevos recorridos pueden tardar algunos minutos en aparecer.</string>
<string name="status_enable_gps">Por favor presione aquí para ir al menú de Seguridad y Ubicación y asegúrese que el GPS esté habilitado. Presione el botón de regreso para regresar.</string>
<string name="status_approximate_location">Nota: Una ubicación aproximada es mostrada, basada en informacion de torres de telefonía celular y red WIFI.</string>
<string name="status_no_location">La ubicación actual no puede ser determinada. Habilite más fuentes de datos (vea configuraciones de Seguridad y Ubicación) y asegúrese que el cielo sea visible. Inténtelo mas tarde.</string>
<string name="status_waypoint_inserted">Una señal de recorrido fue insertada.</string>
<string name="status_statistics_inserted">Una señal con estadísticas fue insertada.</string>
<!-- Progress dialog -->
<string name="progress_title">Por favor espere...</string>
<string name="progress_message">Enviando su recorrido a Google.</string>
<string name="progress_message_reading_track">Leyendo recorrido...</string>
<string name="progress_message_preparing_track">Preparando recorrido...</string>
<string name="progress_message_authenticating_mymaps">Autenticando con Google Maps...</string>
<string name="progress_message_authenticating_docs">Autenticando con Google Docs...</string>
<string name="progress_message_sending_docs">Enviando recorrido a Google Docs...</string>
<string name="progress_message_sending_mymaps">Enviando recorrido a Google Maps...</string>
<string name="progress_message_creating_map">Creando nuevo mapa My Map...</string>
<string name="import_progress_message">Importando un recorrido GPS. Esto puede tardar.</string>
<string name="write_progress_message">Escribiendo archivo a tarjeta SD. Esto puede tardar.</string>
<string name="progress_message_updating_track">Actualizando estadísticas del recorrido...</string>
<!-- Used by DeleteAllDataHandler -->
<string name="are_you_sure_question">¿Está usted seguro?</string>
<string name="all_data_will_be_permanently_deleted">Todos los recorridos y señales serán borradas de este teléfono.</string>
<string name="track_will_be_permanently_deleted">El recorrido y sus señales serán borrados permanentemente de este teléfono.</string>
<string name="marker_will_be_permanently_deleted">La señal será borrada permanentemente de este teléfono.</string>
<!-- Text and links when uploading to Google My Maps -->
<string name="new_map_description">"Creado por My Tracks en Android."</string>
<string name="my_map_link">"Creado por &lt;a href='http://mytracks.appspot.com'&gt;My Tracks&lt;/a&gt; en Android."</string>
<string name="new_map_title">Nuevo mapa</string>
<!-- Formatting of track and marker descriptions -->
<string name="points">Puntos</string>
<string name="recorded_date">Grabado</string>
<string name="category">Tipo de actividad</string>
<string name="waypoint_category">Tipo de señal</string>
<string name="part">"(Parte %d)"</string>
<!-- Used by the track recording service -->
<string name="recording_your_track">Grabando su recorrido...</string>
<string name="new_track">Recorrido %d</string>
<!-- Common -->
<string name="yes">Sí</string>
<string name="success">Éxito</string>
<string name="waypoint">Señal de recorrido</string>
<!-- Placemark labels for start and end of track -->
<string name="start">(Inicio)</string>
<string name="end">(Fin)</string>
<!-- TrackList -->
<string name="tracklist_show_track">Mostrar</string>
<string name="tracklist_send_to_mymaps">Enviar a Google My Maps</string>
<string name="tracklist_send_to_new_mymap">Enviar a nuevo Google My Map</string>
<string name="tracklist_send_to_docs">Enviar a Google Docs</string>
<string name="tracklist_send_to_google">Enviar a Google...</string>
<string name="tracklist_delete_track">Borrar del teléfono...</string>
<string name="tracklist_edit_track">Editar detalles</string>
<string name="tracklist_write_to_sd">Guardar en tarjeta SD...</string>
<string name="tracklist_save_as_gpx">Guardar en archivo GPX</string>
<string name="tracklist_save_as_kml">Guardar en archivo KML</string>
<string name="tracklist_btn_send_all_to_mymaps">Enviar a Google My Maps</string>
<string name="tracklist_btn_delete_all">Borrar todos los recorridos</string>
<!-- Export All -->
<string name="tracklist_btn_export_all">Exportar todos los recorridos</string>
<string name="export_done">Exportación concluída</string>
<string name="tracklist_pick_one">Escoja un recorrido. Presione&amp;mantenga presionado para ver más opciones.</string>
<string name="tracklist_all_tracks">Todos los recorridos:"</string>
<string name="tracklist_this_track">Este recorrido"</string>
<string name="tracklist_share_track">Compartir con amigos..."</string>
<string name="tracklist_share_link">Un link a Google My Map"</string>
<string name="tracklist_share_gpx_file">Un archivo GPX"</string>
<string name="tracklist_share_kml_file">Un archivo KML"</string>
<string name="tracklist_clear_map">"Limpiar mapa"</string>
<!-- Waypoints list -->
<string name="waypointslist_btn_delete_all">Borrar todas las señales</string>
<string name="waypointslist_this_waypoint">Esta señal</string>
<string name="waypointslist_delete_waypoint">Borrar</string>
<string name="waypointslist_edit_waypoint">Editar detalles"</string>
<string name="waypointslist_show_waypoint">Mostrar en el mapa"</string>
<string name="waypointslist_btn_insert_waypoint">Insertar señal de recorrido"</string>
<string name="waypointslist_btn_insert_statistics">Insertar estadísticas"</string>
<string name="waypointslist_pick_one">Escoja una señal. Presione&amp; mantenga presionado para ver más opciones.</string>
<!-- MyTracks Details -->
<string name="trackdetails_title">Detalles del recorrido</string>
<string name="trackdetails_name">Nombre del recorrido</string>
<string name="trackdetails_description">Descripción del recorrido</string>
<string name="trackdetails_category">Tipo de actividad (por ejemplo, ciclismo, alpinismo...)</string>
<!-- MyTracks Waypoint Details -->
<string name="waypointdetails_title">Detalles de señal</string>
<string name="waypointdetails_name">Nombre de señal</string>
<string name="waypointdetails_description">Descripción de señal</string>
<string name="waypointdetails_category">Tipo de señal (por ejemplo, edificio, bache, atracción...)</string>
<!-- MyTracks Settings -->
<string name="mytracks_settings">Configuraciones de My Tracks</string>
<string name="settings_display">Visualizador</string>
<string name="settings_recording">Grabando</string>
<string name="settings_sharing">Compartiendo</string>
<string name="settings_announcement_frequency">Tiempo entre anuncios</string>
<string name="settings_announcement_frequency_summary">Tiempo mínimo entre dos anuncios de voz</string>
<string name="settings_announcement_not_available_summary">Conversión de anuncios de texto a voz no esta disponible en su versión de Android</string>
<string name="settings_min_recording_distance">Distancia mínima entre puntos consecutivos</string>
<string name="settings_min_recording_distance_summary">Distancia mínima entre dos grabaciones de posición</string>
<string name="settings_max_recording_distance">Crear nuevo segmento si distancia es mayor que</string>
<string name="settings_max_recording_distance_summary">Empezar un nuevo segmento si los puntos están a una distancia mayor a</string>
<string name="settings_min_recording_interval">Grabando frecuencia</string>
<string name="settings_min_recording_interval_summary">Diferencia mínima de tiempo entre dos grabaciones de posición</string>
<string name="settings_min_required_accuracy">Detener la grabación si la precisión es menor a</string>
<string name="settings_min_required_accuracy_summary">Precisión mínima de ubicación necesaria para continuar grabando pista</string>
<string name="settings_metric_units">Usar unidades métricas</string>
<string name="settings_metric_units_summary_on">Todas las distancias serán mostradas en unidades métricas</string>
<string name="settings_metric_units_summary_off">Todas las distancias serán mostradas en unidades británicas</string>
<string name="settings_map_public">Hacer mapas en maps.google.com públicos</string>
<string name="settings_map_public_summary_on">Mapas subidos serán visibles a cualquier persona en maps.google.com</string>
<string name="settings_map_public_summary_off">Mapas subidos no serán públicos en maps.google.com</string>
<string name="settings_report_speed_or_pace">Mostrar</string>
<string name="settings_report_speed_or_pace_summary_on">La velocidad será mostrada</string>
<string name="settings_report_speed_or_pace_summary_off">El paso será mostrado</string>
<string name="settings_share_url_only">Mandar sólo URL como mensaje al compartir</string>
<string name="settings_share_url_only_summary_on">Sólo el URL del mapa será enviado al compartir</string>
<string name="settings_share_url_only_summary_off">Los contenidos de la pista también serán incluídos al compartir</string>
<string name="settings_signal_sampling_frequency">Frecuencia de medición de señal</string>
<string name="settings_signal_sampling_frequency_summary">Tiempo entre grabaciones de la intensidad de la señal del teléfono</string>
<string name="settings_split_frequency">Dividir frecuencia</string>
<string name="settings_split_frequency_summary">Tiempo o distancia máxima para insertar una nueva marca de división</string>
<string name="pace_label">Paso</string>
<!-- MyTracksSky -->
<string name="mytracks_sky">Satélites GPS</string>
<!-- My Maps -->
<string name="select_map_message">Elija un mapa de su cuenta:</string>
<string name="create_new_map">Crear mapa nuevo...</string>
<string name="map_list_title">Enviar a Google My Maps</string>
<string name="maps_list_loading">Cargando mapas...</string>
<string name="maps_list_failed">Sus mapas no pudieron ser cargados en este momento!</string>
<string name="open_map">Seleccione este mapa</string>
<string name="edit_map_details">Editar detalles del mapa</string>
<string name="share_map">Compartir mapa con amigos</string>
<string name="share_track">Compartir recorrido con amigos</string>
<string name="delete_map">Borrar mapa de su cuenta</string>
<string name="map_title">Título del mapa:</string>
<string name="map_description">Descripción del mapa:</string>
<string name="map_searchable_edit">Permitir que este mapa y su contenido sean mostrados en resultados de búsqueda</string>
<string name="map_not_searchable_edit">No permitir que este mapa y su contenido sean mostrados en resultados de búsqueda, pero permitir acceso directo mediante su URL</string>
<string name="map_searchable">Este mapa y su contenido serán mostrados en resultados de búsqueda</string>
<string name="map_not_searchable">No mostrar ni este mapa ni sus contenidos en resultados de búsqueda, pero permitir acceso directo mediante su URL</string>
<string name="close">Cerrar</string>
<string name="edit">Editar</string>
<string name="cancel">Cancelar</string>
<string name="save">Guardar</string>
<!-- Sharing -->
<string name="share_map_subject">Me gustaría compartir un mapa contigo</string>
<string name="share_map_body_format">Creo que este mapa pudiera interesarte:
%s</string>
<string name="send_track_subject">Me gustaría compartir un recorrido contigo</string>
<string name="send_track_body_format">Creo que este recorrido pudiera interesarte.
Para ver este recorrido usa Google Earth o algún otro software de mapeo.</string>
<!-- Visibility -->
<string name="public_map">Público</string>
<string name="unlisted_map">No listado</string>
<string name="mapslist_no_maps_available">Aún no tienes ningún mapa.</string>
<!-- Statistics View -->
<!-- Average Moving -->
<string name="average_moving_speed_label">Velocidad promedio en movimiento</string>
<string name="average_moving_pace_label">Paso promedio en movimiento</string>
<!-- Average -->
<string name="average_speed_label">Velocidad promedio</string>
<string name="average_pace_label">Paso promedio</string>
<string name="elevation_chart_name">Gráfica de elevación</string>
<string name="elevation_gain_label">Aumento de elevación</string>
<string name="elevation_label">Elevación</string>
<string name="latitude_label">Latitud</string>
<string name="longitude_label">Longitud</string>
<!-- Min -->
<string name="min_elevation_label">Elevación mínima</string>
<string name="min_grade_label">Pendiente mínima</string>
<string name="min_pace_label">Paso mínimo</string>
<!-- Max -->
<string name="max_elevation_label">Elevación máxima</string>
<string name="max_grade_label">Pendiente máxima</string>
<string name="max_speed_label">Velocidad máxima</string>
<string name="loading_track">Cargando recorrido...</string>
<!-- Chart Settings -->
<string name="chart_settings">Configuración de gráficas</string>
<!-- X Axis -->
<string name="x_axis">Eje X</string>
<string name="by_distance">Como función de distancia</string>
<string name="by_time">Como función de tiempo</string>
<!-- Y Axis -->
<string name="y_axis">Eje Y</string>
<!-- Units -->
<!-- Time -->
<string name="hour">hora</string>
<string name="hours">horas</string>
<string name="minute">minuto</string>
<string name="minutes">minutos</string>
<string name="second">segundo</string>
<string name="seconds">segundos</string>
<!-- Distance -->
<string name="kilometers_long">kilómetros</string>
<string name="miles_long">millas</string>
<!-- Speed and Pace -->
<string name="kilometer_per_hour_long">kilómetros por hora</string>
<string name="per_kilometer">por kilómetro</string>
<string name="mile_per_hour_long">millas por hora</string>
<string name="per_mile">por milla</string>
<!-- Stats Labels -->
<string name="moving_time_label">Tiempo en movimiento</string>
<string name="total_time_label">Tiempo total</string>
<string name="time_label">Tiempo</string>
<string name="sd_unavail">SD no disponible</string>
<string name="speed">Velocidad</string>
<string name="start_trip">Debes comenzar un viaje.</string>
<string name="statistics">Estadísticas</string>
<string name="total_distance_label">Distancia total</string>
<string name="distance_label">Distancia</string>
<string name="waiting">Esperando...</string>
<!-- End User License Agreement -->
<string name="eula_title">Contrato de Licencia de Usuario Final</string>
<string name="accept">Aceptar</string>
<string name="decline">Declinar</string>
<!-- About -->
<string name="about">Sobre</string>
<string name="help">Ayuda</string>
<string name="about_email">Soporte técnico</string>
<string name="about_team">Equipo:</string>
<string name="about_support">Soporte técnico:</string>
<!-- Send to Google -->
<string name="sendtogoogle_title">Enviar a...</string>
<string name="sendtogoogle_send_now">Enviar ahora</string>
<string name="sendtogoogle_create_new_map">Crear un nuevo mapa</string>
<string name="sendtogoogle_pick_existing_map">Escoja un mapa existente</string>
<string name="sendtogoogle_send_stats">Enviar estadísticas de recorrido</string>
<string name="sendtogoogle_send_stats_and_points">Enviar estadísticas y puntos</string>
<!-- SD card -->
<string name="io_no_external_storage_found">Ningún almacenamiento externo fue encontrado. Asegúrese que la tarjeta SD se encuentre insertada y que su teléfono no este conectado a una computadora.</string>
<string name="io_write_failed">No es posible escribir al archivo.</string>
<string name="io_create_dir_failed">No es posible crear un directorio en su tarjeta SD.</string>
<string name="io_write_finished">Grabación a tarjeta SD concluída.</string>
<!-- VersionChecker -->
<string name="version_check_title">Checar actualizaciones</string>
<string name="version_check_upgrade_button">Actualizar ahora</string>
<string name="version_check_continue_button">Continuar sin actualizar</string>
<string name="upgrade_required">Su versión de %1$s puede no funcionar bien, y no contar ya con soporte técnico. Por favor actualice para poder continuar usando %1$s.</string>
<string name="upgrade_recommended">Su versión de %1$s puede no funcionar bien. Puede actualizar ahora, o continuar usándola bajo su propio riesgo. Algunos procesos como la sincronización con los servidores pueden no funcionar hasta que actualice su versión.</string>
<string name="upgrade_available">Una nueva versión de %1$s ya está disponible. Puede continuar usando su versión actual sin ninún problema, pero no tendrá las nueva funcionalidad hasta que actualice su versión.</string>
<!-- Welcome -->
<string name="welcome">Bienvenido</string>
<string name="welcome_about">Sobre My Tracks</string>
<!-- Announcement -->
<string name="announce_no_distance">My Tracks sin distancia</string>
<!-- Format:
$1 : Distance label
$2 : Distance value (5)
$3 : Distance units (mi, km)
$4 : Time description (10 minutes 5 seconds)
$5 : Speed value (5.6) : Pace value (5 minutes 6 seconds)
$6 : Speed units (mph) : Pace units (per mile)
-->
<string name="announce_template">My Tracks %1$s %2$.2f %3$s en %4$s a %5$s %6$s</string>
</resources>
-307
View File
@@ -1,307 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<!-- Task frequency -->
<string-array name="task_frequency_options">
<item>Absent</item>
<item>1 min</item>
<item>2 min</item>
<item>5 min</item>
<item>10 min</item>
<item>15 min</item>
<item>30 min</item>
<item>60 min</item>
</string-array>
<!-- Minimum recording distance -->
<string-array name="min_recording_distance_options">
<item>1 m</item>
<item>2 m</item>
<item>3 m</item>
<item>4 m</item>
<item>5 m (recommandé)</item>
<item>10 m</item>
<item>100 m</item>
</string-array>
<string-array name="min_recording_distance_options_ft">
<item>3 pieds</item>
<item>6 pieds</item>
<item>10 pieds</item>
<item>13 pieds</item>
<item>16 pieds (recommandé)</item>
<item>33 pieds</item>
<item>328 pieds</item>
</string-array>
<!-- Maximum recording distance -->
<string-array name="max_recording_distance_options">
<item>50 m</item>
<item>100 m</item>
<item>200 m (recommandé)</item>
<item>500 m</item>
<item>1000 m</item>
<item>5000 m</item>
</string-array>
<string-array name="max_recording_distance_options_ft">
<item>164 pieds</item>
<item>328 pieds</item>
<item>656 pieds (recommandé)</item>
<item>1640 pieds</item>
<item>0.6 miles</item>
<item>3.1 miles</item>
</string-array>
<!-- Minimum recording interval -->
<string-array name="min_recording_interval_options">
<item>économiseur de batterie (adaptatif)</item>
<item>haute résolution (adaptatif)</item>
<item>haute résolution (recommandé)</item>
<item>2 s</item>
<item>3 s</item>
<item>4 s</item>
<item>5 s</item>
<item>10 s</item>
<item>20 s</item>
<item>30 s</item>
<item>1 min</item>
<item>2 min</item>
<item>5 min</item>
<item>10 min</item>
<item>15 min</item>
<item>30 min</item>
</string-array>
<!-- Minimum required accuracy -->
<string-array name="min_required_accuracy_options">
<item>10 m (excellent signal GPS)</item>
<item>20 m</item>
<item>50 m</item>
<item>100 m</item>
<item>200 m (recommandé)</item>
<item>500 m</item>
<item>1000 m</item>
<item>2000 m</item>
<item>5000 m (Mauvais signal GPS)</item>
</string-array>
<string-array name="min_required_accuracy_options_ft">
<item>33 pieds (excellent signal GPS)</item>
<item>66 pieds</item>
<item>165 pieds</item>
<item>328 pieds</item>
<item>656 pieds (recommandé)</item>
<item>1640 pieds</item>
<item>0.6 miles</item>
<item>1.2 miles</item>
<item>3.1 miles (mauvais signal GPS)</item>
</string-array>
<!-- Split frequency -->
<string-array name="split_frequency_options">
<item>Pas de séparation</item>
<item>100 km</item>
<item>50 km</item>
<item>25 km</item>
<item>10 km</item>
<item>5 km</item>
<item>1 km</item>
<item>60 min</item>
<item>30 min</item>
<item>15 min</item>
<item>10 min</item>
<item>5 min</item>
<item>2 min</item>
<item>1 min</item>
</string-array>
<string-array name="split_frequency_options_ft">
<item>Pas de séparation</item>
<item>100 mi</item>
<item>50 mi</item>
<item>25 mi</item>
<item>10 mi</item>
<item>5 mi</item>
<item>1 mi</item>
<item>60 min</item>
<item>30 min</item>
<item>15 min</item>
<item>10 min</item>
<item>5 min</item>
<item>2 min</item>
<item>1 min</item>
</string-array>
<!-- Other non-preference arrays -->
<array name="activity_types">
<item>inconnue</item>
<item>activité mixte</item>
<item>autre</item>
<item>jogging</item>
<item>course à pied</item>
<item>jogging urbain</item>
<item>athlétisme</item>
<item>course sur piste</item>
<item>cross</item>
<item>marche à pied</item>
<item>balade</item>
<item>marche sportive</item>
<item>randonnée</item>
<item>trekking</item>
<item>alpinisme</item>
<item>marche à pied hors sentier</item>
<item>escalade</item>
<item>cyclisme</item>
<item>vélo</item>
<item>cyclisme sur route</item>
<item>vélo sur route</item>
<item>VTT</item>
<item>Vélo Tout Terrain</item>
<item>cyclisme sur piste</item>
<item>vélo de piste</item>
<item>patin à roulette</item>
<item>skate board</item>
<item>randonnée en raquette</item>
<item>ski</item>
<item>ski de fond</item>
<item>ski de piste</item>
<item>ski de randonnée</item>
<item>ski hors piste</item>
<item>snow board</item>
<item>luge</item>
<item>voilier sur glace</item>
<item>navigation</item>
<item>bateau à voile</item>
<item>voilier</item>
<item>aviron</item>
<item>kayak</item>
<item>bateau à moteur</item>
<item>ferry</item>
<item>boat télécommandé</item>
<item>surf</item>
<item>planche à voile</item>
<item>kite surf</item>
<item>ski nautique</item>
<item>avion</item>
<item>avion à moteur</item>
<item>planneur</item>
<item>planneur à moteur</item>
<item>motoplanneur</item>
<item>avion commercial</item>
<item>helicoptère</item>
<item>ballon</item>
<item>dirigeable</item>
<item>avion télécommandé</item>
<item>hélicoptère télécommandé</item>
<item>saut en parachute</item>
<item>base jump</item>
<item>base jumping</item>
<item>parapente</item>
<item>deltaplane</item>
<item>équitation</item>
<item>balade à cheval</item>
<item>conduite</item>
<item>conduite de voiture</item>
<item>conduite de bus</item>
<item>voiture</item>
<item>bus</item>
<item>camion</item>
<item>fourgon</item>
<item>fourgonnette</item>
<item>utilitaire</item>
<item>train</item>
<item>moto</item>
<item>motocyclette</item>
<item>motocross</item>
<item>char à voile</item>
<item>frisbee</item>
<item>ultimate frisbee</item>
</array>
<array name="waypoint_types">
<item>distributeur de billets</item>
<item>banque</item>
<item>bar</item>
<item>barbecue</item>
<item>immeuble</item>
<item>arrêt de bus</item>
<item>café</item>
<item>feu de camp</item>
<item>camping</item>
<item>église</item>
<item>coffee house</item>
<item>supérette</item>
<item>eau potable</item>
<item>chute de pierre</item>
<item>ferry</item>
<item>feu de camp</item>
<item>caserne de pompiers</item>
<item>lieu de pêche</item>
<item>station service</item>
<item>golf</item>
<item>magasin d\'alimentation</item>
<item>coiffeur</item>
<item>port</item>
<item>sentier</item>
<item>hôtel</item>
<item>maison</item>
<item>information</item>
<item>intersection</item>
<item>boite aux lettres</item>
<item>marché</item>
<item>lieu de rendez-vous</item>
<item>point de rendez-vous</item>
<item>opéra</item>
<item>parking</item>
<item>poste</item>
<item>caverne</item>
<item>commissariat</item>
<item>passage à niveaux</item>
<item>restaurant</item>
<item>boutiques</item>
<item>vue</item>
<item>point de vue</item>
<item>boutique</item>
<item>magasin</item>
<item>piscine</item>
<item>téléphone</item>
<item>théâtre</item>
<item>toilettes</item>
<item>office du tourisme</item>
<item>tunnel</item>
<item>arbre</item>
<item>cascade</item>
<item>fontaine</item>
<item>way point</item>
<item>point de passage</item>
</array>
</resources>
-357
View File
@@ -1,357 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<!-- Used by the Menu -->
<string name="start_recording">Enregistrer parcours</string>
<string name="stop_recording">Arrêter enregistrement</string>
<string name="switch_to_sat">Mode satellite</string>
<string name="switch_to_map">Mode plan</string>
<string name="mylocation">Ma position</string>
<string name="list_tracks">Parcours</string>
<string name="list_markers">Marqueurs</string>
<string name="delete_all_tracks">Supprimer tous les parcours</string>
<string name="settings">Paramètres</string>
<string name="elevation">Altitude</string>
<string name="choose_track_message">Sélectionnez le parcours à visualiser</string>
<string name="current_track">Parcours actuel</string>
<string name="current_segment">Segment actuel</string>
<!-- Error messages -->
<string name="error_no_location_manager">Aucune source de localisation n\'a été trouvée sur ce système !</string>
<string name="error_no_gps_location_provider">Aucune source GPS de localisation n\'a été trouvée sur ce système.</string>
<string name="error_sending_to_mymap">Il y a eu une erreur lors de l\'envoi de votre parcours à Google Mes cartes. Réessayez plus tard SVP.</string>
<string name="error_sending_to_docs">Il y a eu une erreur lors de l\'envoi de votre parcours à Google Docs. Réessayez plus tard SVP.</string>
<string name="error_unable_to_start_recording">Impossible de débuter l\'enregistrement. Réessayez.</string>
<string name="error_unable_to_stop_recording">Impossible de stopper l\'enregistrement. Réessayez.</string>
<string name="error_unable_to_read_file">Impossible de lire le fichier.</string>
<string name="error_invalid_gpx_format">Le fichier n\'a pas un format GPX valide.</string>
<string name="error_generic">Une erreur a eu lieu. Essayez de nouveau s\'il vous plaît.</string>
<string name="error_track_does_not_exist">Le parcours n\'existe pas.</string>
<string name="error_out_of_memory">Ce fichier est trop gros (sa taille doit être inférieure à 500ko). Abandon.</string>
<string name="error_unable_to_insert_marker">Impossible d\'insérer une balise. Position inconnue.</string>
<!-- Status messages -->
<string name="wait_for_fix">Attente du signal GPS. Assurez-vous que le ciel est bien visible.</string>
<string name="status_now_recording">Parcours en cours d\'enregistrement.</string>
<string name="status_stopped_recording">Enregistrement du parcours terminé.</string>
<string name="status_new_mymap_has_been_created">Une nouvelle carte Google \'Mes cartes\' vient d\'être créée sur maps.google.com.</string>
<string name="status_tracks_have_been_uploaded">Votre parcours a été envoyé à maps.google.com.</string>
<string name="status_tracks_have_been_uploaded_to_new_doc">Votre parcours a été envoyé dans un tableur à docs.google.com.</string>
<string name="status_tracks_have_been_uploaded_to_docs">Votre parcours a été envoyé à docs.google.com.</string>
<string name="status_mymap_info">Votre parcours peut prendre quelques minutes avant d\'être visible.</string>
<string name="status_enable_gps">Cliquez ici et allez dans \'Paramètres\', \'Sécurité et Localisation\' et selectionnez \'Activer les satellites GPS\'. Appuyez sur le bouton de retour pour revenir au menu.</string>
<string name="status_approximate_location">Note : Votre position est approximative, elle a été déterminée par les antennes de téléphonie ou le réseau WiFi.</string>
<string name="status_no_location">Votre position ne peut être déterminée. Vérifiez votre configuration dans \'Paramètres\', \'Sécurité et Localisation\'. Assurez-vous également que le ciel soit bien visible.</string>
<string name="status_waypoint_inserted">Un point de passage a été inséré.</string>
<string name="status_statistics_inserted">Une balise de statistiques a été insérée.</string>
<!-- Progress dialog -->
<string name="progress_title">Patientez SVP...</string>
<string name="progress_message">Envoi du parcours à Google...</string>
<string name="progress_message_reading_track">Lecture du parcours...</string>
<string name="progress_message_preparing_track">Préparation du parcours</string>
<string name="progress_message_authenticating_mymaps">Authentification à Google Mes cartes...</string>
<string name="progress_message_authenticating_docs">Authentification à Google Docs...</string>
<string name="progress_message_sending_docs">Envoi du parcours vers Google Docs...</string>
<string name="progress_message_sending_mymaps">Envoi du parcours vers Google Mes cartes...</string>
<string name="progress_message_creating_map">Création d\'une nouvelle carte...</string>
<string name="import_progress_message">Importation du parcours GPS. Patientez SVP.</string>
<string name="write_progress_message">Enregistrement du fichier sur la carte SD. Patientez SVP.</string>
<string name="progress_message_updating_track">Mise à jour des statistiques du parcours...</string>
<!-- Used by DeleteAllDataHandler -->
<string name="are_you_sure_question">Êtes-vous sûr?</string>
<string name="all_data_will_be_permanently_deleted">Tous les parcours et balises vont être supprimés de ce téléphone.</string>
<string name="track_will_be_permanently_deleted">Le parcours et ses balises vont être supprimés de manière permanente de ce téléphone.</string>
<string name="marker_will_be_permanently_deleted">Les balises vont être supprimées de manière permanente de ce téléphone.</string>
<!-- Text and links when uploading to Google My Maps -->
<string name="new_map_description">Créée par My Tracks sous Android.</string>
<string name="my_map_link">Créée par &lt;a href=\'http://mytracks.appspot.com\'&gt;My Tracks&lt;/a&gt; sous Android.</string>
<string name="new_map_title">Nouvelle carte</string>
<!-- Formatting of track and marker descriptions -->
<string name="recorded_date">Enregistré</string>
<string name="category">Type d\'activité</string>
<string name="waypoint_category">Type de balise</string>
<string name="part">(Portion %d)</string>
<!-- Used by the track recording service -->
<string name="recording_your_track">Enregistrement de votre parcours...</string>
<string name="new_track">Parcours %d</string>
<!-- Common -->
<string name="no">Non</string>
<string name="yes">Oui</string>
<string name="error">Erreur</string>
<string name="waypoint">Point de passage</string>
<!-- Placemark labels for start and end of track -->
<string name="start">(Début)</string>
<string name="end">(Fin)</string>
<!-- TrackList -->
<string name="tracklist_show_track">Afficher</string>
<string name="tracklist_send_to_mymaps">Envoyer à Google Mes cartes</string>
<string name="tracklist_send_to_new_mymap">Envoyer et créer un nouvelle carte Google Mes cartes</string>
<string name="tracklist_send_to_docs">Envoyer à Google Docs</string>
<string name="tracklist_send_to_google">Envoyer à Google...</string>
<string name="tracklist_delete_track">Effacer du téléphone...</string>
<string name="tracklist_edit_track">Consulter les détails</string>
<string name="tracklist_write_to_sd">Enregistrer sur la carte SD...</string>
<string name="tracklist_save_as_gpx">Enregistrer en fichier GPX </string>
<string name="tracklist_save_as_kml">Enregistrer en fichier KML</string>
<string name="tracklist_btn_send_all_to_mymaps">Envoyer à Google Mes cartes</string>
<string name="tracklist_btn_export_all">Exporter tous les parcours</string>
<string name="tracklist_btn_delete_all">Tout supprimer</string>
<string name="tracklist_pick_one">Choisissez un parcours. Faites un appui prolongé pour plus d\'options.</string>
<string name="tracklist_all_tracks">Tous les parcours:</string>
<string name="tracklist_this_track">Ce parcours</string>
<string name="tracklist_share_track">Partager...</string>
<string name="tracklist_share_link">Lien sur Google Mes cartes</string>
<string name="tracklist_share_gpx_file">Fichier GPX</string>
<string name="tracklist_share_kml_file">Fichier KML</string>
<string name="tracklist_clear_map">Effacer la carte</string>
<!-- Waypoints list -->
<string name="waypointslist_btn_delete_all">Supprimer toutes les balises</string>
<string name="waypointslist_this_waypoint">Ce marqueur</string>
<string name="waypointslist_delete_waypoint">Supprimer</string>
<string name="waypointslist_edit_waypoint">Consulter les détails</string>
<string name="waypointslist_show_waypoint">Indiquer sur la carte</string>
<string name="waypointslist_btn_insert_waypoint">Ajout point de passage</string>
<string name="waypointslist_btn_insert_statistics">Ajout de statistiques</string>
<string name="waypointslist_pick_one">Choisissez une balise. Faites un appui prolongé pour plus d\'options.</string>
<!-- MyTracks Details -->
<string name="trackdetails_title">Détails parcours</string>
<string name="trackdetails_name">Nom du parcours</string>
<string name="trackdetails_description">Description du parcours</string>
<string name="trackdetails_category">Type d\'activité (randonnée, cyclisme, jogging, escalade...)</string>
<!-- MyTracks Waypoint Details -->
<string name="waypointdetails_title">Details balise</string>
<string name="waypointdetails_name">Nom de la balise</string>
<string name="waypointdetails_description">Description balise</string>
<string name="waypointdetails_category">Nom de balise (par ex.: immeuble, boutique, point de vue...)</string>
<!-- MyTracks Settings -->
<string name="mytracks_settings">Paramètres My Tracks</string>
<string name="settings_display">Affichage</string>
<string name="settings_recording">Enregistrement</string>
<string name="settings_sharing">Partage</string>
<string name="settings_announcement_frequency">Fréquence des annonces</string>
<string name="settings_announcement_frequency_summary">Temps minimum entre eux annonces vocales</string>
<string name="settings_announcement_not_available_summary">La synthèse vocale n\'est pas disponible pour cette version d\'Android</string>
<string name="settings_min_recording_distance">Distance min. entre 2 points</string>
<string name="settings_min_recording_distance_summary">Plus petite distance entre deux enregistrements de votre position</string>
<string name="settings_max_recording_distance">Distance max. entre 2 points</string>
<string name="settings_max_recording_distance_summary">Si deux points successifs sont plus éloignés, un nouveau parcours sera créé</string>
<string name="settings_min_recording_interval">Fréquence d\'enregistrement</string>
<string name="settings_min_recording_interval_summary">Plus petit intervalle de temps entre deux enregistrements de votre position</string>
<string name="settings_min_required_accuracy">Précision minimum</string>
<string name="settings_min_required_accuracy_summary">L\'enregistrement sera suspendu si la géolocalisation est moins précise</string>
<string name="settings_metric_units">Système métrique</string>
<string name="settings_metric_units_summary_on">Le système métrique sera utilisé pour l\'affichage des distances</string>
<string name="settings_metric_units_summary_off">Le système impérial sera utilisé pour l\'affichage des distances</string>
<string name="settings_map_public">Cartes publiques</string>
<string name="settings_map_public_summary_on">Les cartes partagées seront visibles par tout le monde sur maps.google.com</string>
<string name="settings_map_public_summary_off">Les cartes ne seront pas partagées publiquement sur maps.google.com</string>
<string name="settings_report_speed_or_pace">Afficher vitesse/rythme</string>
<string name="settings_report_speed_or_pace_summary_on">Afficher la vitesse</string>
<string name="settings_report_speed_or_pace_summary_off">Afficher le rythme</string>
<string name="settings_share_url_only">Partager URL/parcours</string>
<string name="settings_share_url_only_summary_on">Seule l\'adresse URL de la carte sera envoyée lors du partage</string>
<string name="settings_share_url_only_summary_off">Le contenu du parcours sera également inclus lors du partage</string>
<string name="settings_signal_sampling_frequency">Échantillonnage du signal</string>
<string name="settings_signal_sampling_frequency_summary">Intervalle de temps entre deux enregistrements de la force du signal</string>
<string name="settings_split_frequency">Fréquence de séparation</string>
<string name="settings_split_frequency_summary">Temps ou distance minimum avant l\'insertion d\'un marqueur de séparation</string>
<string name="pace_label">Rythme</string>
<!-- MyTracksSky -->
<string name="mytracks_sky">Satellites GPS</string>
<!-- MyMaps -->
<string name="select_map_message">Choisissez une carte de votre compte :</string>
<string name="create_new_map">Création d\'une nouvelle carte en cours...</string>
<string name="map_list_title">Envoyer à Google Mes cartes</string>
<string name="maps_list_loading">Chargements de vos cartes...</string>
<string name="maps_list_failed">Vos cartes n\'ont pu être chargées</string>
<string name="open_map">Sélectionnez la carte</string>
<string name="edit_map_details">Consulter les détails de la carte</string>
<string name="share_map">Partager.</string>
<string name="share_track">Partager des parcours.</string>
<string name="delete_map">Supprimer la carte de votre compte.</string>
<string name="map_title">Titre de la carte :</string>
<string name="map_description">Description de la carte :</string>
<string name="map_searchable_edit">Rendre cette carte et son contenu visibles dans les résultats de recherche.</string>
<string name="map_not_searchable_edit">Ne pas inclure cette carte et sont contenu dans les résultats de recherche. Ils seront cependant consultables par d\'autres utilisateurs en utilisant l\'adresse URL exacte</string>
<string name="map_searchable">Cette carte et son contenu seront visibles dans les résultats de recherche</string>
<string name="map_not_searchable">Ni cette carte, ni son contenu seront visible dans les résultats de recherche, mais ils seront consultables en utilisant l\'adresse URL exacte</string>
<string name="close">Fermer</string>
<string name="edit">Modifier</string>
<string name="cancel">Annuler</string>
<string name="save">Enregistrer</string>
<!-- Sharing -->
<string name="share_map_subject">Je voudrais partager ma carte avec vous</string>
<string name="share_map_body_format">Je pense que cette carte vous intéressera :
%s</string>
<string name="send_track_subject">Je voudrais partager un parcours avec vous</string>
<string name="send_track_body_format">Je pense que ce parcours vous intéressera.
Pour voir ce parcours, utilisez Google Earth ou tout autre logiciel de cartographie.</string>
<!-- Visibility -->
<string name="unlisted_map">Carte non listée</string>
<string name="mapslist_no_maps_available">Vous n\'avez par encore de carte personnalisée.</string>
<!-- Statistics View -->
<!-- Average Moving -->
<string name="average_moving_speed_label">Vitesse moyenne (déplacement)</string>
<string name="average_moving_pace_label">Rythme moyen (dépl.)</string>
<!-- Average -->
<string name="average_speed_label">Vitesse moyenne</string>
<string name="average_pace_label">Rythme moyen</string>
<string name="elevation_chart_name">Altitude maximale</string>
<string name="elevation_gain_label">Dénivelé cumulé</string>
<string name="elevation_label">Altitude</string>
<!-- Min -->
<string name="min_elevation_label">Altitude min</string>
<string name="min_grade_label">Pente min</string>
<string name="min_pace_label">Rythme min</string>
<!-- Max -->
<string name="max_elevation_label">Altitude max</string>
<string name="max_grade_label">Pente max</string>
<string name="max_speed_label">Vitesse max</string>
<string name="loading_track">Chargement du parcours...</string>
<!-- Chart Settings -->
<string name="chart_settings">Paramètres Graphique</string>
<!-- X Axis -->
<string name="x_axis">Abscisse (X)</string>
<string name="by_distance">Par distance</string>
<string name="by_time">Par durée</string>
<!-- Y Axis -->
<string name="y_axis">Ordonnée (Y)</string>
<!-- Units -->
<!-- Time -->
<string name="hour">heure</string>
<string name="hours">heures</string>
<string name="second">seconde</string>
<string name="seconds">secondes</string>
<!-- Distance -->
<string name="feet">pied</string>
<string name="kilometers_long">kilomètres</string>
<string name="miles_long">milles</string>
<!-- Speed and Pace -->
<string name="kilometer_per_hour">km/h</string>
<string name="kilometer_per_hour_long">kilomètres/heure</string>
<string name="per_kilometer">par kilomètre</string>
<string name="mile_per_hour">mi/h</string>
<string name="mile_per_hour_long">miles/heure</string>
<string name="per_mile">per mile</string>
<!-- Stats Labels -->
<string name="moving_time_label">Durée (déplacement)</string>
<string name="total_time_label">Durée totale</string>
<string name="time_label">Durée</string>
<string name="sd_unavail">Carte SD indisponible</string>
<string name="speed">Vitesse</string>
<string name="start_trip">Vous devez commencer un parcours</string>
<string name="statistics">Statistiques</string>
<string name="total_distance_label">Distance totale</string>
<string name="waiting">Patientez</string>
<!-- End User License Agreement -->
<string name="eula_title">Accord de licence utilisateur</string>
<string name="accept">Accepter</string>
<string name="decline">Décliner</string>
<!-- About -->
<string name="about">À propos</string>
<string name="help">Aide</string>
<string name="about_team">Équipe :</string>
<!-- Send to Google -->
<string name="sendtogoogle_title">Envoyer à</string>
<string name="sendtogoogle_send_now">Envoyer maintenant</string>
<string name="sendtogoogle_create_new_map">Créer une nouvelle carte</string>
<string name="sendtogoogle_pick_existing_map">Choisir une carte</string>
<string name="sendtogoogle_send_stats">Envoyer les statistiques du parcours</string>
<string name="sendtogoogle_send_stats_and_points">Envoyer les statistiques et les balises</string>
<!-- Getting the account to upload to. -->
<string name="no_account_found_title">Pas de compte Google</string>
<string name="no_account_found">Un compte Google est nécessaire pour télécharger le parcours.</string>
<string name="choose_account_title">Choisissez un compte</string>
<!-- SD card -->
<string name="io_no_external_storage_found">Aucun emplacement externe de sauvegarde n\'a été trouvé. Assurez-vous qu\'une carte SD est insérée et que votre téléphone n\'est pas relié à un ordinateur.</string>
<string name="io_write_failed">Impossible d\'écrire dans le fichier.</string>
<string name="io_create_dir_failed">Impossible de créer un dossier dans la carte SD.</string>
<string name="io_write_finished">Parcours enregistré sur la carte SD.</string>
<!-- VersionChecker -->
<string name="version_check_title">Recherche mise à jour</string>
<string name="version_check_upgrade_button">Installer mise à jour</string>
<string name="version_check_continue_button">Continuer sans installer mise à jour</string>
<string name="upgrade_required">Votre version %1$s est obsolète et n\'est plus supportée. Installer les mises à jour afin de pouvoir continuer à utiliser %1$s.</string>
<string name="upgrade_recommended">Votre version %1$s est obsolète et n\'est plus supportée. Vous pouvez installer les mises à jour ou continuer à l\'utiliser à vos propres risques. Certaines fonctionalités comme la synchronisation avec le serveur risquent de ne pas fonctionner tant que vous n\'installerez pas la mise à jour.</string>
<string name="upgrade_available">Une nouvelle version %1$s est disponible. Vous pouvez continuer à utiliser la version actuelle sans rencontrer de problèmes mais vous de disposerez pas des dernières fonctionnalités tant que vous n\'aurez pas installé les mises à jour.</string>
<!-- Welcome -->
<string name="welcome">Bienvenue</string>
<string name="welcome_about">À propos de My Tracks</string>
<!-- Announcement -->
<string name="announce_no_distance">My Tracks pas de distance disponible</string>
<!-- Format:
$1 : Distance label
$2 : Distance value (5)
$3 : Distance units (mi, km)
$4 : Time description (10 minutes 5 seconds)
$5 : Speed value (5.6) : Pace value (5 minutes 6 seconds)
$6 : Speed units (mph) : Pace units (per mile)
-->
<string name="announce_template">My Tracks %1$s %2$.2f %3$s en %4$s at %5$s %6$s</string>
</resources>
-278
View File
@@ -1,278 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<!-- Task frequency -->
<string-array name="task_frequency_options">
<item>Disattivato</item>
<item>1 min</item>
<item>2 min</item>
<item>5 min</item>
<item>10 min</item>
<item>15 min</item>
<item>30 min</item>
<item>60 min</item>
</string-array>
<!-- Minimum recording distance -->
<string-array name="min_recording_distance_options">
<item>1 m</item>
<item>2 m</item>
<item>3 m</item>
<item>4 m</item>
<item>5 m (raccomandato)</item>
<item>10 m</item>
<item>100 m</item>
</string-array>
<string-array name="min_recording_distance_options_ft">
<item>3 pd</item>
<item>6 pd</item>
<item>10 pd</item>
<item>13 pd</item>
<item>16 pd (raccomandato)</item>
<item>33 pd</item>
<item>328 pd</item>
</string-array>
<!-- Maximum recording distance -->
<string-array name="max_recording_distance_options">
<item>50 m</item>
<item>100 m</item>
<item>200 m (raccomandato)</item>
<item>500 m</item>
<item>1000 m</item>
<item>5000 m</item>
</string-array>
<string-array name="max_recording_distance_options_ft">
<item>164 pd</item>
<item>328 pd</item>
<item>656 pd (raccomandato)</item>
<item>1640 pd</item>
<item>0,6 mi</item>
<item>3,1 mi</item>
</string-array>
<!-- Minimum recording interval -->
<string-array name="min_recording_interval_options">
<item>risparmio batteria (adattativo)</item>
<item>alta (adattativo)</item>
<item>massima (raccomandato)</item>
<item>2 s</item>
<item>3 s</item>
<item>4 s</item>
<item>5 s</item>
<item>10 s</item>
<item>20 s</item>
<item>30 s</item>
<item>1 min</item>
<item>2 min</item>
<item>5 min</item>
<item>10 min</item>
<item>15 min</item>
<item>30 min</item>
</string-array>
<!-- Minimum required accuracy -->
<string-array name="min_required_accuracy_options">
<item>10 m (segnale GPS ottimo)</item>
<item>20 m</item>
<item>50 m</item>
<item>100 m</item>
<item>200 m (raccomandato)</item>
<item>500 m</item>
<item>1000 m</item>
<item>2000 m</item>
<item>5000 m (segnale GPS debole)</item>
</string-array>
<string-array name="min_required_accuracy_options_ft">
<item>33 pd (segnale GPS ottimo)</item>
<item>66 pd</item>
<item>165 pd</item>
<item>328 pd</item>
<item>656 pd (raccomandato)</item>
<item>1640 pd</item>
<item>0.6 mi</item>
<item>1.2 mi</item>
<item>3.1 mi (segnale GPS debole)</item>
</string-array>
<!-- Split frequency -->
<string-array name="split_frequency_options">
<item>Non dividere</item>
<item>100 km</item>
<item>50 km</item>
<item>25 km</item>
<item>10 km</item>
<item>5 km</item>
<item>1 km</item>
<item>60 min</item>
<item>30 min</item>
<item>15 min</item>
<item>10 min</item>
<item>5 min</item>
<item>2 min</item>
<item>1 min</item>
</string-array>
<string-array name="split_frequency_options_ft">
<item>Non dividere</item>
<item>100 mi</item>
<item>50 mi</item>
<item>25 mi</item>
<item>10 mi</item>
<item>5 mi</item>
<item>1 mi</item>
<item>60 min</item>
<item>30 min</item>
<item>15 min</item>
<item>10 min</item>
<item>5 min</item>
<item>2 min</item>
<item>1 min</item>
</string-array>
<!-- Other non-preference arrays -->
<array name="activity_types">
<item>ignoto</item>
<item>misto</item>
<item>altro</item>
<item>corsa</item>
<item>corsa su strada</item>
<item>corsa su pista</item>
<item>costa campestre</item>
<item>passeggiata</item>
<item>marcia</item>
<item>escursionismo</item>
<item>camminata su sentiero</item>
<item>camminata fuori sentiero</item>
<item>arrampicata</item>
<item>ciclismo</item>
<item>ciclismo su strada</item>
<item>mountain biking</item>
<item>ciclismo su pista</item>
<item>pattinaggio</item>
<item>pattinaggio in-line</item>
<item>skateboarding</item>
<item>escursione con racchette da neve</item>
<item>sci</item>
<item>snowboard</item>
<item>slitta</item>
<item>pattinaggio su ghiaccio</item>
<item>vela</item>
<item>barca a remi</item>
<item>kayak</item>
<item>cannottaggio</item>
<item>motoscafo</item>
<item>traghetto</item>
<item>barca radiocomandata</item>
<item>surf</item>
<item>windsurf</item>
<item>kitesurf</item>
<item>sci acquatico</item>
<item>wakeboard</item>
<item>aeroplano</item>
<item>idrovolante</item>
<item>aereo commerciale</item>
<item>elicottero</item>
<item>mongolfiera</item>
<item>dirigibile</item>
<item>aereo radiocomandato</item>
<item>elicottero radiocomandato</item>
<item>paracadutismo</item>
<item>aliante</item>
<item>deltaplano</item>
<item>parapendio</item>
<item>equitazione</item>
<item>equitazione (cavallo)</item>
<item>equitazione (mulo)</item>
<item>automobile</item>
<item>autobus</item>
<item>treno</item>
<item>motocicletta</item>
<item>enduro</item>
<item>ATV</item>
<item>landsailing</item>
<item>frisbee</item>
<item>ultimate frisbee</item>
</array>
<array name="waypoint_types">
<item>bancomat</item>
<item>banca</item>
<item>bar</item>
<item>barbeque</item>
<item>edificio</item>
<item>fermata bus</item>
<item>caffè</item>
<item>fuoco da campocampfire</item>
<item>campeggio</item>
<item>chiesa</item>
<item>caffè bar</item>
<item>bottega</item>
<item>acqua potabile</item>
<item>caduta sassi</item>
<item>traghetto</item>
<item>fuoco</item>
<item>stazione pompieri</item>
<item>pesca</item>
<item>stazione di benzina</item>
<item>campo da golf</item>
<item>negozio alimentari</item>
<item>parrucchiere</item>
<item>porto</item>
<item>sentiero</item>
<item>hotel</item>
<item>casa</item>
<item>informazioni</item>
<item>incrocio</item>
<item>casella per le lettere</item>
<item>mercato</item>
<item>luogo d\'incontro</item>
<item>opera</item>
<item>parcheggio</item>
<item>ufficio postale</item>
<item>buca in strada</item>
<item>stazione di polizia</item>
<item>incrocio ferroviario</item>
<item>ristorante</item>
<item>shopping</item>
<item>panorama</item>
<item>negozio</item>
<item>piscina</item>
<item>telefono</item>
<item>teatro</item>
<item>WC</item>
<item>informazioni turistiche</item>
<item>tunnel</item>
<item>albero</item>
<item>cascata</item>
<item>fontana</item>
<item>punto di passaggio</item>
</array>
</resources>
-382
View File
@@ -1,382 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<string name="app_name">My Tracks</string>
<!-- Used by the Menu -->
<string name="start_recording">Registra percorso</string>
<string name="stop_recording">Fine registrazione</string>
<string name="switch_to_sat">Satellite</string>
<string name="switch_to_map">Mappa</string>
<string name="mylocation">Posizione corrente</string>
<string name="list_tracks">Percorsi</string>
<string name="list_markers">Segnaposti</string>
<string name="delete_all_tracks">Elimina tutti i percorsi</string>
<string name="settings">Impostazioni</string>
<string name="elevation">Altitudine</string>
<string name="choose_track_message">Scegli il percorso da visualizzare</string>
<string name="current_track">Percorso corrente</string>
<string name="current_segment">Ultimo segmento</string>
<!-- Error messages -->
<string name="error_no_location_manager">Nessuna fonte di posizione trovata su questo dispositivo.</string>
<string name="error_no_gps_location_provider">Nessuna fonte di posizione GPS trovata su questo dispositivo.</string>
<string name="error_sending_to_mymap">Si è verificato un errore nell\'invio del percorso a «Le mie mappe». Per favore riprova più tardi.</string>
<string name="error_sending_to_docs">Si è verificato un errore nell\'invio del percorso a Google Docs. Per favore riporva più tardi.</string>
<string name="error_unable_to_start_recording">Impossibile iniziare la registrazione. Riprova.</string>
<string name="error_unable_to_stop_recording">Impossibile fermare la registrazione. Riprova.</string>
<string name="error_unable_to_read_file">Impossibile leggere da un file.</string>
<string name="error_invalid_gpx_format">Il file non contiene dati validi in formato GPX.</string>
<string name="error_generic">Si è verificato un errore. Per favore riprova.</string>
<string name="error_track_does_not_exist">Il percorso non esiste.</string>
<string name="error_out_of_memory">Il file è troppo grande (dev\'essere meno di 500 KB). Azione abbandonata.</string>
<string name="error_unable_to_insert_marker">Impossibile inserire il segnaposto. La posizione corrente non è disponibile.</string>
<!-- Status messages -->
<string name="wait_for_fix">Sto aspettando il fix del GPS. Accertati che il cielo sia visibile.</string>
<string name="status_now_recording">Sto registrando un nuovo percorso.</string>
<string name="status_stopped_recording">Registrazione del percorso terminata.</string>
<string name="status_new_mymap_has_been_created">Una nuova mappa è stata creata in «Le mie mappe» su maps.google.com.</string>
<string name="status_tracks_have_been_uploaded">Il tuo percorso è stato inviato a maps.google.com.</string>
<string name="status_tracks_have_been_uploaded_to_new_doc">Il tuo percorso è stato inviato ad un nuovo foglio di calcolo su docs.google.com.</string>
<string name="status_tracks_have_been_uploaded_to_docs">Il tuo percorso è stato inviato a docs.google.com.</string>
<string name="status_mymap_info">Potrebbe essere necessario aspettare qualche minuto prima che i nuovi percorsi siano visibili.</string>
<string name="status_enable_gps">Premi qui per andare a «Impostazioni di posizione e protezione» e attiva «Utilizza satelliti GPS». Poi premi il tasto di ritorno per tornare qui.</string>
<string name="status_approximate_location">Nota: la posizione indicata è un\'approssimazione determinata in base alle antenne cellulari e reti WIFI vicine.</string>
<string name="status_no_location">La posizione non può essere determinata. Attiva più fonti di posizione (vedi «Impostazioni di posizione e protezione») e eccertati che il cielo sia visibile. Riprova più tardi.</string>
<string name="status_waypoint_inserted">Inserito un punto di passaggio.</string>
<string name="status_statistics_inserted">Inserito un segnaposto con statistiche.</string>
<!-- Progress dialog -->
<string name="progress_title">Attendi per favore...</string>
<string name="progress_message">Invio del percorso a Google in corso.</string>
<string name="progress_message_reading_track">Lettura in corso...</string>
<string name="progress_message_preparing_track">Elaborazione del percorso in corso...</string>
<string name="progress_message_authenticating_mymaps">Autenticazione a Google Maps in corso...</string>
<string name="progress_message_authenticating_docs">Autenticazione a Google Docs in corso...</string>
<string name="progress_message_sending_docs">Invio del percorso a Google Docs in corso...</string>
<string name="progress_message_sending_mymaps">Invio del percorso a Google Maps in corso...</string>
<string name="progress_message_creating_map">Creazione di una nuova mappa in «Le mie mappe» in corso...</string>
<string name="import_progress_message">Importazione del percorso GPS in corso. Attendere prego...</string>
<string name="write_progress_message">Salvataggio del file sulla scheda SD in corso. Attendere prego...</string>
<string name="progress_message_updating_track">Aggiornamento delle statistiche del percorso in corso...</string>
<!-- Used by DeleteAllDataHandler -->
<string name="are_you_sure_question">Sei sicuro?</string>
<string name="all_data_will_be_permanently_deleted">Tutti i percorsi e segnaposti saranno eliminati definitivamente da questo telefono.</string>
<string name="track_will_be_permanently_deleted">Il percorso e i suoi segnaposti saranno eliminati definitivamente da questo telefono.</string>
<string name="marker_will_be_permanently_deleted">Il segnaposto sarà eliminato definitivamente da questo telefono.</string>
<!-- Text and links when uploading to Google My Maps -->
<string name="new_map_description">Creato da My Tracks su Android.</string>
<string name="my_map_link">Creato da &lt;a href=\'http://mytracks.appspot.com\'&gt;My Tracks&lt;/a&gt; su Android.</string>
<string name="new_map_title">Nuova mappa</string>
<!-- Formatting of track and marker descriptions -->
<string name="points">Punti</string>
<string name="recorded_date">Registrato</string>
<string name="category">Tipo di attività</string>
<string name="waypoint_category">Tipo di segnaposto</string>
<string name="part">(Parte %d)</string>
<!-- Used by the track recording service -->
<string name="recording_your_track">Registrazione del percorso in corso...</string>
<string name="new_track">Percorso %d</string>
<!-- Common -->
<string name="no">No</string>
<string name="yes">Sì</string>
<string name="ok">OK</string>
<string name="error">Errore</string>
<string name="success">Successo</string>
<string name="waypoint">Punto di passaggio</string>
<!-- Placemark labels for start and end of track -->
<string name="start">(Inizio)</string>
<string name="end">(Fine)</string>
<!-- TrackList -->
<string name="tracklist_show_track">Mostra</string>
<string name="tracklist_send_to_mymaps">Invia a «Le mie mappe» di Google</string>
<string name="tracklist_send_to_new_mymap">Invia a nuova mappa in «Le mie mappe» di Google</string>
<string name="tracklist_send_to_docs">Invia a Google Docs</string>
<string name="tracklist_send_to_google">Invia a Google...</string>
<string name="tracklist_delete_track">Elimina dal telefono...</string>
<string name="tracklist_edit_track">Modifica dettagli</string>
<string name="tracklist_write_to_sd">Salva su scheda SD...</string>
<string name="tracklist_save_as_gpx">Salva in un file GPX</string>
<string name="tracklist_save_as_kml">Salva in un file KML</string>
<string name="tracklist_btn_send_all_to_mymaps">Invia a «Le mie mappe» di Google</string>
<string name="tracklist_btn_delete_all">Elimina tutti i percorsi</string>
<!-- Export All -->
<string name="tracklist_btn_export_all">Esporta tutti i percorsi</string>
<string name="export_done">Esportazione terminata.</string>
<string name="tracklist_pick_one">Scegli un percorso. Tieni premuto per più opzioni.</string>
<string name="tracklist_all_tracks">Tutti i percorsi:</string>
<string name="tracklist_this_track">Questo percorso</string>
<string name="tracklist_share_track">Condividi con amici...</string>
<string name="tracklist_share_link">Un link alla mappa in «Le mie mappe» di Google</string>
<string name="tracklist_share_gpx_file">Un file GPX</string>
<string name="tracklist_share_kml_file">Un file KML</string>
<string name="tracklist_clear_map">Cancella la mappa</string>
<!-- Waypoints list -->
<string name="waypointslist_btn_delete_all">Elimina tutti i segnaposti</string>
<string name="waypointslist_this_waypoint">Questo segnaposto</string>
<string name="waypointslist_delete_waypoint">Elimina</string>
<string name="waypointslist_edit_waypoint">Modifica dettagli</string>
<string name="waypointslist_show_waypoint">Mostra sulla mappa</string>
<string name="waypointslist_btn_insert_waypoint">Inserisci punto di passaggio</string>
<string name="waypointslist_btn_insert_statistics">Inserisci statistiche</string>
<string name="waypointslist_pick_one">Scegli un segnaposto. Tieni premuto per più opzioni.</string>
<!-- MyTracks Details -->
<string name="trackdetails_title">Dettagli del percorso</string>
<string name="trackdetails_name">Nome del percorso</string>
<string name="trackdetails_description">Descrizione del percorso</string>
<string name="trackdetails_category">Tipo di attività (ad es. escursionismo, ciclismo, corsa, arrampicata...)</string>
<!-- MyTracks Waypoint Details -->
<string name="waypointdetails_title">Dettagli sul segnaposto</string>
<string name="waypointdetails_name">Nome del segnaposto</string>
<string name="waypointdetails_description">Descrizione del segnaposto</string>
<string name="waypointdetails_category">Tipo di segnaposto (ad es. edificio, buca, vista...)</string>
<!-- MyTracks Settings -->
<string name="mytracks_settings">Impostazioni di My Tracks</string>
<string name="settings_display">Visualizzazione</string>
<string name="settings_recording">Registrazione</string>
<string name="settings_sharing">Condivisione</string>
<string name="settings_announcement_frequency">Intervallo fra due annunci:</string>
<string name="settings_announcement_frequency_summary">Tempo minimo fra due annunci audio</string>
<string name="settings_announcement_not_available_summary">Gli annunci audio non sono disponibili in questa varsione di Android</string>
<string name="settings_min_recording_distance">Distanza minima fra due punti successivi:</string>
<string name="settings_min_recording_distance_summary">Distanza minima fra due successive registrazioni della posizione</string>
<string name="settings_max_recording_distance">Inizia un nuovo segmento se i punti sono più distanti di:</string>
<string name="settings_max_recording_distance_summary">Se due punti sono più lontani di così, il percorso sarà diviso percorsi più brevi</string>
<string name="settings_min_recording_interval">Frequenza di registrazione:</string>
<string name="settings_min_recording_interval_summary">Tempo minimo fra due successive registrazioni della posizione</string>
<string name="settings_min_required_accuracy">Fai una pausa nella registrazione se l\'accuratezza scende al disotto di:</string>
<string name="settings_min_required_accuracy_summary">La registrazione verrà temporaneamente interrotta se l\'accuratezza della posizione è meno di questo valore</string>
<string name="settings_metric_units">Mostra le distanze nel sistema metrico decimale</string>
<string name="settings_metric_units_summary_on">Tutte le distanze verranno mostrate nel sistema metrico decimale</string>
<string name="settings_metric_units_summary_off">Tutte le distanze saranno mostrate nel sistema imperiale</string>
<string name="settings_map_public">Rendi pubbliche le mappe su maps.google.com</string>
<string name="settings_map_public_summary_on">Le mappe inviate a maps.google.com saranno visibili a chiunque</string>
<string name="settings_map_public_summary_off">Le mappe inviate a maps.google.com non saranno rese pubbliche</string>
<string name="settings_report_speed_or_pace">Mostra:</string>
<string name="settings_report_speed_or_pace_summary_on">Mostrerà la velocità</string>
<string name="settings_report_speed_or_pace_summary_off">Mostrerà l\'andatura</string>
<string name="settings_share_url_only">Invia solo l\'URL nei messaggi di condivisione</string>
<string name="settings_share_url_only_summary_on">Solo l\'URL della mappa sarà inviata quando condividi un percorso</string>
<string name="settings_share_url_only_summary_off">Anche il contenuto del percorso sarà inviato quando condividi un persorso</string>
<string name="settings_signal_sampling_frequency">Frequenza di campionamento</string>
<string name="settings_signal_sampling_frequency_summary">Tempo fra due registrazioni della qualità del segnale cellulare</string>
<string name="settings_split_frequency">Frequenza di divisione</string>
<string name="settings_split_frequency_summary">Tempo o distanza massima dopo di cui il percorso verrà diviso</string>
<string name="pace_label">Andatura</string>
<!-- MyTracksSky -->
<string name="mytracks_sky">Satelliti GPS</string>
<!-- My Maps -->
<string name="select_map_message">Scegli una mappa dal tuo account:</string>
<string name="create_new_map">Crea una nuova mappa...</string>
<string name="map_list_title">Invia a «Le mie mappe» di Google</string>
<string name="maps_list_loading">Caricamento mappe in corso...</string>
<string name="maps_list_failed">Le tue mappe non possono momentaneamente essere caricate!</string>
<string name="open_map">Scegli questa mappa</string>
<string name="edit_map_details">Modifica dettagli della mappa</string>
<string name="share_map">Condividi la mappa con amici</string>
<string name="share_track">Condividi il percorso con amici</string>
<string name="delete_map">Elimina la mappa dal tuo account</string>
<string name="map_title">Titolo della mappa:</string>
<string name="map_description">Descrizione della mappa:</string>
<string name="map_searchable_edit">Rendi questa mappa e il suo contenuto visibili fra i risultati di ricerche</string>
<string name="map_not_searchable_edit">Rendi questa mappa e il suo contenuto invisibili fra i risultati di ricerche. Resteranno comunque visibili ad altri utilizzando l\'indirizzo URL esatto</string>
<string name="map_searchable">Questa mappa e il suo contenuto saranno visibili fra i risultati di ricerche</string>
<string name="map_not_searchable">Né questa mappa né il suo contenuto saranno visibili in risultati di ricerche, ma saranno comunque visibili ad altri tramite un link diretto.</string>
<string name="close">Chiudi</string>
<string name="edit">Modifica</string>
<string name="cancel">Annulla</string>
<string name="save">Salva</string>
<!-- Sharing -->
<string name="share_map_subject">Vorrei condividere una mappa con te</string>
<string name="share_map_body_format">Credo che questa mappa potrebbe interessarti:
%s</string>
<string name="send_track_subject">Vorrei condividere un percorso con te</string>
<string name="send_track_body_format">Credo che questo percorso potrebbe interessarti.
Per vedere questo percorso, usa Google Earth o un altro software di cartografia.</string>
<!-- Visibility -->
<string name="public_map">Pubblica</string>
<string name="unlisted_map">Privata</string>
<string name="mapslist_no_maps_available">Non hai ancora alcuna mappa.</string>
<!-- Statistics View -->
<!-- Average Moving -->
<string name="average_moving_speed_label">Velocità media in moto</string>
<string name="average_moving_pace_label">Andatura media in moto</string>
<!-- Average -->
<string name="average_speed_label">Velocità media</string>
<string name="average_pace_label">Andatura media</string>
<string name="elevation_chart_name">Grafico dell\'Altitudine</string>
<string name="elevation_gain_label">Dislivello</string>
<string name="elevation_label">Altitudine</string>
<string name="latitude_label">Latitudine</string>
<string name="longitude_label">Longitudine</string>
<!-- Min -->
<string name="min_elevation_label">Altitudine min</string>
<string name="min_grade_label">Inclinazione min</string>
<string name="min_pace_label">Andatura min</string>
<!-- Max -->
<string name="max_elevation_label">Altitudine max</string>
<string name="max_grade_label">Inclinazione max</string>
<string name="max_speed_label">Velocità max</string>
<string name="loading_track">Caricamento percorso in corso...</string>
<!-- Chart Settings -->
<string name="chart_settings">Impostazioni grafico</string>
<!-- X Axis -->
<string name="x_axis">Asse X</string>
<string name="by_distance">Distanza</string>
<string name="by_time">Tempo</string>
<!-- Y Axis -->
<string name="y_axis">Asse Y</string>
<!-- Units -->
<!-- Time -->
<string name="hour">ora</string>
<string name="hours">ore</string>
<string name="hr">h</string>
<string name="min">min</string>
<string name="minute">minuto</string>
<string name="minutes">minuti</string>
<string name="second">secondo</string>
<string name="seconds">secondi</string>
<!-- Distance -->
<string name="meter">m</string>
<string name="kilometer">km</string>
<string name="kilometers_long">chilometri</string>
<string name="feet">pd</string>
<string name="mile">mi</string>
<string name="miles_long">miglia</string>
<!-- Speed and Pace -->
<string name="kilometer_per_hour">km/h</string>
<string name="kilometer_per_hour_long">chilometri orari</string>
<string name="min_per_kilometer">min/km</string>
<string name="per_kilometer">per chilometro</string>
<string name="mile_per_hour">mi/h</string>
<string name="mile_per_hour_long">miglia orarie</string>
<string name="min_per_mile">min/mi</string>
<string name="per_mile">per miglio</string>
<!-- Stats Labels -->
<string name="moving_time_label">Durata in moto</string>
<string name="total_time_label">Durata totale</string>
<string name="time_label">Durata</string>
<string name="sd_unavail">Scheda SD non disponibile</string>
<string name="speed">Velocità</string>
<string name="start_trip">Devi prima iniziare un percorso.</string>
<string name="statistics">Statistiche</string>
<string name="total_distance_label">Distanza totale</string>
<string name="distance_label">Distanza</string>
<string name="unknown">-</string>
<string name="waiting">Attendere...</string>
<!-- End User License Agreement -->
<string name="eula_title">Termini di servizio</string>
<string name="accept">Accetto</string>
<string name="decline">Non accetto</string>
<!-- About -->
<string name="about">Informazioni</string>
<string name="help">Aiuto</string>
<string name="about_email">Supporto</string>
<string name="about_team">Team:</string>
<string name="about_version">Versione:</string>
<string name="about_support">Supporto:</string>
<!-- Send to Google -->
<string name="sendtogoogle_title">Invia a...</string>
<string name="sendtogoogle_google_mymaps">«Le mie mappe» di Google</string>
<string name="sendtogoogle_google_docs">Google Docs</string>
<string name="sendtogoogle_send_now">Invia adesso</string>
<string name="sendtogoogle_create_new_map">Crea una nuova mappa</string>
<string name="sendtogoogle_pick_existing_map">Scegli una mappa esistente</string>
<string name="sendtogoogle_send_stats">Invia statistiche del percorso</string>
<string name="sendtogoogle_send_stats_and_points">Invia statistiche e segnaposti</string>
<!-- Getting the account to upload to. -->
<string name="no_account_found_title">Account non trovato</string>
<string name="no_account_found">Non ho trovato un account a cui inviare i percorsi.</string>
<string name="choose_account_title">Scegli un account</string>
<!-- SD card -->
<string name="io_no_external_storage_found">Nessuna memoria esterna trovata. Assicurati che la scheda SD sia inserita e che il telefono no sia montato su un computer.</string>
<string name="io_write_failed">Impossibile scrivere su file.</string>
<string name="io_create_dir_failed">Impossibile creare directory sulla scheda SD.</string>
<string name="io_write_finished">Finito di salvare il percorso sulla scheda SD.</string>
<!-- VersionChecker -->
<string name="version_check_title">Controlla aggiornamenti</string>
<string name="version_check_upgrade_button">Aggiorna adesso</string>
<string name="version_check_continue_button">Continua senza aggiornare</string>
<string name="upgrade_required">La tua versione di %1$s potrebbe non funzionare più correttamente e non è più supportata. Per favore installa l\'aggiornamento in modo da poter continuare a usare %1$s.</string>
<string name="upgrade_recommended">La tua versione di %1$s potrebbe non funzionare più correttamente e non è più supportata. Puoi installare l\'aggiornamento adesso oppure continuare a usare %1$s a tuo rischio. Alcune funzionalità, ad es. la sincronizzazione con i server, potrebbero non funzionare senza l\'aggiornamento.</string>
<string name="upgrade_available">Una nuova versione di %1$s è disponibile. Puoi continuare a usare la versione corrente senza problemi, ma non avrai le ultime funzionalità finché non installi l\'aggiornamento.</string>
<!-- Welcome -->
<string name="welcome">Benvenuto</string>
<string name="welcome_read_later">OK</string>
<string name="welcome_about">Informazioni su My Tracks</string>
<!-- Announcement -->
<string name="announce_no_distance">Mai Tracks Distanza non disponibile</string>
<!-- Format:
$1 : Distance label
$2 : Distance value (5)
$3 : Distance units (mi, km)
$4 : Time description (10 minutes 5 seconds)
$5 : Speed value (5.6) : Pace value (5 minutes 6 seconds)
$6 : Speed units (mph) : Pace units (per mile)
-->
<string name="announce_template">Mai Tracks %1$s %2$.2f %3$s in %4$s a %5$s %6$s</string>
</resources>
-282
View File
@@ -1,282 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<!-- Task frequency -->
<string-array name="task_frequency_options">
<item>不使用</item>
<item>1 分</item>
<item>2 分</item>
<item>5 分</item>
<item>10 分</item>
<item>15 分</item>
<item>30 分</item>
<item>60 分</item>
</string-array>
<!-- Minimum recording distance -->
<string-array name="min_recording_distance_options">
<item>1 m</item>
<item>2 m</item>
<item>3 m</item>
<item>4 m</item>
<item>5 m (推奨)</item>
<item>10 m</item>
<item>100 m</item>
</string-array>
<string-array name="min_recording_distance_options_ft">
<item>3 ft</item>
<item>6 ft</item>
<item>10 ft</item>
<item>13 ft</item>
<item>16 ft (推奨)</item>
<item>33 ft</item>
<item>328 ft</item>
</string-array>
<!-- Maximum recording distance -->
<string-array name="max_recording_distance_options">
<item>50 m</item>
<item>100 m</item>
<item>200 m (推奨)</item>
<item>500 m</item>
<item>1000 m</item>
<item>5000 m</item>
</string-array>
<string-array name="max_recording_distance_options_ft">
<item>164 ft</item>
<item>328 ft</item>
<item>656 ft (推奨)</item>
<item>1640 ft</item>
<item>0.6 mi</item>
<item>3.1 mi</item>
</string-array>
<!-- Minimum recording interval -->
<string-array name="min_recording_interval_options">
<item>電源節約 (動的制御)</item>
<item>高精度 (動的制御)</item>
<item>最高 (推奨)</item>
<item>2 秒</item>
<item>3 秒</item>
<item>4 秒</item>
<item>5 秒</item>
<item>10 秒</item>
<item>20 秒</item>
<item>30 秒</item>
<item>1 分</item>
<item>2 分</item>
<item>5 分</item>
<item>10 分</item>
<item>15 分</item>
<item>30 分</item>
</string-array>
<!-- Minimum required accuracy -->
<string-array name="min_required_accuracy_options">
<item>10 m (GPS信号強度良好)</item>
<item>20 m</item>
<item>50 m</item>
<item>100 m</item>
<item>200 m (推奨)</item>
<item>500 m</item>
<item>1000 m</item>
<item>2000 m</item>
<item>5000 m (GPS信号強度不良)</item>
</string-array>
<string-array name="min_required_accuracy_options_ft">
<item>33 ft (GPS信号強度良好)</item>
<item>66 ft</item>
<item>165 ft</item>
<item>328 ft</item>
<item>656 ft (推奨)</item>
<item>1640 ft</item>
<item>0.6 mi</item>
<item>1.2 mi</item>
<item>3.1 mi (GPS信号強度不良)</item>
</string-array>
<!-- Split frequency -->
<string-array name="split_frequency_options">
<item>分割なし</item>
<item>100 km</item>
<item>50 km</item>
<item>25 km</item>
<item>10 km</item>
<item>5 km</item>
<item>1 km</item>
<item>60 分</item>
<item>30 分</item>
<item>15 分</item>
<item>10 分</item>
<item>5 分</item>
<item>2 分</item>
<item>1 分</item>
</string-array>
<string-array name="split_frequency_options_ft">
<item>分割なし</item>
<item>100 mi</item>
<item>50 mi</item>
<item>25 mi</item>
<item>10 mi</item>
<item>5 mi</item>
<item>1 mi</item>
<item>60 分</item>
<item>30 分</item>
<item>15 分</item>
<item>10 分</item>
<item>5 分</item>
<item>2 分</item>
<item>1 分</item>
</string-array>
<!-- Other non-preference arrays -->
<array name="activity_types">
<item>不明</item>
<item>混合タイプ</item>
<item>その他</item>
<item>実行中</item>
<item>市街地ランニング</item>
<item>トラックランニング</item>
<item>山道ランニング</item>
<item>徒歩</item>
<item>早歩き</item>
<item>ハイキング</item>
<item>山道ハイキング</item>
<item>原野ハイキング</item>
<item>登山</item>
<item>サイクリング</item>
<item>ロードバイク</item>
<item>マウンテンバイク</item>
<item>トラック自転車</item>
<item>スケート</item>
<item>インラインスケート</item>
<item>スケートボード</item>
<item>スノーシュー</item>
<item>スキー</item>
<item>スノーボード</item>
<item>ソリ</item>
<item>アイスセーリング</item>
<item>帆走</item>
<item>パドリング</item>
<item>カヤック</item>
<item>漕艇</item>
<item>モーターボート</item>
<item>フェリー</item>
<item>ラジコンボート</item>
<item>サーフィン</item>
<item>ウィンドサーフィン</item>
<item>カイトサーフィン</item>
<item>水上スキー</item>
<item>ウェークボード</item>
<item>飛行機</item>
<item>水上機</item>
<item>商用航空機</item>
<item>ヘリコプター</item>
<item>熱気球</item>
<item>飛行船</item>
<item>ラジコン飛行機</item>
<item>ラジコンヘリコプター</item>
<item>スカイダイビング</item>
<item>グライダー</item>
<item>ハンググライダー</item>
<item>パラグライダー</item>
<item>騎乗</item>
<item>乗馬</item>
<item>ロバ騎乗</item>
<item>自動車運転</item>
<item>バス運転</item>
<item>鉄道</item>
<item>オートバイ</item>
<item>オフロードバイク</item>
<item>四輪バギー</item>
<item>ランドセーリング</item>
<item>フリスビー</item>
<item>アルティメットフリスビー</item>
</array>
<array name="waypoint_types">
<item>ATM</item>
<item>銀行</item>
<item>飲み屋</item>
<item>バーベキュー</item>
<item>建物</item>
<item>バス停</item>
<item>カフェ</item>
<item>キャンプファイアー</item>
<item>キャンプ場</item>
<item>教会</item>
<item>コーヒーハウス</item>
<item>コンビニ</item>
<item>水飲み場</item>
<item>がけ崩れ</item>
<item>フェリー</item>
<item>火事場</item>
<item>消防署</item>
<item>釣り場</item>
<item>ガソリンスタンド</item>
<item>ゴルフ場</item>
<item>雑貨店</item>
<item>美容室</item>
<item>散髪屋</item>
<item>ハイキング道</item>
<item>ホテル</item>
<item>家</item>
<item>情報</item>
<item>交差</item>
<item>メールボックス</item>
<item>市場</item>
<item>集合場所</item>
<item>歌劇場</item>
<item>駐車場</item>
<item>郵便局</item>
<item>洞穴</item>
<item>警察署</item>
<item>踏切</item>
<item>レストラン</item>
<item>ショッピング</item>
<item>名所</item>
<item>店</item>
<item>プール</item>
<item>電話</item>
<item>劇場</item>
<item>トイレ</item>
<item>観光案内</item>
<item>トンネル</item>
<item>樹木</item>
<item>滝</item>
<item>噴水</item>
<item>ウェイポイント</item>
</array>
</resources>

Some files were not shown because too many files have changed in this diff Show More