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

215 Commits

Author SHA1 Message Date
vanous
6f01dd6514 Add MY_PACKAGE_REPLACED receiver to manifest, to re-connect after update, especially for users of Nightly releases. Fix #2855 2022-10-13 21:29:01 +02:00
TylerWilliamson
a86894b052 Added GenericWeatherProvider, shows "Activate" and "Deactivate" regardless of if "Weather Notification" is installed
Using objects instead of primitives, reading from correct JSON

Added unregisterReceiver for GenericWeatherReceiver

Added GenericWeatherReceiver to manifest
2022-10-02 17:58:03 +02:00
vanous
e6411b15ab Add initial support for Shell Racing cars
- adds initial device support
- can control driving forward/back/left/right
- probably could be implemented further:
  - battery reading
  - device name?
  - lights on
  - fast/slow speed mode
2022-09-25 21:39:41 +02:00
Ganblejs
82315b3281 Bangle.js: extending intents functionality (continuation)
Add support for (explicit) service intents.
Add support for setting flags for intents.
Add support for setting multiple categories for intents.
Add ability for Gadgetbridge to wake the Android device and leave the
 lock screen to start activities when it is sleeping. A new activity
 'WakeActivity' is used for this. (Must use 'trusted device' in Android)
Add dismiss-button to 'display over other apps' permission pop up.
Bangle.js can send "gadgetbridge" as package info to accomodate the
 different GB build variants/flavours.
Use only getContext() and not getApplicationContext() when executing
 the intents.
2022-09-19 21:52:40 +02:00
Ganblejs
60c7f79366 Bangle.js: Extend intents functionality for Bangle.js
...to allow intents to start activities on the android device.

Add pop-up asking for permission to "Display over other apps"

Add info for intents on Bangle.js

Add message to display on "Display over other apps" permission pop-up

Move permission to display over other apps to main build variant/flavor.

fix getting permission for display over other apps.

Clarify that permission to display over other apps is mainly for Bangle.js.
2022-08-17 00:35:34 +02:00
Daniel Dakhno
b29a8cefd2 Binary sensor: initial support for devices using Binary Sensor Service 2022-08-09 18:58:18 +02:00
Arjan Schrijver
c946a045ef Fossil Hybrid HR: Use preferencescreen for widget configuration 2022-07-25 14:34:41 +02:00
vanous
c77521f975 Add device menu item to get to the FW/App Installer via an explanation activity 2022-07-12 10:50:41 +02:00
Gordon Williams
e40bd79fbf Bangle.js: Adding built-in app-loader view (available via app management icon). Only available on internet-enabled builds (it's a webview) 2022-06-13 08:35:32 +01:00
José Rebelo
a5a653dc34 Move OpenTracks external events to dedicated package 2022-05-30 13:17:26 +02:00
vanous
4db2877a91 Widget and SleepAlarmWidget: modify for multidevice support 2022-05-28 14:57:01 +02:00
José Rebelo
5c6edea233 Mi Band 5: Add support for World Clocks 2022-05-10 13:59:25 +02:00
vanous
d386b01169 Allow string resources for build variants to be customized via gradle 2022-05-01 14:12:40 +02:00
Arjan Schrijver
5224304b6c Read overall statistics from received OpenTracks dashboard API URIs 2022-02-17 11:00:58 +01:00
vanous
1e6cde6790 Add nightly release setup 2022-02-02 13:21:31 +01:00
dakhnod
504b552f0c device-vesc (#2491)
Adds Support for BLDC controller VESC connected to a BLE serial device like an HM10.

Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2491
Co-authored-by: dakhnod <dakhnod@noreply.codeberg.org>
Co-committed-by: dakhnod <dakhnod@noreply.codeberg.org>
2021-12-27 15:47:10 +01:00
vanous
682a26e56d Add Discovery setting to the Discovery Activity 2021-12-26 18:14:07 +01:00
José Rebelo
710b6f6699 Mi Band 3: Add support for Reminders 2021-12-11 22:39:18 +01:00
Arjan Schrijver
1d9eb9f332 Fossil Hybrid HR: Move watchface settings to proper settings screen 2021-11-18 12:14:26 +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
Arjan Schrijver
d0fc83edf7 Fossil Hybrid HR: Prevent display rotation in watchface designer 2021-07-19 13:43:05 +02:00
Arjan Schrijver
3645e36ab6 Fossil Hybrid HR: Make hardcoded strings translatable 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
4a5d639d01 add GPX receiver via intent 2021-07-14 11:41:41 +02:00
Andreas Shimokawa
840c512a32 Revert "Future-proofed Bluetooth permission request and improved broadcast receiver (#2331)"
This reverts commit e510205b61.

Fixes #2342
Fixes #2346
2021-07-14 11:04:03 +02:00
TaaviE
e510205b61 Future-proofed Bluetooth permission request and improved broadcast receiver (#2331)
I saw a log line  posted [here](https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/2118) that indicates that the permission requirement might be incorrect in the broadcast receiver. Removed it.

I also future-proofed the BLUETOOTH/BLUETOOTH_ADMIN permissions according to Android 12 Beta documentation, there's probably much more than this that has to be updated to be fully Android 12 compliant though.

Co-authored-by: TaaviE <taavi.eomae@gmail.com>
Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2331
Co-authored-by: TaaviE <taavie@noreply.codeberg.org>
Co-committed-by: TaaviE <taavie@noreply.codeberg.org>
2021-07-02 09:16:17 +02:00
Arjan Schrijver
430809cf2c Revert translation id renames 2021-06-01 09:53:34 +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
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
Arjan Schrijver
9f459b1da9 Fossil Hybrid HR: Move commute actions to device specific settings 2021-05-22 22:28:26 +02:00
Andreas Shimokawa
584ba867b5 Use requestLegacyExternalStorage in manifest to fix file access problems in some Android 10 roms 2021-03-13 22:32:58 +01:00
Daniel Dakhno
0fecdf0e18 UM25: added base device support for UM25C voltage meter 2021-03-08 12:29:18 +01:00
Arjan Schrijver
627bf033c3 Fossil Hybrid HR: Fix up/back navigation and add titles 2021-03-08 12:08:57 +01:00
vanous
3e04778696 initial battery level collector and simple chart 2021-02-04 21:21:38 +01:00
Daniel Dakhno
1505c355ce Fossil HR: allow app management on watch from GB 2021-02-01 01:57:13 +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
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
vanous
e3a5a63e08 Separate AboutUser and link to it from Charts Settings 2020-11-14 10:06:55 +01:00
Daniel Dakhno
c85e30cb07 Fossil Hybrid: added hands calibration 2020-10-22 12:43:40 +02:00
Daniel Dakhno
3b2a16b6fc Fossil Hybrid: added manual file down/upload 2020-10-16 01:50:44 +02:00
TaaviE
9988e3f3f5 Added a service declaration into Android manifest that was missing 2020-10-11 19:16:31 +03: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
1d51c58f15 Fix warnings and colors for AboutScreen 2020-09-09 23:26:46 +02:00
vanous
0ac2b22596 SportsActivityDetail can be landscape too now. 2020-09-09 22:31:58 +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
03b45d1071 Add better Sport Activities Filering 2020-08-19 19:45:23 +02:00
vanous
78cd8e55b7 Add back arrow ← to Sports Activity Detail 2020-08-15 14:54:24 +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
vanous
7a46d39193 ActivityDetail with steps 2020-08-08 08:40:23 +02:00