vanous
e6ae5e357e
add Heart icon (trigger heart measurement) to device action icons
2021-08-08 11:12:08 +02:00
Arjan Schrijver
fa89df562a
Fossil Hybrid HR: Edit existing watchfaces from app manager cache
2021-07-19 13:43:05 +02:00
Arjan Schrijver
de403cf92e
Fossil Hybrid HR: Add watchface designer
2021-07-19 13:43:05 +02:00
vanous
bcc5afb78c
use '_' instead ':' in exported and imported file names
2021-07-18 18:21:00 +02:00
vanous
4a5d639d01
add GPX receiver via intent
2021-07-14 11:41:41 +02:00
vanous
fffe7e37c4
Allows to edit the GPX track entry in Sports Activity item
2021-07-14 11:41:41 +02:00
vanous
c5aaaec7e3
Add black background to Dark Theme
2021-07-06 21:04:27 +02:00
vanous
809cd30f0e
add transliteration to PineTime, solves #2334
2021-07-02 09:51:43 +02:00
vanous
ad7fc6c5d0
Check ActivityListing charts for null condition, should fix #2322
2021-06-27 14:59:23 +02:00
vanous
24afee2de5
Debug: add testing device manually
2021-06-27 14:57:47 +02:00
Arjan Schrijver
ecb23f7a22
Fossil Hybrid HR: Block dangerous intents by default and move some settings to developer settings submenu
2021-06-01 09:38:59 +02:00
TaaviE
df3ee872ae
Improved logging in bonding and tried to recover from weirdness
2021-05-30 01:00:48 +03:00
Dmitriy Bogdanov
e28beaae48
Refactoring: localize notification handling in GB
...
* Handle all notifications via GB.
* Create all notification channels in one place.
* Lazily init notification channels.
* Re-create notification channels to update their localized names.
2021-05-29 23:17:39 +02:00
Arjan Schrijver
25324c61b9
Fossil Hybrid HR: Use GB app manager ( #2302 )
...
This PR replaces (just for the Fossil Hybrid HR) the current watchface configuration screen with the native Gadgetbridge app manager. Bonus feature: when multiple watchfaces are installed on the watch, they can be switched by tapping on them.
Co-authored-by: Arjan Schrijver <a_gadgetbridge@anymore.nl>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2302
Co-authored-by: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-committed-by: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-05-29 16:42:32 +02:00
Andreas Shimokawa
348f459e3f
Huami: Send "about you" preferences to device immediately when changing values
...
Closes #2297
2021-05-27 23:11:00 +02:00
vanous
71cb53a440
adjust Steps Charts steps values offset to account for large phone screen sizes
2021-04-02 16:08:02 +02:00
vanous
e63b6986c6
make Activity Charts dates move as calendar months and to go to now if jumping past today
2021-04-02 16:07:36 +02:00
vanous
63fc6b7ab6
make Battery Info time span jump as calendar months and not as days
2021-04-02 16:06:21 +02:00
vanous
9fc02ff09b
move transliteration to per device to DeviceCommunicationService, plus migration, fix #2237
2021-03-28 13:33:08 +02:00
Andreas Shimokawa
9dc4dde5e7
Amazfit Neo: Support sound settings
2021-03-24 20:02:48 +01:00
Arjan Schrijver
cff4b65fb8
Fossil Hybrid HR: Sync notification dismissals to watch ( #2219 )
...
Fossil Hybrid HR: Move check for autoremove_notifications pref to NotificationListener
Fossil Hybrid: Rename logger to LOG and replace printStackTrace calls
Keep and maintain list of notifications pushed to device
Fossil Hybrid HR: Make autoremove notifications toggleable in device settings
Fossil Hybrid HR: Sync notification dismissals to watch
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2219
Co-Authored-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
Co-Committed-By: Arjan Schrijver <arjan5@noreply.codeberg.org>
2021-03-08 14:29:08 +01:00
vanous
fdea7ed24d
Add header-title to Activity detail
2021-03-08 09:59:14 +01:00
vanous
01e99d2809
Add chart to each item in Activity list
2021-03-07 19:42:14 +01:00
vanous
6aeb297aa5
Battery info - use Gb DBAccess
2021-03-05 09:05:01 +01:00
vanous
e848a7cb71
Add Activity list dashboard summary calculations
...
Accessible via FAB in Activity list
Adds DebugActivity checkbox to show large date range
2021-03-03 19:03:02 +01:00
vanous
47d211013c
Remove description label from Battery chart
2021-02-27 11:05:16 +01:00
vanous
5758c9e564
Adds ongoing activity snackbar + preference
2021-02-27 10:51:58 +01:00
vanous
b8f42b6bee
Separate some UI components into reusable widgets
2021-02-27 10:48:13 +01:00
vanous
a6de25918b
Make Battery chart to use AbstractGBFragment with a bg thread
2021-02-27 10:31:43 +01:00
vanous
0a2920a5ec
Battery Info: add styled date range UI
2021-02-14 18:33:32 +01:00
vanous
cde018399a
add time span and select date
2021-02-13 23:28:16 +01:00
vanous
99830f5a84
flip and scale GPX canvas
2021-02-13 18:10:42 +01:00
Andreas Shimokawa
bf9b45f964
Charts: Also count steps for not worn samples
...
The Mi Band 5 also seems to display those steps
It could also be that the sample type is wrong in Gadgetbridge
2021-02-05 19:17:35 +01:00
vanous
3e04778696
initial battery level collector and simple chart
2021-02-04 21:21:38 +01:00
vanous
57fe621ba8
honor Imperial units settings in Widget, Activity list and Workouts, fixes #2041
2021-01-23 21:43:32 +01:00
vanous
0fd2de2bd3
show all eligeble devices in Widget Configuration Activity, fix #2170
2021-01-22 20:29:00 +01:00
vanous
198040c935
add UUID to to GPX with opentracks namespace
...
ensure that GPX has trackpoints
improve GPX track name if null
2021-01-17 00:07:55 +01:00
vanous
5c7254b7b8
adds a 'Delete files from export directory' to Data management
2021-01-10 23:39:38 +01:00
vanous
6f0245a23c
Data(base) Management screen clarifications
...
- rename to Data management in menu and activity
- expand texts and explain files meaning
- add confirmation screen to export
- change layout to Linear, rather then Grid
- add listing of file content in the /files directory
- allow Data management activity to rotate
Add missing widget string to strings
2021-01-03 15:46:12 +01:00
TaaviE
09eb470b64
Renamed removeBroadcastReceivers to a more correct name
2020-12-28 22:03:41 +01:00
Toby Murray
ab306b1352
Add BlueTooth receivers in onResume
...
Pairing some devices requires a PIN to be entered. E.g. the flow is: confirm you'd like to pair, pass off to Android which prompts for a PIN to pair with (typically shows up on the non-phone device's screen or is hard coded in the manual), then return back to the app.
When this pairing request screen pops up, it takes focus. This invokes onPause and onStop in the DiscoveryActivity, which removes the BlueTooth broadcast receivers. Returning focus (after successful pairing), there's nothing to listen to the event. Practically speaking, GadgetBridge last saw the device as BOND_BONDING, so it's out of sync. If queried, the device is BOND_BONDED, so it's good to move on to the next step.
Many existing pairing activities (Lenovo, MiBand, Pebble, Watch9) have an implementation of onResume() to presumably tackle this issue, this adds it to `DiscoveryActivity` as well. Testing with some other supporting code, this allows a Garmin vivosport to appear in Gadgetbridge.
2020-12-28 22:03:41 +01:00
vanous
be53130dba
ensure that correct device is used for activity launched from widget
...
remove code to trigger error, forgotten from testing
update changelog
2020-12-21 11:23:01 +01:00
vanous
502f689862
Rework the Daily Widget:
...
- make layout transparent rather then red, update the preview image
- move battery to top row to reduce size, add status indicators with icons
- add preference settings, to choose for which device this widget is
- data is no longer calculated for all devices but for a selected device
- add debug items to view and erase widget settings and registrations
(debug items are intentionally not translatable yet)
2020-12-20 19:01:00 +01:00
xaos
68e7a5fea9
refined error message for invalid authentication key
...
Co-Authored-By: xaos <xaos@noreply.codeberg.org>
Co-Committed-By: xaos <xaos@noreply.codeberg.org>
2020-12-20 00:25:44 +01:00
andyboeh
02b85f4c11
Casio GBX-100: Add step count data and more device settings
...
Co-Authored-By: andyboeh <andyboeh@noreply.codeberg.org>
Co-Committed-By: andyboeh <andyboeh@noreply.codeberg.org>
2020-12-20 00:22:35 +01:00
Andreas Shimokawa
4fb79ac2b2
Huami: Add new option to disting to properly distinguish connected adverising and 3rd party hr exposure
2020-12-13 22:38:03 +01:00
vanous
98bb01dfa1
Make charts tabs selectable sortable
2020-11-28 23:42:30 +01:00
vanous
d180442b47
Allow to clear activity label. Select device for foreign sport activiry.
2020-11-26 23:21:50 +01: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
marco.altomonte
ac66885848
Fix main fab behavior
2020-11-14 12:21:38 +01:00
vanous
e3a5a63e08
Separate AboutUser and link to it from Charts Settings
2020-11-14 10:06:55 +01:00
vanous
71f6fd77cb
Add final tweaks to Daily Sessions List Dashboard view
2020-11-13 14:22:15 +01:00
vanous
447e9110db
Simplify HR calculation
2020-11-12 13:50:44 +01:00
vanous
db7280b359
Adjust personal settings defaults to prevent zero values
...
Show/hide intensity in sleep per preference
Optimize icons
2020-11-12 13:50:44 +01:00
vanous
551a5c1a66
Add Activity List Dashboard/Summary view
2020-11-12 13:50:44 +01:00
vanous
9c90452f92
Add intensity to Sleep charts
2020-11-12 13:50:44 +01:00
Andreas Shimokawa
8cb2fb980a
Ímplement sorting menu items for newer Huami devices
...
- Amazfit GTR/GTS
- Amazfit Bip S
- Mi Band 5/Amazfit Band 5
2020-11-07 22:48:34 +01:00
Andreas Shimokawa
e1f2e0c830
Experiment with a draggable sort list.
...
I left the non-preference related dslv code untouched and took it from here
https://github.com/sbolotovms/drag-sort-listview
(This is one of many forks, which had migrated android to androidx)
The base for the code in DragSortListPreferenceFragment.java and
DragSortListPreference.java comes from:
https://github.com/kd7uiy/drag-sort-listview
I heavily modiefied it moved it to androidx
2020-11-07 22:48:34 +01:00
vanous
4c39dceecd
Add minimum/maximum heart rate popup, fixes #1483
2020-11-01 23:58:54 +01:00
vanous
329c47fff2
Add heart rate average to Activity and Sleep → Sleep
2020-11-01 11:06:59 +01:00
vanous
b364029f82
Level up icons in Activity List. Improve empty record.
2020-10-27 09:20:32 +01:00
vanous
95c35deb90
Add version to About screen
2020-10-24 21:55:48 +02:00
vanous
4d42e169b9
Add GPS fragment to Sport Activity detail
...
add GPX parser
fix possible swiping issue after device rotation
use window background color for screenshots
2020-10-24 18:27:51 +02:00
vanous
f60ba212c6
Make Sports Activities list use Activity List style
2020-10-17 14:55:12 +02:00
vanous
e7b5053b13
Add Step length preference to About you
...
Add new distance icon
Distance in meters or km based on distance
Remove unnecessary definitions
Optimize new drawables
Map intensity to min steps
2020-10-16 21:07:57 +02:00
vanous
92407d3490
Fix trailing activity 0 duration
...
Hide intensity if not present in data
2020-10-16 21:07:34 +02:00
Daniel Dakhno
7ecb5543f7
Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge into fossil-hybrid-new-firmware
2020-10-14 02:02:00 +02:00
vanous
64d8504b7d
New item layout, icons, logic and defaults for daily activity list.
2020-10-14 01:52:27 +02:00
Daniel Dakhno
05a4c0ce68
Fossil HR: added long and double button presses
2020-10-13 03:06:05 +02:00
Andreas Shimokawa
0d49eaaf9e
Pebble: move canned message to per-device settings (including migration)
...
This also cleans up some useless preferencehandlers that only change summary by
using app:useSimpleSummaryProvider="true" for EditText
2020-10-13 00:27:22 +02:00
vanous
26f199a010
Remove testing reflection code trying to disable pull to refresh in Activity List
2020-10-11 18:24:36 +02:00
TaaviE
3b5f35f34a
Added PineTime (InfiniTime) Nordic DFU support
2020-10-11 19:16:31 +03:00
TaaviE
42b7dd6d2a
Renamed a few variables in FwAppInstallerActivity
2020-10-11 19:16:31 +03:00
vanous
46a1d2908a
Sharing Sports Activity improvements
2020-10-11 18:09:22 +02:00
opavlov
1ba454a89b
refactored settings to "per-device" according to wiki
2020-10-11 17:24:11 +03:00
opavlov
06a12300a1
added support for sony swr12
2020-10-11 17:24:11 +03:00
vanous
0b7d37c7eb
Improve Activity List processing
2020-10-11 09:40:15 +02:00
Yukai Li
6974a86b87
Lefun: Implement settings
2020-10-10 22:03:46 +02:00
vanous
bd90b59f92
Initial implementation of Activity list.
2020-10-10 07:19:42 +02:00
vanous
ac5e7608fc
Handle device null state when being disconnected
2020-09-28 09:49:08 +02:00
vanous
7371fb37c2
Add charts into Sports Activity Details. Improve pingpong icon.
2020-09-23 21:53:16 +02:00
vanous
db47992199
Re-do logo logic for AboutScreen to keep aspect ratio
2020-09-10 10:49:05 +02:00
vanous
1d51c58f15
Fix warnings and colors for AboutScreen
2020-09-09 23:26:46 +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
TaaviE
6cd59fbd24
Refactored all pairing and bonding activities ( #1989 )
...
Fixed a few warnings
Refactored all bonding and bonding activities
Co-authored-by: TaaviE <taavi.eomae+github@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1989
2020-08-28 15:38:18 +02:00
TaaviE
c5daa28214
Optimized vector images ( #1996 )
...
Improved the screenshot vector image a bit to look more uniform with the rest
Improved the about activity a bit for Android 10+
Cleaned up and optimized all vector drawables
Co-authored-by: TaaviE <taavi.eomae@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1996
2020-08-28 13:21:21 +02:00
vanous
39a472216a
Better handling of end of summary items list
2020-08-26 21:12:54 +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
Bot
40852d3641
Fixed a bunch of misspellings and formatting
2020-08-26 14:37:40 +03:00
TaaviE
7db3b68047
Fixed a bunch of warnings
2020-08-26 09:38:31 +02:00
vanous
34eee787d7
Add margins to AlertDialog.Builder
2020-08-24 13:50:10 +02:00
vanous
9b30369a88
Add edit Sport Summary Name. Add filtering by this name.
2020-08-24 00:09:10 +02:00
vanous
7b46a5e950
Tweak Sports Filter when a GBActivity now...
2020-08-23 13:01:54 +02:00
vanous
f8d22e9ec7
Make Filter be a normal activity. Fix s/m→m/km conversion
2020-08-23 00:04:23 +02:00
vanous
78745420ca
Make Sports Activity Detail data take full width
2020-08-23 00:04:23 +02:00
vanous
f05ad85f73
Make string values of summary data translatable
2020-08-22 10:31:32 +02:00
vanous
b236a6af16
Add Activity Summary Statistics Drawer
...
Move SummaryStatistics JSON Summary to own place
2020-08-21 23:51:46 +02:00
Andreas Shimokawa
f05ddd2d24
display swim style as string
2020-08-20 22:27:33 +02:00
vanous
03b45d1071
Add better Sport Activities Filering
2020-08-19 19:45:23 +02:00