Andreas Shimokawa
ffa46482fd
Add missing code from last commit
2020-11-30 17:13:48 +01:00
Andreas Shimokawa
1bad73e20c
Amazfit Bip U: Blindly add untested support
...
Based on Bip S, don't know what works and what not
2020-11-30 17:09:29 +01:00
Andreas Shimokawa
6042d285bb
compile fix
2020-11-30 17:08:35 +01:00
Daniel Dakhno
55449c1d25
Fossil Hybrid: added fallback vibration to old Q's
2020-11-29 17:15:03 +01:00
Daniel Dakhno
66d3cdcc5c
Merge remote-tracking branch 'origin/master'
2020-11-29 17:10:19 +01:00
Daniel Dakhno
996674836e
Fossil Hybrid: added firmware upgrade to old Q's
2020-11-29 17:10:10 +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
Daniel Dakhno
7fe8a88ee7
Fossil Hybrid: keep widget values after widget reload
2020-11-26 21:12:56 +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
Andreas Böhler
b0a0a29bcb
Casio GB-5600B/GB-6900B: Add configurable disconnect notification
2020-11-23 22:59:16 +01:00
Andreas Böhler
6f18a1dd73
A few fixes to the init sequence
2020-11-21 22:12:19 +01:00
Andreas Böhler
8fd0e1f13f
Add support for synchronizing profile settings
2020-11-21 22:12:19 +01:00
Andreas Böhler
2ef9128cf8
Move BCD functions to its own Util class
2020-11-21 22:12:19 +01:00
Andreas Böhler
4fd904d33f
Rebuild notification handling to work with postTime() instead of getId()
2020-11-21 22:12:19 +01:00
Andreas Böhler
80df573ccf
Improve initialization sequence
2020-11-21 22:12:19 +01:00
Andreas Böhler
9d710308fa
Limit the number of temporarily stored notification IDs
2020-11-21 22:12:19 +01:00
Andreas Böhler
5edac523f0
Improve notification removal
2020-11-21 22:12:19 +01:00
Andreas Böhler
4ad8eaab89
Fix removal of notifications
2020-11-21 22:12:19 +01:00
Andreas Böhler
4fe057e56b
Fix firstConnect when bonding is not required
2020-11-21 22:12:19 +01:00
Andreas Böhler
ae02c825b4
Fix reconnect and initialization
2020-11-21 22:12:19 +01:00
Andreas Böhler
92986724ee
Fix watch init (only do the bare minimum) and add basic
...
notification support. Reconnect is WiP.
2020-11-21 22:12:19 +01:00
Andreas Böhler
b653789b66
Add preliminary support for Casio GBX-100: connecting and time synchronization.
2020-11-21 22:12:19 +01:00
Andreas Böhler
08ff70ac41
Refactor Casio support for multiple watches
2020-11-21 22:12:19 +01:00
Andreas Shimokawa
0e88adbaf7
Mi/Amazfit Band 5: Support flashing watchfaces
2020-11-20 22:03:23 +01:00
Andreas Shimokawa
bd0c645db5
Add support for Amazfit GTS2 (untested)
...
Also change icon for GTR2 to a round one
2020-11-15 16:25:47 +01:00
Andreas Shimokawa
cc7a7b7caf
Fossil Hybrid HR: delete activity data after syncing
...
This partially reverts f6a7435b7e
2020-11-14 22:17:24 +01:00
Andreas Shimokawa
435808467b
Amazfit GTR2: Make sure new firmware upgrade code gets used (shamelessly assume it uses this right from the start)
2020-11-14 22:04:09 +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
Andreas Shimokawa
5f85bba438
Amazfit GTR: Also fix firmware flashing for the chinese(?) variant
2020-11-12 18:06:52 +01:00
Andreas Shimokawa
66bb6f694e
Amazfit GTR Lite: Prevent using new firmware flashing code (they have not upgraded the protocol yet)
2020-11-12 17:47:31 +01:00
Andreas Shimokawa
c3b8604338
Amazfit GTR: FIx firmware flashing on newer firmares
2020-11-12 17:29:25 +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
Daniel Dakhno
79939b7339
Fossil Hybrid: can now delete notifications from watch
2020-11-12 12:35:29 +01:00
Daniel Dakhno
02b9cedcb7
Fossil Hybrid: fixed async action flag
2020-11-12 12:13:10 +01:00
Daniel Dakhno
b40e33f086
Fossil Hybrid: added "decline call" notification flag
2020-11-12 12:11:54 +01:00
Daniel Dakhno
fc1e74d154
Fossil Hybrid: fix "delete notification" to not cancel calls
2020-11-12 03:51:57 +01:00
Daniel Dakhno
39ed94de87
Fossil Hybrid: added unauthenticated, limited mode
2020-11-12 03:49:52 +01:00
Andreas Shimokawa
f157a2ac78
Amazfit GTS: Try to fix firmware flashing not working in newer firmwares
...
Reported in #2075
2020-11-11 12:51:58 +01:00
Andreas Shimokawa
cd8ac94a93
Mi Band 5: Whitelist FW 1.0.2.24
2020-11-11 09:48:50 +01:00
Andreas Shimokawa
9d6f9f7d57
Huami: Unify menu id lookup tables and simplify code
2020-11-10 21:56:00 +01:00
Andreas Shimokawa
5b55898059
Mi/Amazfit Band 5: Add support for setting/sorting shortcuts
2020-11-10 11:33:37 +01:00
pangwalla
c4eb1c0879
Support for Amazfit GTR 2 ( #2072 )
...
Merge branch 'master' into master
fixed GTR2 getActivitySampleSize override
Support for Amazfit GTR 2
Co-authored-by: Pangwalla <pangwalla@protonmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2072
2020-11-09 20:53:02 +01:00
Andreas Shimokawa
f178c478c9
Amazfit Bip: Also make shortcuts sortable
2020-11-07 22:48:34 +01:00
Andreas Shimokawa
d20e6516c8
Humai: Implement menu sorting for remaining devices (except Mi Band 2)
2020-11-07 22:48:34 +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
6960b10e5d
Add confirmation dialog to Find device, fixes #1330
2020-11-01 14:41:58 +01:00
vanous
329c47fff2
Add heart rate average to Activity and Sleep → Sleep
2020-11-01 11:06:59 +01:00
Daniel Dakhno
e8534e01f8
Fossil Hybrid: dynmically generate check byte
2020-10-31 12:40:20 +01:00
Daniel Dakhno
d8ade53cdf
Fossil Hybrid: fixed missing class
2020-10-30 04:25:11 +01:00
Daniel Dakhno
12e67312c7
Fossil Hybrid: auto-detect iv incrementor
2020-10-30 04:19:21 +01:00
Daniel Dakhno
f6a7435b7e
Fossil Hybrid: temporarely keep activity file after sync
2020-10-30 04:19:07 +01:00
Daniel Dakhno
6b1d2cab50
Fossil Hybrid: added device security version info
2020-10-30 03:38:10 +01:00
Daniel Dakhno
8e543d0b9c
Fossil Hybrid: code cleanup
2020-10-29 02:49:44 +01:00
Daniel Dakhno
8a87bd9700
Fossil Hybrid: added verbose decryption logging
2020-10-29 02:48:28 +01:00
Daniel Dakhno
c1352a7c3c
Fossil Hybrid: added app exec test code
2020-10-29 02:43:21 +01:00
Daniel Dakhno
0845d15ba2
Merge remote-tracking branch 'origin/master'
2020-10-29 02:43:01 +01:00
Daniel Dakhno
6850837a30
Fossil Hybrid: cleaned up handle handling
2020-10-29 02:42:52 +01:00
Daniel Dakhno
f11977597b
Fossil Hybrid: use GB.toast()
2020-10-28 21:42:12 +01:00
Daniel Dakhno
d14687388b
Fossil Hybrid: show warning on wrong key format
2020-10-28 21:42:12 +01:00
Andreas Shimokawa
1224cfeffc
Amazfit Bip S: unify shortcuts code with display items code
2020-10-28 00:12:37 +01:00
Andreas Shimokawa
50f99a5b59
Amazfit Bip S Lite: add new device type for the lite variant
...
See #2055
2020-10-27 12:56:27 +01:00
Andreas Shimokawa
f61c06630a
Fossil Hybrid HR: Only do a factory reset when really requested, not also on reboot.
2020-10-27 11:47:55 +01:00
vanous
b364029f82
Level up icons in Activity List. Improve empty record.
2020-10-27 09:20:32 +01:00
Maxim Baz
e2a75d75d4
Add Wire messenger to the chat applications
...
This is a chat app that uses end-to-end encryption algorithm similar to Signal.
2020-10-26 23:29:58 +01:00
Daniel Dakhno
7dd50fc31a
Fossil Hybrid: added factory reset option
2020-10-26 03:55:32 +01:00
Daniel Dakhno
89f9f69b0d
Merge remote-tracking branch 'origin/master'
2020-10-26 02:51:47 +01:00
Daniel Dakhno
2535342ac4
Fossil Hybrid: refactored requests to use fileHandle enum
2020-10-26 02:50:30 +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
JF
9d6ac2b985
Improve notification support for InfiniTime (PineTime) :
...
- InfiniTime 0.9 now supports messages up to 100 chars (instead of max 18 previously)
- Remove the hack that was implemented as a workaround to a bug in InfiniTime that would ignore the last character of the notification message (https://github.com/JF002/Pinetime/issues/109 ).
These 2 features are enabled only if the firmware version is >= 0.9.
2020-10-24 00:19:45 +02:00
Daniel Dakhno
c85e30cb07
Fossil Hybrid: added hands calibration
2020-10-22 12:43:40 +02:00
Andreas Shimokawa
4131f19f8d
Amazfit Band 5: Allow setting Sp=2
...
Also unify code to set display items on newer devices
2020-10-21 20:03:26 +02:00
vanous
f60ba212c6
Make Sports Activities list use Activity List style
2020-10-17 14:55:12 +02:00
Andreas Shimokawa
7c374181dc
Amazfit Band 5: Try to blindly use Mi Band 5 support for now
2020-10-17 11:58:22 +02:00
Daniel Dakhno
7ce2688c29
Fossil Hybrid: removed unused variables
2020-10-17 04:00:25 +02:00
Daniel Dakhno
d3dc6c4c5f
Fossil Hybrid: reformatted requests to avoid raw files
2020-10-17 03:58:04 +02:00
Daniel Dakhno
45df4cd35c
Fossil Hybrid: refactored fileGetRequest
2020-10-17 03:40:12 +02:00
Daniel Dakhno
0c3c749149
Fossil Hybrid: use polled supported file versions
2020-10-17 03:30:53 +02:00
Daniel Dakhno
a8311cabe5
Fossil Hybrid: removed redundant code
2020-10-17 02:33:34 +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
3b2a16b6fc
Fossil Hybrid: added manual file down/upload
2020-10-16 01:50:44 +02:00
Daniel Dakhno
57f6b225d8
Fossil Hybrid: removed unused request
2020-10-16 01:49:34 +02:00
Daniel Dakhno
f36c68b065
Fossil Hybrid: extracted file handles to enum
2020-10-16 01:48:40 +02:00
Daniel Dakhno
be2f8aaedc
Fossil Hybrid: added translation handling
2020-10-15 22:42:39 +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
Daniel Dakhno
f1034f94b3
Fossil Hybrid: send response to app events
2020-10-14 02:00:43 +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
2b1fb0e342
Fossil Hybrid: fix for newer firmware
2020-10-13 05:00: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
Daniel Dakhno
36b38c2f11
Fossil Hybrid: set time on connect
2020-10-12 18:18:29 +02:00
Daniel Dakhno
2335a7a337
Merge remote-tracking branch 'origin/master'
2020-10-12 18:15:11 +02:00
Daniel Dakhno
e47599f15f
Fossil Hybrid: fixed text color
2020-10-12 18:15:04 +02:00
Andreas Shimokawa
1156ec22a4
Mi Band 5: Whitelist FW 1.0.2.08
2020-10-12 14:05:12 +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
c41fda5072
Rearranged the code in PineTime support a bit
2020-10-11 19:16:31 +03:00
TaaviE
2cd783feca
Updated progress string and context handling
2020-10-11 19:16:31 +03:00
TaaviE
c46e931221
Extracted new and already existing string resources
2020-10-11 19:16:31 +03:00
TaaviE
3b5f35f34a
Added PineTime (InfiniTime) Nordic DFU support
2020-10-11 19:16:31 +03:00
TaaviE
2b889a2e4c
Improved documentation in UpdateFirmwareOperation, it's not NotificationListener it's handleNotificatioNotif
2020-10-11 19:16:31 +03:00
TaaviE
29431a0813
Fixed a bug with com.Slack's package name being impossible to look up
2020-10-11 19:16:31 +03:00
TaaviE
3636410191
Fixed weird formatting in MiBandFWHelper
2020-10-11 19:16:31 +03:00
TaaviE
42b7dd6d2a
Renamed a few variables in FwAppInstallerActivity
2020-10-11 19:16:31 +03:00
TaaviE
5c25bc65ca
Removed an unused leftover function
2020-10-11 19:16:31 +03:00
TaaviE
77a6e6107a
Added a helper function and attribution to an existing one
2020-10-11 19:16:31 +03:00
TaaviE
e496aa8f7b
Made Nut support available in discovery
2020-10-11 19:16:31 +03:00
TaaviE
01feaabffd
Added support for Nut devices
2020-10-11 19:16:31 +03:00
TaaviE
c0c35a0931
Minor improvements to iTag-related documentation
2020-10-11 19:16:31 +03:00
vanous
46a1d2908a
Sharing Sports Activity improvements
2020-10-11 18:09:22 +02:00
opavlov
1fbfb1cae1
fixed copyright info
2020-10-11 17:27:30 +03:00
opavlov
1ba454a89b
refactored settings to "per-device" according to wiki
2020-10-11 17:24:11 +03:00
opavlov
78ec2a4a14
fixed issue with sleep data(wrong order of reading bits). removed rest useless methods from band classes.
2020-10-11 17:24:11 +03:00
opavlov
06a12300a1
added support for sony swr12
2020-10-11 17:24:11 +03:00
TaaviE
48abd91e72
Reordered a few functions, constructor to be more sensible
2020-10-11 14:29:14 +03:00
TaaviE
d892e8d963
Separated InfiniTime characteristic UUIDs into a separate file
2020-10-11 14:26:03 +03:00
TaaviE
d4f383f885
Added support for more music information with backwards compatibility
2020-10-11 14:23:20 +03:00
vanous
0b7d37c7eb
Improve Activity List processing
2020-10-11 09:40:15 +02:00
Yukai Li
d6bed776c5
Lefun: Use existing time format setting with handling for automatic format
...
Also fix "interface language" string name
2020-10-10 22:03:46 +02:00
Yukai Li
0f123022f9
Lefun: Fix license headers
2020-10-10 22:03:46 +02:00
Yukai Li
1242009b55
Lefun: Add comments
2020-10-10 22:03:46 +02:00
Yukai Li
6974a86b87
Lefun: Implement settings
2020-10-10 22:03:46 +02:00
Yukai Li
31078647b1
Lefun: Limit notification length further
...
In addition to the 255 pieces limit, the band also uses a byte for total message length, so cap that too to not run over previous message data.
2020-10-10 22:03:46 +02:00
Yukai Li
2c1167b1b3
Lefun: Use proper handler for firmware info
2020-10-10 22:03:46 +02:00
Yukai Li
a2090eeccb
Lefun: Use proper handlers for find phone and battery level
2020-10-10 22:03:46 +02:00
Yukai Li
e220acb1b4
Lefun: Implement live step counting
2020-10-10 22:03:46 +02:00
Yukai Li
b225ab98a8
Lefun: Fix typo
2020-10-10 22:03:46 +02:00
Yukai Li
741fdbcbd2
Lefun: Tweak notifications for empty message handling
2020-10-10 22:03:46 +02:00
Yukai Li
c2375f95f4
Lefun: Implement notification support
2020-10-10 22:03:46 +02:00
Yukai Li
a1737c39fb
Lefun: Add missing license headers
2020-10-10 22:03:46 +02:00
Yukai Li
0dd44ae2d6
Lefun: Implement limited find phone support
2020-10-10 22:03:46 +02:00
Yukai Li
b7abd328bb
Lefun: Implement set alarm
2020-10-10 22:03:46 +02:00
Yukai Li
3d108d9d11
Lefun: Implement heart rate test
2020-10-10 22:03:46 +02:00
Yukai Li
d161415046
Lefun: Implement activity data sampling
2020-10-10 22:03:46 +02:00
Yukai Li
6c32a3a99d
Lefun: Add operation status to requests
2020-10-10 22:03:46 +02:00
Yukai Li
1fc2356189
Lefun: Change queuing
2020-10-10 22:03:46 +02:00
Yukai Li
9fbfee945c
Lefun: Allow keeping request in queue (for multirecord responses)
2020-10-10 22:03:46 +02:00
Yukai Li
4992e4c15b
Lefun: Fix command length checks, again
2020-10-10 22:03:46 +02:00
Yukai Li
61039f1749
Lefun: Add find device support, toast on error
2020-10-10 22:03:46 +02:00
Yukai Li
9454684974
Lefun: Add device support and initialization code
2020-10-10 22:03:46 +02:00
Yukai Li
b46960e0a7
Lefun: Fix response parsing
2020-10-10 22:03:46 +02:00
Yukai Li
8662041e5a
Lefun: Fix checksum generation
2020-10-10 22:03:46 +02:00