DESKTOP-IF738U6\Tim
5de5f7bb14
added data loss fix to debug activity
2022-01-15 09:52:27 +01:00
José Rebelo
d23b0a5b88
Sony WH-1000XM4: Initial Support
2022-01-12 10:36:07 +01:00
dakhnod
8d1a1c07b7
fossilhr-activity-recognition ( #2539 )
...
This PR adds the ability to change activity recognition settings on the watch.
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2539
Co-authored-by: dakhnod <dakhnod@noreply.codeberg.org>
Co-committed-by: dakhnod <dakhnod@noreply.codeberg.org>
2022-01-06 13:31:00 +01:00
vanous
53e7a4740e
Add commit id into About screen
2021-12-30 10:40:40 +01:00
vanous
7cf562c8e6
Refactor formatting of distance strings
...
- localizing number format
- allows translation of distance units
- refactor
2021-12-30 07:55:20 +01:00
dakhnod
b0ed617072
device-bose-qc35 ( #2520 )
...
This PR adds not only the device Bose QC35,
it also adds the following autop-reconnect feature:
When the headphones are turned on, the initiate a connection with the phone.
With this change, GB is notified about said change, and tries to establish a connection to the newly connected device, if the appropriate device setting is set.
The QC35 headpones always have NC turned on after boot, thus the main feature of this implementation is to turn off NC as soon as the headphones are turned on and connected to the phone.
I am open for discussion regarding the implementation, but this seems like a good first proposal.
What is missing is the ability to connect to multiple devices, since in many cases headphones can be connected to the watch simultaniously to a smartwatch or other gadget.
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2520
Co-authored-by: dakhnod <dakhnod@noreply.codeberg.org>
Co-committed-by: dakhnod <dakhnod@noreply.codeberg.org>
2021-12-27 15:37:04 +01:00
José Rebelo
c4874de11a
Sony WF-SP800N: Initial Support
2021-12-26 19:17:21 +01:00
vanous
c23810f54c
Provide Add test device directly from the Discovery screen
2021-12-26 18:14:07 +01:00
vanous
682a26e56d
Add Discovery setting to the Discovery Activity
2021-12-26 18:14:07 +01:00
vanous
71138192f0
Allow discovering unsupported devices for debug purposes
2021-12-26 18:14:07 +01:00
Daniel Dakhno
cab9ab714a
Fixed bug on Preference Screen start
2021-12-26 15:40:12 +01:00
José Rebelo
33b5a6de38
Sony WH-1000XM3: Read information from device
2021-12-23 11:39:26 +01:00
José Rebelo
96d709bea1
Allow devices to update info, preferences and state
2021-12-20 11:29:21 +01:00
José Rebelo
300491d483
Mi Band 3: Add preference to enable display on wrist lift during DND
2021-12-13 16:46:40 +01:00
José Rebelo
710b6f6699
Mi Band 3: Add support for Reminders
2021-12-11 22:39:18 +01:00
José Rebelo
8416cb4e71
Sony WH-1000XM3: Disable device preferences conditionally
2021-12-10 17:38:23 +01:00
vanous
468a40c62e
Activity Card: React to User settings. Unify step length
2021-12-05 10:34:55 +01:00
vanous
4398076ecc
Activity card: React to Charts settings, refactoring
2021-12-04 20:38:05 +01:00
vanous
50204a956e
Activity card: Open specific Charts tab for each activity
2021-12-04 17:18:27 +01:00
José Rebelo
361dcd2eac
Fix battery level and voltage index on BatteryInfoActivity
2021-11-30 23:41:58 +00:00
José Rebelo
f8e5b88231
Sony WH-1000XM3: Abstract common Sony Headphones logic
2021-11-20 21:26:51 +01:00
vanous
b24da9a409
Activity info into Device Card: use correct coordinator method
...
- use correct DeviceCoordinator method supportsActivityTracking()
- remove placeholders from xml
- clarify comments in DeviceCoordinator
- clean up some previously added unused imports
2021-11-18 16:06:56 +01:00
Petr Vaněk
21ea7b6cc2
Add Activity info into Device Card. ( #2453 )
...
- this tries to address a common request to display user data up front
- i would make this via a fragment, but RecyclerView doesn't like Fragments
- (fragments would make it much easier to also add a charts like view,
like we use on the Activity list tab)
- i added configuration that allows to disable it partially or fully
Co-authored-by: Petr Vaněk <vanous@noreply.codeberg.org>
Co-committed-by: Petr Vaněk <vanous@noreply.codeberg.org>
2021-11-18 12:22:43 +01:00
vanous
fcb91fd544
Add support for Galaxy Buds Live
2021-11-12 18:01:50 +01:00
José Rebelo
bf5eebd411
Sony WH-1000XM3: Initial Support
2021-11-06 23:43:31 +00:00
vanous
678cf006e0
Move devicesettings_transliteration to settings of each device
2021-11-03 17:13:22 +01:00
vanous
a7fbda5fe1
Multi-battery: further improvements:
...
- add new icons
- ensure correct default icon
- modify Battery Info activity
2021-11-02 21:15:25 +01:00
vanous
3609af3a18
Add batteryConfig
...
- clarify battery index
- icon and label settings
2021-11-02 21:15:25 +01:00
vanous
788f4d8ae0
Add support for multiple batteries per device
2021-11-02 14:37:47 +01:00
vanous
da0c43f77d
Galaxy Buds: adding initial support for Galaxy Buds 2019
2021-10-31 07:27:16 +01:00
vanous
d3d4130a95
Reworking notification management
...
- rename some methods to better indicate their functions.
- make the notification filter to be allow or deny list,
solves #2256 and #336
- make app word filter to behave based on allow/deny settings.
- make Pebble notifications to honor the allow/deny settings.
- add generic "debug function" to Debug activity.
- add Message privacy mode settings, solves #2279
2021-10-10 11:49:13 +02:00
Andreas Shimokawa
bef015b0c2
Add new getSupportedLanguageSettings() to coordinator to get rid of all those arrays
...
There is one big generic one now, unssupported languages will be removed at runtime.
Tested with Amazfit Bip U.
2021-10-07 14:32:09 +02:00
daniele
a7f42f0c4f
Add initial support for Nothing Ear(1) TWS ( #2403 )
...
Nothing Ear (1) are wireless earbuds that support active noise
suppression, transparency mode and several gestures.
This initial commit adds support for:
- reading battery level
- setting audio mode
- setting in-ear auto detection
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2403
Co-authored-by: daniele <daniele@noreply.codeberg.org>
Co-committed-by: daniele <daniele@noreply.codeberg.org>
2021-09-30 22:40:18 +02:00
vanous
2bd90a0d5a
use native isToday method
2021-09-26 20:29:54 +02:00
vanous
dc42faa6fb
Show ongoing activity snackbar only 'today'
2021-09-26 20:15:25 +02:00
Andreas Böhler
264b003809
Fix connection on GBX-100
2021-09-23 18:28:45 +02:00
Anemograph
d088c3d63f
Added ringtone preference setting.
2021-09-21 21:03:37 +02:00
vanous
e00ee75ad2
adding FitPro bands support
2021-09-21 16:37:19 +02:00
vanous
6b10453714
Remove device specific Alarms upon device removal.
2021-09-19 17:55:54 +02:00
vanous
d6b5140519
Remove device specific preferences upon device removal. Also add this option to the Debug screen.
2021-09-18 22:28:58 +02:00
vanous
47b9e94858
exclude not worn sleep times also from sleep sessions
...
This ensures that the sleep sessions times and the charts times are now
equal (correct behavior). At the same time this causes the sleep
sessions to be visually broken up into more small pieces and therefore
it now more highlights the issue of the band (mostly) wrongly marking
some samples as not worn.
2021-09-17 18:05:58 +02:00
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
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
dakhnod
2acac2146e
auto connects to device on startup (mainly for testing)
2019-12-31 03:38:38 +01:00
vanous
50defa1eb6
Add broadcast sender/receiver to ConfigureAlarms/HuamiSupport
...
This is to prevent discrepancies if user edits alarms in Gadgetbridge
and also on the device at the same time.
2019-12-29 11:07:42 +01:00
Andreas Shimokawa
21eada4caa
Allow to set alarms to unused when long tapping
...
This helps clearing up a cluttered alarms list on devices like the Mi Band 4
Difference between disabling and setting to usused:
Unsused alarms cant be enabled from the Band, disabled can.
Closes #1747
2019-12-24 01:27:57 +01:00
mamutcho
0d8428437c
Merge branch 'master' of https://codeberg.org/Freeyourgadget/Gadgetbridge
2019-12-15 18:28:19 +02:00
Andreas Shimokawa
72ffbca2ff
Make "reserve alarm for calender" per-device and only allow for Mi Band 1/2
...
This avoids a lot of bugs and confision regarding alarms
2019-12-14 23:48:02 +01:00
mamutcho
be8cac2c6f
Merge branch 'master' of https://github.com/mamutcho/Gadgetbridge
2019-12-12 19:27:56 +02:00
Andreas Shimokawa
b9d3ec6df3
Make disabling new BLE scanning an option in preference
...
It was disabled in master, but not in the Fossil Q branch, now both is possible
This also reverts ca9761c336
which disabled classic BT scanning
2019-12-07 22:38:30 +01:00
License Bot
1dc8c26e2a
Update license headers
2019-12-06 22:51:43 +01:00
dakhnod
f4a0f0ce8f
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-12-04 00:48:26 +01:00
FYG_license_bot_ignore_me
8e5c4b4602
Update license headers
2019-11-23 21:53:22 +01:00
mamutcho
e3f838afa0
Bump version ot 0.39
...
Redesign Settings page
2019-11-19 20:51:37 +02:00
Mamut
aefe7017f0
Merge pull request #1 from Freeyourgadget/master
...
Version to 0.39.0
2019-11-19 12:26:33 +02:00
mamutcho
be47541a5e
Add new features
...
- Inactivity reminder
- Missed call reminder
- Watch language
2019-11-17 14:33:26 +02:00
Daniel Dakhno
7f5c432b82
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-11-17 01:13:00 +01:00
Andreas Shimokawa
25bb16b0c3
Make button action setting per-device, enable for amazfip bip
...
TODO:
- preference migration
- support vibration on bip
2019-11-14 12:33:36 +01:00
Daniel Dakhno
63b4ffe555
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into q-hybrid-fossil-api
2019-11-14 04:58:32 +01:00
mamutcho
24439008ab
Add watch power mode and DND
2019-11-10 23:15:13 +02:00
mamutcho
3a2b718f09
Blood Pressure calibration
2019-11-09 22:16:10 +02:00
vanous
53ce25a30c
Add Set Activity Fetch Time to debug to set lastSyncTimeMillis
2019-11-04 21:59:29 +01:00
vanous
c1d024876d
Add forward/backward buttons to charts
2019-11-04 20:42:59 +01:00
vanous
71b393932f
Add switch to set old/new style of sleep detection range
2019-10-26 10:39:15 +02:00
Daniel Dakhno
7710b9ea2a
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into q-hybrid-abstraction
2019-10-25 14:35:05 +02:00
vanous
31ce36e335
Add alternative color to heartrate in charts
2019-10-24 22:59:52 +02:00
vanous
21525adaae
Add uncommited second occurance of the same
2019-10-21 21:12:07 +02:00
vanous
7ed2c26b2f
Catch crash during ChangeLog displaying
2019-10-21 21:08:09 +02:00
dakhnod
b6c744c8c6
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-19 23:55:55 +02:00
vanous
5c0c5ed952
Check for non empty list of sleep sessions
2019-10-17 14:35:45 +02:00
vanous
b5e3374a9e
Limit sleep charts range
2019-10-17 14:35:45 +02:00
Andreas Shimokawa
074994d24b
Merge branch 'master' into fossil-q-hybrid
2019-10-12 20:47:19 +02:00
Andreas Shimokawa
7b5e333601
Skip service scan if supported device could be recognized without uuids during discovery
2019-10-12 20:15:09 +02:00
Andreas Shimokawa
4bf37ea70f
Mi Band 4/Amazfit Bip Lite: Display a toast and do not try to pair if there was no auth key supplied
2019-10-12 19:44:45 +02:00
Cre3per
c4f4f5081d
added vibrator to FindPhoneActivity.
...
added device settings for find phone.
makibes hr3 now uses GBDeviceEventFindPhone.
2019-10-12 12:44:38 +02:00
Cre3per
81aa66c2d4
removed todo.
...
fixed typo.
2019-10-12 12:44:38 +02:00
dakhnod
a2a0bc08dd
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-11 22:35:50 +02:00
Daniel Dakhno
ca9761c336
adjusted DiscoveryActivity to use new scan
2019-10-10 02:09:23 +02:00
Andreas Shimokawa
b5e9727dcd
Make some more settings per-device settings
...
- All ID115 settings migrated, allowing removal from settings activity
- All timeformat settings for all devices migrated
- All wrist location settings for all devices migrated (now you can have a mi band 3 on the left wrist and a bip on the right wrist :P)
Also deduplicated some strings from zetime/generic preferences
2019-10-05 22:35:30 +02:00
dakhnod
ea1653d616
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-05 19:09:07 +02:00
Andreas Shimokawa
21a287f6b1
Makibes HR3: Make settings per-device
...
Also so some minor cleanups on Makibes HR3 code
2019-10-02 23:45:19 +02:00
dakhnod
b20963348d
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-09-25 00:22:57 +02:00
Q-er
371ac276a5
Allow multiple sleep sessions per day
2019-09-22 21:34:03 +02:00
Andreas Shimokawa
744848fae7
register a fake PhoneStateListener on startup once, so that Lineage OS privacy guard asks for permissions
...
Closes #1649
2019-09-21 10:07:58 +02:00
cpfeiffer
17f24c06f8
Fix some LGTM issues
2019-09-19 23:18:17 +02:00