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
Yukai Li
c7edfc0b54
Lefun: Fix response ID
2020-10-10 22:03:46 +02:00
Yukai Li
265260810a
Lefun: Add command serializers
2020-10-10 22:03:46 +02:00
Yukai Li
fd56db55c4
Lefun: Add device coordinator
2020-10-10 22:03:46 +02:00
vanous
bd90b59f92
Initial implementation of Activity list.
2020-10-10 07:19:42 +02:00
TaaviE
824784fd43
Enhanced logging in BondingUtil
2020-10-09 22:49:17 +03:00
TaaviE
3c842bd441
Made the find phone activity start instantly when allowed
2020-10-06 22:00:42 +03:00
TaaviE
ad30c528e5
Fixed a bug caused by incorrect PendingIntent.getActivity usage
2020-10-06 20:35:26 +03:00
Daniel Dakhno
cf302a6ba0
Fossil: optimized time settings
2020-10-06 03:07:38 +02:00
Andreas Shimokawa
e57025cd82
Fix wind speed and direction not being paceled
...
This also introduces a version to check befor unpaceling.
2020-10-01 13:56:03 +02:00
Andreas Shimokawa
f4115fa617
Amazfit Bip S: Also send wind and humidity
...
Does not work with most weather sources, but it is better to send something to remove garbled characters
2020-09-30 18:47:19 +02:00
Andreas Shimokawa
1337644a14
Amazfit Bip S: Send sunrise and sunset on latest firmware if enabled
...
This still has to be enabled in Pebble settings..... :/
2020-09-30 18:16:25 +02:00
Andreas Shimokawa
5bdee2c130
Amazfit Bip S: Fix firmware flashing on DTH variant with firmware 4.1.5.55
2020-09-29 21:58:13 +02:00
Andreas Shimokawa
247366bf9d
Amazfit Bip S: Implement new Firmware update mechanism introduced with Firmware 2.1.1.50
...
This is probably mandatory for other devices now also!
2020-09-28 12:05:09 +02:00
Gordon Williams
5c2ee15988
Remove hard-coded name list and use Java Reflection to get the correct field names - fixes issue where call state reporting was corrupted
2020-09-28 10:09:27 +01:00
vanous
ac5e7608fc
Handle device null state when being disconnected
2020-09-28 09:49:08 +02:00
Andreas Shimokawa
8087390336
Huami: recoginze GPS firmware 19439,3aa3392,135 and whitelist it for Bip S
2020-09-27 12:07:52 +02:00
vanous
7371fb37c2
Add charts into Sports Activity Details. Improve pingpong icon.
2020-09-23 21:53:16 +02:00
Andreas Shimokawa
49e7cc4c9b
InfiniTime: implement music control and info
2020-09-23 12:12:45 +02:00
vanous
30ebad8617
Activity icons, fastlane screenshots, pebble widget steps fix
2020-09-17 21:38:01 +02:00
Andreas Shimokawa
4da74e7375
Amazfit Bip S: Whitelist 2.1.1.46
2020-09-13 19:26:23 +02:00
Memiks
70a140f358
HPlus notficiation encoding weather improvments ( #2012 )
...
fix indent change
add only new functions from master branch
correct issue with reformated code
Merge branch 'master' into HPlus_improve_notifications
update code formatting with Android Studio
remove bad update of .gitignore
HPlusSupport rebuild indexation
remove unecessary change for pull request
Improve HPlus support
- update unicode support
- update notification function
- add first weather notification
Merge pull request 'update master from upstream repository' (#4 ) from Freeyourgadget/Gadgetbridge:master into master
Reviewed-on: https://codeberg.org/Memiks/Gadgetbridge/pulls/4
Merge pull request 'update master from upstream repository' (#2 ) from Freeyourgadget/Gadgetbridge:master into master
Reviewed-on: https://codeberg.org/Memiks/Gadgetbridge/pulls/2
use my own android sdk image
Sign apk
add signed apk
remove .drone.yml from git
add drone.io compilation
Merge pull request 'update master from upstream repository' (#1 ) from Freeyourgadget/Gadgetbridge:master into master
Reviewed-on: https://codeberg.org/Memiks/Gadgetbridge/pulls/1
Co-authored-by: Andreas Shimokawa <shimokawa@fsfe.org>
Co-authored-by: Memiks <contact@memiks.fr>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2012
2020-09-13 19:13:45 +02:00
vanous
db47992199
Re-do logo logic for AboutScreen to keep aspect ratio
2020-09-10 10:49:05 +02:00
Andreas Shimokawa
1c2218079b
Pinetime-JF: Recognize device if it annouces itself as InfiniTime
2020-09-09 23:40:36 +02:00
vanous
1d51c58f15
Fix warnings and colors for AboutScreen
2020-09-09 23:26:46 +02:00
vanous
ac1b65e727
Fine-tune filter. Ignore BaseAltitude == 20000.
2020-09-09 22:15:17 +02:00
Andreas Shimokawa
6c86381fa8
ZeTime: Fix weather forecast icons on older firmware versions
...
If we do not have a firmware version try use old icon mapping.
Previously weather was not working at all in that case.
2020-09-08 23:09:30 +02:00
Andreas Shimokawa
d5cdf21154
Amazfit Bip S: allow flashing gps almanac (only cep worked before)
2020-09-07 22:57:18 +02:00
Andreas Shimokawa
ce8021ec9b
Huami: Add new activity types found in recent Bip S firmware
2020-09-07 21:40:20 +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
Andreas Shimokawa
faef4fd92f
Amazfit Bip S: fix flashing some font files
2020-09-03 23:09:00 +02:00
Andreas Shimokawa
f2bfab0491
Huami: do not write elevation to GPX if we have a base altitude of -20000
...
( #2001 )
2020-09-03 23:01:59 +02:00
TaaviE
4aea2e626c
Improve icon size consistency in ControlCenterv2 ( #2000 )
...
Tinted the ic_delete_forever.xml correctly
Updated the default icon to look consistent with the rest
Due to being used in FABs, made ic_add white by-default and tinted ic_block properly
Adjusted Amazfit Bip and the ic_no_watch drawables to look more uniform with the rest
Re-imported the Amazfit Bip icon to fit the rest
Re-imported all material.io icons with the same DPI, renamed to original names, optimized and tinted every icon the same way
Updated the ic_switch_left icon to look better on smaller screens
scale refresh in control center to match the rest
Improved the icon size consistency in ControlCenter
Co-authored-by: TaaviE <taavi.eomae@gmail.com>
Co-authored-by: vanous <petr@linuks.cz>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2000
2020-09-01 21:27:07 +02:00
Andreas Shimokawa
9c239ec371
Amazfit Cor/Cor2: Allow workout syncing
2020-09-01 20:05:06 +02:00
TaaviE
116b2572dd
Avoided a NullPointerException when queue is null
2020-08-30 17:19:56 +02:00
TaaviE
cbc99b49ab
Caught an another exception that occurs when there's no access to the notifications
2020-08-30 17:53:50 +03:00
frederic lesur LESUR Frederic
c67ec5f71c
Change id of Lemfo SG2 to 44
...
Change name from SG2 to Lemfo SG2
2020-08-29 23:17:42 +02:00
frederic lesur LESUR Frederic
997504c01a
Add first support of SG2 HPlus watch
2020-08-29 23:17:42 +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
TaaviE
3bf2d4f086
Fixed a warning with witdh
being used as height
parameter.
2020-08-26 14:02:22 +02:00
Bot
40852d3641
Fixed a bunch of misspellings and formatting
2020-08-26 14:37:40 +03:00
Andreas Shimokawa
c9d98e60a9
Huami: Mark all devices as supporting device actions except mi band 2 (need to check that one, assuming newer ones to work)
...
Also add high_mtu setting to Rex, GTR, GTS, Mi Band 5
2020-08-26 10:00:06 +02:00
TaaviE
010785113b
Fixed a few more warnings
2020-08-26 09:38:31 +02:00
TaaviE
7db3b68047
Fixed a bunch of warnings
2020-08-26 09:38:31 +02:00
vanous
db29de4a9c
Material design Edit Icon, unified in Device alias and Activity name
2020-08-25 15:29:55 +02:00
vanous
df6f59213b
Make nicer format for Date/Time in ActivitySummaryList
2020-08-24 16:54:05 +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
Andreas Shimokawa
c990a4f6fc
Pinetime JF: Fix setting the time
2020-08-23 17:27:32 +02:00
Andreas Shimokawa
52f15e331c
Pinetime JF: display firmware and hardware revisions, work around missing byte in notifications
2020-08-23 17:18:53 +02:00
Andreas Shimokawa
ef3edd9932
Huami: igrore min/max pace for certain workout types they all display the same bogus value
2020-08-23 15:03:40 +02:00
vanous
7b46a5e950
Tweak Sports Filter when a GBActivity now...
2020-08-23 13:01:54 +02:00
Andreas Shimokawa
b6abcc8c7b
Huami; swap min/max pace in parser
2020-08-23 00:14:36 +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
Andreas Shimokawa
645c22b10a
Huami: decode average HR where available (newer devices)
2020-08-22 21:59:18 +02:00
Andreas Shimokawa
fcb1df6c68
Huami: decode some more sports summary values on Bip S (probably other new devices also)
2020-08-22 21:53:26 +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
ebc70b3fd5
TinyWeather: Patch incoming current weather with current timestamp
2020-08-20 23:07:24 +02:00
Andreas Shimokawa
f05ddd2d24
display swim style as string
2020-08-20 22:27:33 +02:00
Andreas Shimokawa
98b71e78bc
Parse swim summary data from Bip S (version 518)
...
This still looks wrong for some values
2020-08-19 23:37:10 +02:00
vanous
03b45d1071
Add better Sport Activities Filering
2020-08-19 19:45:23 +02:00
Andreas Shimokawa
164c73c955
WatchXPlus: Fix code setting units to imperial
...
Fixes #1955
2020-08-18 17:51:59 +02:00
Andreas Shimokawa
c800a18a46
Prevent NPE in notification filter code
...
Closes #1984
2020-08-18 15:58:18 +02:00
Andreas Shimokawa
715fb67859
Do summary parsing on the fly if raw binary data is available
2020-08-18 10:39:44 +02:00
Andreas Shimokawa
034b6d01e9
add yoga icon
2020-08-17 14:13:48 +02:00
Gordon Williams
8599d2f8db
Add wind speed to JSON produced for Bangle.js - fixes https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/1974
2020-08-17 11:06:16 +01:00
Andreas Shimokawa
2ca2636142
Huami: Recognize missing workout types from the Bip S (and other devices where those are supported)
2020-08-16 23:45:52 +02:00
Andreas Shimokawa
28a3ab1518
Huami: save raw summary data in new binary blob column for later interpretation
2020-08-16 22:50:59 +02:00
vanous
20faa23843
Add events forwarding for HUAMI Bip, MB3 ( #1980 )
...
Remove unneeded function call
Re-done to simplify
Add media actions
Rename function to make meaning clearer
Add events forwarding for HUAMI Bip, MB3
Co-authored-by: vanous <petr@linuks.cz>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1980
2020-08-16 22:07:55 +02:00
vanous
19ac94e138
Make alternate row color honor set theme
2020-08-16 20:45:03 +02:00
vanous
78cd8e55b7
Add back arrow ← to Sports Activity Detail
2020-08-15 14:54:24 +02:00
vanous
7cc4b16852
Animate on swipe when at end ranges of Sport Activity Detail data
2020-08-15 14:11:35 +02:00
Andreas Shimokawa
e73c881aa9
Revert "swap +/- :)"
...
This reverts commit e027f3d526
.
2020-08-14 22:54:39 +02:00
vanous
c21206fbe4
Swapping min/max elevation
2020-08-14 22:53:00 +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
TaaviE
8a4be070ab
Added a custom icon for PineTime
2020-08-12 08:48:35 +02:00
vanous
f4bf457232
Add filter to Sports Activities
2020-08-12 07:36:53 +02:00
Andreas Shimokawa
e208549d1d
Decode a bit more for new acticity summaries (Bip S)
...
This also adds disabled code to create a binary dump for better analysis
2020-08-11 00:06:24 +02:00
vanous
3bff745b38
Make icon long press to toggle raw/calculated data
2020-08-10 22:40:58 +02:00
vanous
e027f3d526
swap +/- :)
2020-08-10 18:27:30 +02:00
vanous
f08b109deb
Finalized Sports view. Recalculate seconds to duration.
2020-08-10 18:23:16 +02:00
vanous
4a4362eec4
Use textViews. Remove groups from data.
2020-08-10 10:56:54 +02:00