Commit graph

192 commits

Author SHA1 Message Date
Marco Bresciani
9902060d7b Add BoundingBox calculation
The BoundingBox is computed using all existing Waypoints of a Track and
returning the box through a collection of GeoPoints. The box might be
used to autofit the map of a saved Track.

See issue #60.
2019-08-12 10:00:02 +02:00
y20k
6f4aa0b22e Icon now has a red background (#54), Trackbook does not need the permission EXTERNAL STORAGE anymore, Night mode has now a dark map 2019-05-04 17:10:32 +02:00
y20k
ceda1a3167 null check for target fragment in dialog 2019-03-19 08:39:48 +01:00
y20k
dbdfef7b21 null check for target fragment in dialog 2019-03-19 08:37:28 +01:00
y20k
468e0c7ca8 fixed timestamps in gpx export 2019-03-14 22:36:13 +01:00
y20k
26663f2cd4 added changelogs 2019-03-06 13:46:01 +01:00
y20k
5deec619a8 further trimming of the strings.mxl files 2019-03-05 17:40:13 +01:00
y20k
d7b61ac113 changed default location (if the system does not yet have a location fix) 2019-01-14 18:46:38 +01:00
y20k
2750533e5c adjusted the secret night mode switch behavior 2019-01-02 15:37:56 +01:00
y20k
705d38651e updated copyright info (hello 2019) 2019-01-02 10:06:50 +01:00
y20k
df8e5ef0fd null check on vibration invocation & track size check 2018-11-28 09:21:10 +01:00
y20k
ba0f97c2db fixes a crash when a user pressed the my location button directly after a recording has been started 2018-11-10 20:52:36 +01:00
y20k
a2c48a8cc3 some clean-up (after the rollbackrollbackmess) 2018-11-05 20:06:09 +01:00
y20k
67eee7f053 rolling back the rollback (see last commit) - maybe found the culprit "-dontshrink" (see #44) 2018-11-04 10:13:19 +01:00
y20k
9985e9f7a4 rollback to code base of "versionCode = 26" because "versionCode = 27" caused problems - see #44 2018-11-04 09:36:52 +01:00
y20k
f746887e61 record button was showing up on last tracks screen (fixes this hopefully) 2018-10-06 00:22:09 +02:00
y20k
5c49b7002a Workaround for broken recording button (see #43) 2018-09-26 16:01:24 +02:00
y20k
163ea4959f use show/hide for fab instead of setVisibility 2018-09-20 11:08:40 +02:00
y20k
27508ce8cc fixes a crash when resuming a track with zero (or one) waypoint(s) 2018-09-18 13:01:00 +02:00
y20k
9e08446436 prevents a crash caused by unwanted files in the tracks-directory (see #21) 2018-09-18 11:51:00 +02:00
y20k
28e75ecf66 ask user what to do with an empty recording (see #21) 2018-09-18 11:39:11 +02:00
y20k
2f39017b76 addresses a crash when trying to save an empty recording (see #21) 2018-09-17 20:07:33 +02:00
y20k
b44e39667a showing a preliminary location if recording started with an old / imprecise location fix) 2018-09-05 17:35:01 +02:00
y20k
b448bb7f2d dropping waypoints that are (1) not current (older than two minutes) and that are (2) not accurate (probably more than 50 meters off) 2018-09-05 11:57:04 +02:00
y20k
4f34172a9f Putting some dialog strings in strings.xml 2018-06-27 09:24:36 +02:00
Andrew Manning
01b1f0ce45
Update WayPoint.java
Minor typo correction.
2018-05-29 21:35:09 -04:00
y20k
ecc39a2502 implements save to in share sheet (see #37) 2018-05-29 20:00:11 +02:00
y20k
9f8e932b5a implemented a basic share sheet (see #36) 2018-05-28 17:56:38 +02:00
y20k
3c5be28ded fixes #35 ("App crashes on clicking Resume and Clear options simultaneously") - plus: some clean-up 2018-05-23 11:32:30 +02:00
y20k
eda489e428 Trackbook now displays kilometer (or miles) if a distance is longer than 1 km (or 1 mi). Plus: added a unit-switch for Great Britain (see #12) 2018-05-14 17:43:34 +02:00
y20k
6af7859937 unit switch tap gesture only for imperial unit devices 2018-04-30 17:02:53 +02:00
y20k
dec46976b1 made length display a bit prettier and tap and hold gesture more consistent 2018-04-27 18:28:03 +02:00
y20k
a5292bfc0f display opposite length unit (feet <-> meter) on touch and hold gesture (see #12) 2018-04-26 14:48:53 +02:00
y20k
69d902eb49 second try: moved metric/imperial conversion to its own helper class 2018-04-25 22:58:59 +02:00
y20k
9e3f2b6e67 rolling back code that enabled unit-changing - that caused problems 2018-04-24 15:11:56 +02:00
y20k
31afd893e4 moved metric/imperial conversion to its own helper class 2018-04-23 18:27:58 +02:00
y20k
1b249fb05e checks if file ends with .trackbook 2018-04-19 22:07:18 +02:00
y20k
962275f04b Trackbook tries to restart recording after it has been killed the operating system 2018-04-16 17:00:27 +02:00
y20k
ca8ad1febf clean-up 2018-04-11 15:12:31 +02:00
y20k
71a8d4c950 squashed some bugs in the resume feature 2018-04-10 17:45:43 +02:00
y20k
dd13d1f462 re-worked the resume functionality 2018-04-09 17:07:19 +02:00
y20k
8264a2b2af tracker service is now a so-called bound service 2018-04-06 18:14:34 +02:00
y20k
39a4cbbe41 service can resume a recording (see #33) 2018-03-21 15:18:40 +01:00
y20k
be849ef95a reactivated resume buttons again 2018-03-20 20:43:00 +01:00
y20k
eb5a89b398 temporarily deactivate resume buttons 2018-03-20 19:56:00 +01:00
y20k
4e4c6ae2bd notification can resume tracking 2018-03-20 15:15:57 +01:00
y20k
b737408090 implemented basic resume functionlity (see #33) - needs testing 2018-03-16 16:34:13 +01:00
y20k
77479aa60d changed the resume button position 2018-03-15 13:28:52 +01:00
y20k
e34187bb78 clean-up 2018-03-10 22:32:14 +01:00
y20k
2cdfc78d9f black status bar problems were back after last commit - now fixed again 2018-02-23 20:17:41 +01:00
y20k
aa8f9e2f2d simplifies the initial theme setting (no need for "recreate()") 2018-02-23 13:16:26 +01:00
y20k
fd8dad3c74 state of night mode is now remebered corrextly 2018-02-22 12:53:40 +01:00
y20k
50a21bf4ec secret night mode switch 2018-02-21 11:47:09 +01:00
y20k
61acda4e1e prevents a crash that occured when system location settings where off (see #32) & shiny new owmdroid library, YAY! 2018-02-19 09:00:47 +01:00
y20k
c6b85b5a34 clean up 2018-02-07 15:00:34 +01:00
y20k
03d5513df6 Elevation now visible in statistics sheet - works for new tracks only (see #28) 2018-02-06 17:10:36 +01:00
y20k
ed0d53e336 Calculate elevation - just a test right now (see #28) 2018-01-29 16:49:13 +01:00
y20k
ca0b9017d9 assign UTC to GPX time stamps (see #31) 2018-01-29 10:35:44 +01:00
y20k
6fbbd325c0 #facepalm I confused minus with plus - incorrect and negative(!) step counts were possible 2018-01-22 18:50:06 +01:00
y20k
1584eac152 keep step count when restarting trackerservice (see #29) 2018-01-22 15:17:33 +01:00
y20k
adc68605a4 saving the duration in shared preferences introduced problems - now using duration within track object (see #29) 2018-01-21 22:54:34 +01:00
y20k
707c02a092 making trackerservice resumable (see #29) 2018-01-21 22:28:32 +01:00
y20k
db1e70c370 cleaning up 2018-01-16 14:27:50 +01:00
y20k
fc8371999a correct handling of bottom navigation state 2018-01-15 16:50:09 +01:00
y20k
d6e112b417 fragnents are stored in an adater again + updated copyright 2018-01-12 17:42:47 +01:00
y20k
3bf409dbbf some finishing tablet adaptations + constraint layout - yay 2017-12-19 16:52:01 +01:00
y20k
5d1e00a706 minimal change to style/behavior of statistics sheet 2017-12-18 17:10:55 +01:00
y20k
b5a47814b5 changed capitalization style in translations 2017-11-29 21:45:50 +01:00
y20k
ca887bdb21 ui refresh - part 1 2017-11-28 22:02:45 +01:00
y20k
179a3f8558 changed the statistics icon to a more space saving one + some clean-up 2017-10-16 10:20:59 +02:00
y20k
4025bbf0f5 addresses issue #22: Why Steps Taken is -1? / missing pedometer 2017-08-29 10:30:45 +02:00
y20k
6fa5666125 some clean-up 2 2017-08-21 13:43:48 +02:00
y20k
614d151dea some clean-up 2017-08-21 13:37:02 +02:00
y20k
3487792ada added ability to delete a recording 2017-08-21 11:48:17 +02:00
y20k
ae9b2d8fca some Android O-related fixes (location updates should continue to work - notification too) 2017-08-15 10:23:03 +02:00
y20k
7513450f05 fixes incorrect GPX export + cleaned up Italian version 2017-07-06 14:18:29 +02:00
y20k
16f9f0e3ab changed the GPX export/download button (see issue #17) & updated Target SDK to 26 (=> O) 2017-06-11 21:46:20 +02:00
y20k
576ea43c21 fixes a bug where the app could get stuck in a loop after a crash during recording (the latter should not occur in the first place ^o^). 2017-05-31 10:30:29 +02:00
y20k
a3a4796296 corrected dialog content 2017-05-22 14:42:09 +02:00
y20k
7f3979d4f4 increased touch target for GPX export button + smaller bug fixes. 2017-05-22 14:39:28 +02:00
y20k
9a14241915 got gpx export working - yay (#14) 2017-05-17 15:43:53 +02:00
y20k
8c06c8c3ae added "schemaLocation" 2017-04-03 17:04:29 +02:00
y20k
7b48e40c45 added a new helper class that converts a track into GPX - see issue #14 2017-04-03 16:30:37 +02:00
y20k
0eaaf55f75 Trackbook now asks for confirmation before clearing the map & max. limit of .trackbook files is now enforced 2017-02-21 13:29:04 +01:00
y20k
b0cbb6a1c7 updated version number to v1.0.1 & forgot to upload fragment_main_track_onboarding.xml 2017-02-17 11:26:21 +01:00
y20k
b6868298ee fixed dropdown behavior after new track has been recorded & introduced a simple onboardung (=first start) layout for the LAST TRACKS tab. 2017-02-17 09:58:37 +01:00
y20k
22df3abb24 track selection is now fully functional (#10) 2017-02-15 15:29:21 +01:00
y20k
911958a0af initial ui for the dropdown track selection (see #10) 2017-02-03 21:12:13 +01:00
y20k
df00311ff6 a lot of code clean-up 2017-01-25 14:19:50 +01:00
y20k
a2091c3687 display time of location fix when tapping the location marker (track view) (see #9) 2017-01-23 12:32:27 +01:00
y20k
56ee80b1b4 fixes a certain condition where start date equaled end date (#7) 2017-01-21 11:32:51 +01:00
y20k
cb56291dee The statistics sheet is now scrollable if necessary - for example in landscape view (see issue #8). On larger screen (e.g. tablets) the sheet now has maximum width 2017-01-20 13:34:37 +01:00
y20k
542660c0c5 (1) Updated copyright info (2017, yay) (2) moved the temp file loading process to a later stage (onResume) of the app start 2017-01-19 13:36:49 +01:00
y20k
0e94bdb9dd added an incremental version number to prevent issues in case the Track format evolves in the future 2017-01-18 10:44:16 +01:00
y20k
d38adb62d9 GSON now uses a unified date format to when converting dates to/from JSON 2017-01-18 09:58:04 +01:00
y20k
28e9fb7991 added some temporary logging to find the end-date-bug 2017-01-17 17:20:59 +01:00
y20k
34125d7184 the map now requests updated track recording from the background service as soon as it becomes visible. 2017-01-17 16:27:43 +01:00
y20k
6f7f58fa23 checks for mTrack == null in the method handling my location press - keeping better track of recording state 2017-01-17 13:35:19 +01:00
y20k
ce452905fe changed the way the fragments (= tab contents) are referenced from the frame ui (MainActivity) 2017-01-17 10:40:47 +01:00
y20k
ed0f0db464 Just a test: Trackbook with a transition between Tabs. 2017-01-16 17:57:57 +01:00