1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-09 07:01:33 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/miband
Daniele Gobbetti 1caca1439a Initial implementation of setting alarms to the Mi Band.
The code basically works, but there a lot of things to fix / improve.
* The alarms are stored to and read from the Shared Preferences, but there is no persistence within the app (basically they are read and stored at every access)
* The alarm list is not updated when coming back from the alarm detail view (probably related to the point above), but the actual alarm is
* The alarms preference names is sometimes built by concatenating strings, which is not really safe
* There is no check in the alarm constructor whether the stored string is a valid alarm representation
* Even though only 3 alarms can be stored on the device, we could have more in the app and let the user choose which to sync
* In the alarm detail view XML some material* drawables are used, it's possible that these break on android version < 5
* ...
2015-06-30 06:40:14 +02:00
..
AbstractInfo.java #15 support for reading firmware version and battery info 2015-04-19 22:20:47 +02:00
BatteryInfo.java #46 make all strings localizable 2015-05-01 01:26:30 +02:00
DeviceInfo.java androidstudio vs. eclipse :/ 2015-05-01 01:49:43 +02:00
MiBandConst.java Initial implementation of setting alarms to the Mi Band. 2015-06-30 06:40:14 +02:00
MiBandCoordinator.java Remove id and index from GBDeviceApp in favor of UUIDs 2015-05-18 20:56:19 +02:00
MiBandNotifyAction.java Reformat code and optimize imports 2015-06-13 00:32:48 +02:00
MiBandPairingActivity.java Remove id and index from GBDeviceApp in favor of UUIDs 2015-05-18 20:56:19 +02:00
MiBandPreferencesActivity.java Support for vibration profiles, configurable for notifications 2015-06-21 19:46:01 +02:00
MiBandService.java Initial implementation of setting alarms to the Mi Band. 2015-06-30 06:40:14 +02:00
MiBandSupport.java Initial implementation of setting alarms to the Mi Band. 2015-06-30 06:40:14 +02:00
MiBandTransactionBuilder.java WIP for fetching activity data 2015-06-01 21:47:01 +02:00
miligatt.txt fix unpaired MI devices disappearing from view (#15) 2015-04-20 23:25:46 +02:00
SetDeviceStateAction.java Reformat code and optimize imports 2015-06-13 00:32:48 +02:00
UserInfo.java Remove id and index from GBDeviceApp in favor of UUIDs 2015-05-18 20:56:19 +02:00
VibrationProfile.java Support for finding a lost device (closes #42) 2015-06-21 19:46:02 +02:00