1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-03 11:33:19 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge
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
..
activities Initial implementation of setting alarms to the Mi Band. 2015-06-30 06:40:14 +02:00
adapter Initial implementation of setting alarms to the Mi Band. 2015-06-30 06:40:14 +02:00
btle Refactoring: rename GBDeviceCommand to GBDeviceEvent 2015-06-23 11:54:33 +02:00
charts Improved sleep chart #45 2015-06-17 07:03:50 +02:00
database Reformat code and optimize imports 2015-06-13 00:32:48 +02:00
deviceevents Pebble: support for taking screenshots (do not get displayed/written anywhere yet) 2015-06-24 23:55:51 +02:00
discovery Remove id and index from GBDeviceApp in favor of UUIDs 2015-05-18 20:56:19 +02:00
externalevents Support CM 12.1 Music App 2015-06-02 21:48:21 +02:00
miband Initial implementation of setting alarms to the Mi Band. 2015-06-30 06:40:14 +02:00
pebble Initial implementation of setting alarms to the Mi Band. 2015-06-30 06:40:14 +02:00
protocol Pebble: Preparations for taking screenshots 2015-06-24 00:23:38 +02:00
AbstractBTDeviceSupport.java Pebble: Preparations for taking screenshots 2015-06-24 00:23:38 +02:00
AbstractDeviceSupport.java Open image viewer when tapping on screenshot 2015-06-27 00:21:30 +02:00
AppManagerActivity.java Start sleep activity with context menu (long press on a device) 2015-06-01 16:57:45 +02:00
BluetoothCommunicationService.java Initial implementation of setting alarms to the Mi Band. 2015-06-30 06:40:14 +02:00
ControlCenter.java Initial implementation of setting alarms to the Mi Band. 2015-06-30 06:40:14 +02:00
DebugActivity.java Initial support for rebooting the device 2015-05-17 21:58:08 +02:00
DeviceCoordinator.java Remove id and index from GBDeviceApp in favor of UUIDs 2015-05-18 20:56:19 +02:00
DeviceHelper.java fix some lint warnings, mostly simplifications 2015-05-12 20:09:35 +02:00
DeviceSupport.java Remove id and index from GBDeviceApp in favor of UUIDs 2015-05-18 20:56:19 +02:00
DeviceType.java Initial (ugly) support for device discovery and pairing (#3) 2015-05-05 00:48:54 +02:00
EventHandler.java Initial implementation of setting alarms to the Mi Band. 2015-06-30 06:40:14 +02:00
GB.java Show screenshot in notification in successful 2015-06-26 23:17:31 +02:00
GBActivitySample.java Light sleep and deep sleep was mixed up. Corrected graphs again. #45 2015-06-19 01:14:58 +02:00
GBAlarm.java Initial implementation of setting alarms to the Mi Band. 2015-06-30 06:40:14 +02:00
GBApplication.java Avoid crash when getExternelDir() returns null (huh!) 2015-06-21 19:44:56 +02:00
GBCallControlReceiver.java Refactoring: rename GBDeviceCommand to GBDeviceEvent 2015-06-23 11:54:33 +02:00
GBCommand.java Added AppManager, does not do anything useful yet. Only lists installed Apps. 2015-03-25 22:23:45 +01:00
GBDevice.java Reformat code and optimize imports 2015-06-13 00:32:48 +02:00
GBDeviceApp.java Remove id and index from GBDeviceApp in favor of UUIDs 2015-05-18 20:56:19 +02:00
GBDeviceIoThread.java reformat code with androidstudio 2015-04-13 11:22:03 +02:00
GBMusicControlReceiver.java Refactoring: rename GBDeviceCommand to GBDeviceEvent 2015-06-23 11:54:33 +02:00
ServiceDeviceSupport.java Initial implementation of setting alarms to the Mi Band. 2015-06-30 06:40:14 +02:00
SettingsActivity.java fix some lint warnings, mostly simplifications 2015-05-12 20:09:35 +02:00
UnknownDeviceCoordinator.java Initial (ugly) support for device discovery and pairing (#3) 2015-05-05 00:48:54 +02:00