Commit graph

164 commits

Author SHA1 Message Date
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
y20k
93176e2a7a tries to prevent a crash in the custom ViewPager 2017-01-16 15:56:58 +01:00
y20k
6ddcf3ae67 prevents a bug where the previous track became visible again on the main map even though it was "cleared" 2017-01-11 21:52:45 +01:00
y20k
892d41a5b3 Found a (or the) duration bug (#5) <- duration was not parcelled correctly -- plus: fixed weird last track loading behavior 2017-01-10 15:57:03 +01:00
y20k
702a2ecd05 should fix #6 and possible also #5 (by adding a temp file) 2017-01-09 17:56:45 +01:00
y20k
d5b4d9b8c2 tabbed interface is now static (not swipeable anymore), removed a race condition between track save and load, fixed notification behavior, new osmdroid version (v5.6.1) 2016-12-19 17:53:20 +01:00
y20k
382b094b92 increased number of saved tracks to 25, keep track of button states, added some more accessibility element descriptions (#2) 2016-12-16 22:12:43 +01:00
y20k
f3909ec3a5 saving the last track: implemented a floating action button sub menu instead of a user dialog (#2) 2016-12-12 18:52:01 +01:00
y20k
c19cf469d3 changed layout and behavior of statistics sheet - plus: some accessibility descriptions 2016-12-05 17:52:18 +01:00
y20k
4905e4258d compileSdkVersion updated and tabbed interface - yay 2016-10-25 16:38:27 +02:00
y20k
c9e1f1c750 crash fix: GSON and Parcelable did not play well with Location Extras 2016-10-05 13:53:31 +02:00
y20k
a6dd91b348 clean-up 2016-10-04 11:11:13 +02:00
y20k
20cfc9067e tapping on "my location" while recording does not result in a crash anymore 2016-10-04 10:45:51 +02:00
y20k
83f674e590 added another special case to handle un-needed waypoints from network location provider 2016-09-30 17:33:57 +02:00
y20k
63d82be36c display a previously saved track in the last tracks tab (see #2) (work in progress) 2016-09-30 17:32:54 +02:00
y20k
b5f5db7949 implementation of track statistics as BottomSheet - added some missing Getters to Track object 2016-09-29 12:54:57 +02:00
y20k
f02addae4c trying to get rid of implausible locations delivered by the network provider 2016-09-28 14:57:06 +02:00
y20k
046228702a clearing the map now saves the track (2) -> does this using AsyncTask 2016-09-27 17:02:23 +02:00
y20k
e3793de0cc clearing the map now saves the track 2016-09-27 16:50:37 +02:00
y20k
e1b01091cb trackbook now asks the user before clearing the map 2016-09-27 16:08:45 +02:00
y20k
a38270d2c4 storage helper keeps the last ten tracks and deletes only files of type .trackbook 2016-09-27 16:07:33 +02:00
y20k
deed2f624d storage helper only keeps on track for now - old ones get deleted 2016-09-26 15:25:25 +02:00
y20k
4f1017ced9 clear map did not work properly after orientation change - treat network and gps locations differently 2016-09-26 14:43:01 +02:00
y20k
60a5ba5b5a catches a crash that could happen when a location fix was acquired too slow (see #3) 2016-09-26 13:43:26 +02:00
y20k
403cb3f134 StorageHelper can save Tracks as JSON to storage 2016-09-21 14:51:36 +02:00
y20k
80bae29e5c background service did only use gps - it now should use network too 2016-09-20 20:24:17 +02:00
y20k
82641439f5 turn off debug logs for release of 0.9.2 2016-09-20 13:53:44 +02:00
y20k
da82360625 some clean-up 2016-09-20 13:51:17 +02:00
y20k
3256d97bb6 Trackbook should now (more or less) gracefully handle changes to the Location setting in System Settings (#3). 2016-09-19 18:46:25 +02:00