1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-28 16:00:12 +02:00
Commit Graph

873 Commits

Author SHA1 Message Date
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
Andreas Shimokawa
715fb67859 Do summary parsing on the fly if raw binary data is available 2020-08-18 10:39:44 +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
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
3bff745b38 Make icon long press to toggle raw/calculated data 2020-08-10 22:40:58 +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
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
Andreas Shimokawa
c20810059d Fix crash when opening GPX file, reformat code 2020-08-09 21:56:31 +02:00
vanous
c3887ddb86 minimum working version 2020-08-09 21:56:25 +02:00
vanous
7a46d39193 ActivityDetail with steps 2020-08-08 08:40:23 +02:00
TaaviE
fb70a07f64 Tried fixing a LineageOS quirk with regular BT scans 2020-08-02 23:59:42 +03:00
TaaviE
749cf91f63 Handled the potential case of the same scan finishing twice and canceling a running scan being displayed 2020-08-02 23:43:00 +03:00
TaaviE
83f3b8565e Removed duplicate UI updates 2020-08-02 22:06:18 +03:00
TaaviE
d7ce49a2f3 Improved UX when Bluetooth is disabled mid-scan 2020-08-02 21:55:16 +03:00
TaaviE
9627360fac Fixed an UI error when Bluetooth discovery starting fails 2020-08-02 21:23:14 +03:00
TaaviE
61c74e9b15 Made the scans time out nicely 2020-08-02 21:07:14 +03:00
TaaviE
498c0d42e2 Made sure to check if location permission has been given by the user for scanning 2020-08-02 21:07:14 +03:00
TaaviE
aa9abd4b61 Added a log message that might help with debugging in some cases 2020-08-02 21:07:14 +03:00
TaaviE
f526bbe632 Added an API version guard to the new type of BLE scanning 2020-08-02 21:07:14 +03:00
TaaviE
b76a8267b8 Added CompanionDeviceManager support, added target 29 support, refactored the scan display and UI. 2020-08-02 21:07:14 +03:00
TaaviE
f9dc625c5c Printed a few rather fatal exceptions in case they happen for easier debugging (#1946)
Removed a few more occurrences of double logging

Removed double logging

Printed a few rather fatal exceptions in case they happen for easier debugging and a few other small cleanups

Co-authored-by: TaaviE <taavi.eomae+github@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/1946
2020-08-02 10:55:06 +02:00
TaaviE
da529579f4 Made it possible to disable asking for a few permissions. 2020-08-01 17:27:26 +03:00
TaaviE
1ceaf48ba7 Only request ANSWER_PHONE_CALL above API 26 2020-08-01 17:27:15 +03:00
TaaviE
bb1b31bcb4 Made sure to check notification listener access even after first launch because not having it can cause issues 2020-08-01 17:27:15 +03:00
TaaviE
8da7a7aced Added a checkbox to un-ignore bonded devices 2020-08-01 15:49:54 +02:00
Andreas Shimokawa
c735dd0dd4 fix compilation 2020-07-31 14:05:45 +02:00
115ek
58711ff2d2 TLW64: Add basic settings
* inactivity warnings
* activate display on lift
* timeformat
* TODO: screen timeout, find-my-device,...
2020-07-30 15:00:34 +02:00
TaaviE
629a3bcf63 Improved when and how the toast to grant permissions is displayed, won't request permissions that have been permanently disabled or denied by the system. No way to actually ask if the permission has been denied by the user. 2020-07-30 00:04:36 +02:00
TaaviE
22256030b5 Made items in the media receivers list more differentiable 2020-07-28 16:55:25 +02:00
TaaviE
1c2cd99efd Made sure to request the permission to change ringer mode to silent 2020-07-27 21:21:19 +03:00
vanous
2496b40a88 Improve padding. Use better (i) icon. Add 'unlisted contributors'. 2020-07-12 10:38:56 +02:00
vanous
c1a8fb502c Add About screen 2020-07-11 17:04:29 +02:00
TaaviE
d871b03f33 Added a safety measure against a weird internal crash when stopping a BLE scan 2020-06-17 08:47:39 +02:00
Zhong Jianxin
fc39221782 Amazfit Bip S: Support setting shortcuts 2020-05-14 10:05:49 +08:00
Andreas Shimokawa
fefcf2d2b9 ZeTime: Fix setting the watch language and make the setting accessible from the per-device configuration menu
This did not work at all before, it was supposed to take the language from
Gadgetbridge App settings or the phone's default settings, but nothing was ever
sent to the watch.
2020-05-05 00:34:59 +02:00
Andreas Shimokawa
fa2d954552 Add alarm title and description field to alarm configuation
Wire it up and enable for Fossil Hybrid HR
2020-04-24 10:39:32 +02:00
Andreas Shimokawa
a089e01433 Add title and description to Alarm table (currently unsued)
Includes migration script

Also bump version to 0.44.0 because of the previous Watch X merge
2020-04-24 00:31:04 +02:00
Andreas Shimokawa
da23026e8f Merge remote-tracking branch 'mamucho/master' 2020-04-23 23:31:55 +02:00
mamutcho
7dab1cb0f7 Move settings to per device (gear icon)
Add missing files
2020-04-23 00:01:57 +03:00
Daniel Dakhno
18eec6b863 Fossil HR: raw activity dateien optional speichern 2020-04-22 01:27:06 +02:00
mamutcho
61da55e0de Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
 Conflicts:
	GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java
2020-04-20 14:42:20 +03:00
Daniel Dakhno
19534cbae8 Fossil HR: added graphic settings handler 2020-04-12 03:57:13 +02:00
vanous
a1a010b4b4 Fix average calculation when scrolling between days 2020-04-11 14:42:37 +02:00
vanous
630c58c8f4 Edit Changelog
Do not count days with 0 steps into average/goal.

Add sleep to the 0 days not calculation.

Do not count days with 0 steps into average/goal.
2020-04-09 18:31:16 +02:00
Andreas Shimokawa
1a57c4db68 Amazift Bip Lite: Allow relaxing firmware checks to allow flashing of the regular Bip firmware (for the brave)
Closes #1819
2020-03-27 11:01:33 +01:00
mamutcho
c4ca247524 Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge 2020-03-22 19:42:08 +02:00
Andreas Shimokawa
101e2c6664 Fossil Hybrid HR: allow setting vibration strength
Also allow re-fetching of configuration again (it updates battery levels)
2020-03-20 17:14:00 +01:00
Andreas Shimokawa
159a937cab Fossil Hybrid HR: Support button configuration in per-device settings
Related: #1751
2020-03-15 00:23:06 +01:00
mamutcho
10bf452017 Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
 Conflicts:
	GBDaoGenerator/src/nodomain/freeyourgadget/gadgetbridge/daogen/GBDaoGenerator.java
	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java
	app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceSupportFactory.java
	app/src/main/res/values-bg/strings.xml
2020-03-13 19:08:34 +02:00
Andreas Shimokawa
1ccb7ab785 Fossil: Allow swiching off the device specific "Q" notification icon 2020-03-12 13:48:25 +01:00
Pauli Salmenrinne
8cfdd62eb4 FIX: Fix find-my-phone for android 10 with notifications. 2020-03-12 09:26:22 +01:00
cpfeiffer
136825fa9d Do not connect to random (first) device on start 2020-02-26 21:15:30 +01:00
Andreas Shimokawa
fb996c3301 Merge branch 'master' into fossil-q-hr 2020-02-26 20:30:57 +01:00
Andreas Shimokawa
9a114f640b Huami: Make experimental calendar sync feature optional 2020-02-24 14:19:06 +01:00
Andreas Shimokawa
d3ab597e8a Merge branch 'master' into fossil-q-hr 2020-02-22 10:16:51 +01:00
Andrzej Surowiec
01ab7bcb54 Fix answering/rejecting calls on Android 9 2020-02-22 09:50:05 +01:00
Andreas Shimokawa
15a090b35e Merge branch 'master' into fossil-q-hr 2020-02-05 10:59:26 +01:00
Andreas Shimokawa
3226d61ecd Mi Band 4: Make high MTU support optional
Fixes #1766
2020-02-04 10:04:01 +01:00
TaaviE
68e746edff Made it adding already paired devices work properly if they're not ignored 2020-02-03 20:24:55 +01:00
TaaviE
b01e703e84 Added a check to avoid indefinitely lasting scans 2020-01-31 07:01:04 +02:00
Andreas Shimokawa
1c91c037a8 Merge branch 'master' into fossil-q-hr 2020-01-29 17:22:21 +01:00
Dmitry Markin
10c9b07c69 Control alarm snooze mode on MiBand2 2020-01-12 12:02:04 +03:00
License Bot
d6fa5d0dd5 Update license headers 2020-01-09 10:44:32 +01:00