1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-11 07:38:29 +02:00
Commit Graph

34 Commits

Author SHA1 Message Date
FYG_license_bot_ignore_me
4c7476845b Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
Arjan Schrijver
b6e252c4c1 Switch UI to Material 3 and support dynamic colors 2023-08-08 08:47:26 +00:00
José Rebelo
d1ae6cf225 Zepp OS: Implement workout fetching 2022-10-02 16:07:21 +02:00
José Rebelo
f7ecb5a867 Allow DeviceService to target a specific device 2022-08-05 21:34:15 +02:00
vanous
5c3c23ea50 Improve Sports Activities dashboard and Filter
- makes nicer dashboard, unify with design in Activity List
- dashboard is now part of the sports activities list (had to overcome
  some hurdles, because of the multiselect for sharing)
- add icons to Spinners in Sports Filter
2020-11-26 17:19:08 +01:00
vanous
f60ba212c6 Make Sports Activities list use Activity List style 2020-10-17 14:55:12 +02:00
vanous
874b510784 Add more features to ActivitySummariesFilter
Add possibility to pick individual SportsItem items into filtered view
Add quick time range selector
add deviceFilter for devices that supportsActivityTracks
add baseAltitude
add average speed, calculated from from distance/active time
make Activity Details layout scrollable
2020-09-05 20:22:04 +02:00
vanous
4c1208400e Ensure that Sports Activity Filter has correct first item. Make Sports Filter buttons follow default theme 2020-08-29 02:19:06 +02:00
vanous
723bd6fb6e Controllable backgroundColor to item view. Split lines Activity Kind and Activity Name Label to prevent overflow 2020-08-26 20:45:38 +02:00
vanous
9b30369a88 Add edit Sport Summary Name. Add filtering by this name. 2020-08-24 00:09:10 +02:00
vanous
b236a6af16 Add Activity Summary Statistics Drawer
Move SummaryStatistics JSON Summary to own place
2020-08-21 23:51:46 +02:00
vanous
03b45d1071 Add better Sport Activities Filering 2020-08-19 19:45:23 +02:00
vanous
ed5b4ac793 SwipingView of Sports Activity Detail (#1977)
Swipable view done

WIP. Basic POC.

Co-authored-by: vanous <petr@linuks.cz>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1977
2020-08-14 22:48:03 +02:00
vanous
f4bf457232 Add filter to Sports Activities 2020-08-12 07:36:53 +02:00
vanous
bce85beb21 Use localized names and dates. Pass only needed data between activities.
Better display view. Cleaning up.
Add km/h and calculate speed to it.
Special casing calc not per key but per unit
solved min/maxPace, localized several missing labels.
totalStride is Total strides in m. Fix missing start_label
2020-08-09 21:56:31 +02:00
vanous
7a46d39193 ActivityDetail with steps 2020-08-08 08:40:23 +02:00
License Bot
d6fa5d0dd5 Update license headers 2020-01-09 10:44:32 +01:00
Andreas Shimokawa
26165f9117 Amazfit Bip/Cor: Fix resetting of last fetched date for sports activities
For Mi Band 3/4 this does nothing, since the Mi Band seems to remove the activities from the Band immediately after fetching
2019-08-14 19:24:03 +02:00
License Bot
beedb653e6 Update license headers 2019-02-13 20:43:31 +01:00
Daniele Gobbetti
75d3dffb14 Migrate to androidx support libraries and bump compile SDK version
"Optimize imports" has been run on all source files, there might be
unrelated changes, but these should be harmless.
2019-01-26 16:00:56 +01:00
cpfeiffer
8aad6cd620 Avoid autoboxing, remove redundant cast 2018-09-15 23:51:51 +02:00
License Bot
225a600aed Update license headers 2018-06-25 18:35:46 +02:00
Daniele Gobbetti
fd664b9c67 Add proper mime type to shared gpx files
This prevents apps to show up in the intent chooser that do not know how
to deal with gpx files (e.g. Conversations)
2018-04-27 21:00:38 +02:00
Daniele Gobbetti
8f6d287592 Amazfit Bip: add option to reset the last fetched activity (timestamp)
Show a datepicker to reset the date after which the next activity will be fetched.
Also add .gpx extension to fetched activity track (if present) and make
the menu entries translatable.

Close #1057
2018-04-12 22:11:58 +02:00
Daniele Gobbetti
5af353d6dc Amazfit Bip: limit the activities to the currently selected device in Control Center
Also don't reverse the results, but sort in the query
2018-04-07 10:16:36 +02:00
Daniele Gobbetti
74dcec730c Amazfit Bip: implement deletion and select all actions
Also add white-on-black icons for all the actions
2018-04-05 22:41:03 +02:00
Daniele Gobbetti
80addd3454 Amazfit Bip: Add Contextual Action Bar and long press to select
Change metaphor from long-press-to-contextual-menu to long-press-to-select
The multiple deletion is not functional, the share menu works
2018-04-04 21:38:27 +02:00
Daniele Gobbetti
4f3a0be897 Amazfit Bip: add FloatingActionButton to initiate activities fetching
The swipe to refresh still works for the time being
2018-04-02 21:22:28 +02:00
Daniele Gobbetti
27caa08a1b Amazfit Bip: do not export GPX tracks if there is no point in the track
The approach ignores the activity types and only uses the presence of
valid lon/lan points in the track to create the GPX file or not.
2018-04-02 18:42:08 +02:00
Andreas Shimokawa
12ca479439 Amazfit Bip: Various improvements to GPS track fetching
- stop refreshing state of swipe layout and refresh list after fetching
- allow fetching when device gets connected while being inside the activity

(#952)
2018-04-02 10:15:26 +02:00
Andreas Shimokawa
29a05f1d8f refactor onFetchActivityData() into onFetchRecordedData(dataTypes) to make it more generic
This removes misuse of testNewFunctionality() and support fetching GPS data and debug logs
Fetching debug logs (Amazfit Bip/Cor) is now accessible in the debug activity
Fetching GPS data can be done by swiping in the list activity.
TODO: actually refresh list when fetching data is done :P

Also fix some android studio warnings on the go...
2018-03-31 16:21:25 +02:00
Andreas Shimokawa
24f98504b0 Amazfit Bip: when deleting activites, delete the correct one 2017-11-05 00:20:26 +01:00
cpfeiffer
9e79eee707 Bip wip: fix position -> item mapping 2017-11-03 22:04:01 +01:00
cpfeiffer
f5318287c4 WIP: Bip GPS fetching, parsing, exporting
Also adjust Mi2 date/time sending wrt DST offsets
2017-10-31 23:16:39 +01:00