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