Commit Graph
48 Commits
Author SHA1 Message Date
Sebastian KranzandAndreas Shimokawa 194f5b04ae Enable the unicode emoji support, even if the zetime has only some of the most used emojis on board. 2019-09-14 00:20:07 +02:00
Sebastian KranzandAndreas Shimokawa 0a6d0bd178 Add method to set the language of the watch. Note: Android Studio seems to have done automatic code formatting here. 2019-09-14 00:20:07 +02:00
Sebastian Kranz 1cd9a09ce5 BUGFIX: Really fix the timestamps now for everyone, everywhere. calculate the correct UTC of different timezones and daylight savings. 2019-07-12 08:08:52 +02:00
Sebastian Kranz 0da866f70a Change user goal distance preference to use meters instead of km. 2019-03-04 07:16:56 +01:00
Sebastian Kranz 71a1605445 Add function to save some big chunk of code at the preference listeners. 2019-03-04 06:34:10 +01:00
Sebastian Kranz 4f80a4327f BUGFIX: setting alarms - create alarms with correct message and edit alarms, if they are already on the watch. The watch can handle much more than 3 alarms, but for now 3 should be sufficient. 2019-02-22 08:02:46 +01:00
Sebastian Kranz c31d0c164c BUGFIX: activity timestamps were 1 hour off compared to UTC time. 2019-02-21 09:24:51 +01:00
Sebastian Kranz e0399a056f Write heart rate alarm limits, when changed instead of on connect. - Missing reading of that preference. 2019-02-21 09:19:05 +01:00
Sebastian Kranz f898bf5050 Satisfy travis test run - TestDeviceSupport. 2019-02-21 07:56:09 +01:00
Sebastian Kranz 40ebb7487c Fix error after merging master trunk, which have a different alarm handling, now. 2019-02-20 14:55:07 +01:00
Sebastian Kranz c05ae32ed3 Add dumy onReadConfig function override, to satisfiy changes I made. 2019-02-20 14:53:58 +01:00
Sebastian Kranz ac2a462f04 Add wiki link for the ZeTime. 2019-02-20 14:30:40 +01:00
Sebastian Kranz 6a04c78b0e Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into zetime 2019-02-20 14:24:59 +01:00
Sebastian Kranz a7553188f9 Reading the device preferences from the watch and set them in the ZeTime menu. 2019-02-20 14:09:21 +01:00
Sebastian Kranz 6b82340093 Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into zetime 2018-10-01 06:39:08 +02:00
Sebastian Kranz 2df8dfed18 Add a submenu to choose between different signal types. 2018-09-20 14:38:06 +02:00
Sebastian Kranz bc20db44f4 BUGFIX: use correct preference key to toggle wrist flick on and off. Add: fill function onFindDevice with test commands for the signaling of the watch, if watch is set to buzzer just the buzzer is used, ... and so on. 2018-09-17 14:43:09 +02:00
Sebastian Kranz ecfd83ae65 Add setting alarms. Choose the type of the signaling in the preferences. 2018-09-17 13:53:24 +02:00
Sebastian Kranz ba0fdb8c96 Part 2: Add inactivity alert - complete now. Add checkbox to en-/disable the heart rate alarm and group this with the limits in its own screen. 2018-09-17 08:10:49 +02:00
Sebastian Kranz 6be181047a Add more preference settings for ZeTime: time and date format, activity tracking, do-not-disturb scheduling, wrist-flick, analog mode and calories type. 2018-09-14 13:32:18 +02:00
Sebastian Kranz 6617c45fec Add setting heart rate alarm values. Make the settings of the wearside and screen on duration interactive - give them their own activity. Also make the auto heart rate measurement work. 2018-09-13 14:55:38 +02:00
Sebastian Kranz 59a73d47af BUGFIX: setting goals now correct! Add automatic heart rate measurement settings - but the function got not called. Add option to leave activity data on the watch or delete them. 2018-09-12 13:59:45 +02:00
Sebastian Kranz 8bbc473bc0 Add icons for ZeTime. 2018-09-07 13:24:54 +02:00
Sebastian Kranz 8062729ea8 Send user info to the watch, add more daily targets (goals) and send them to the watch. 2018-09-07 10:53:33 +02:00
Sebastian Kranz ca7108c153 Add ZeTime settings: choose on which wrist you wear the watch and set screen on duration. 2018-09-06 14:51:29 +02:00
Sebastian Kranz 88ba3e8e14 merge master branch 2018-09-06 14:46:25 +02:00
Sebastian Kranz c30ec7d407 BUGFIX: use newer weather icons, if firmware build is B41 or higher. The new firmware supports 24 icons, older ones have only 6. 2018-07-16 13:41:59 +02:00
Sebastian Kranz 8af6515df8 Add what is working for the ZeTime to the changelog. 2018-07-16 11:49:42 +02:00
Sebastian Kranz 18202bffbd Fix timestamps of activities, cause the watch reports them with 6 hours offset. 2018-07-13 13:24:47 +02:00
Sebastian Kranz e54930788b Add a divisor and divide the rawintensity to normalize it. It would be better to scale the divisor based on all steps of the day or something like that. 2018-07-13 11:06:21 +02:00
Sebastian Kranz 99bdb4a30a Use evaluteGBDeviceEvent to send events to the app/android system, instead of calling directly the handle ufunctions. 2018-07-13 10:35:18 +02:00
Sebastian Kranz f0174d904a Bugfix: calendar needs the date as number. Add comment about converting date digits to characters. 2018-07-13 10:10:41 +02:00
Sebastian Kranz 6781e1e14a Rework onNotification function: Assemble the message and send decide, which icon should show up on the watch. Email support seems broken in newest firmware (1.7 Build 41) of the watch! 2018-07-12 07:30:41 +02:00
Sebastian Kranz 888d08ae77 Replace performConnected() with builder.queue(getQueue()) to write the commands and data to the watch. 2018-07-11 11:59:32 +02:00
Sebastian Kranz c1673554ee Better use bit shifting and masks to avoid negative values. 2018-07-11 07:17:40 +02:00
Sebastian Kranz f3264fab0a Fix typo. 2018-07-11 06:49:01 +02:00
Sebastian Kranz 7d8d484133 Merge branch 'master' into zetime 2018-07-10 06:48:20 +02:00
Sebastian Kranz c2d608b0ef Add time synchronization. Some values/parameters are fixed at the moment, which shouldn't be maybe. 2018-07-06 08:19:04 +02:00
Sebastian Kranz fec1f1afc6 Fill function to to add a calendar event at the day view. 2018-07-05 10:28:27 +02:00
Sebastian Kranz 7c65fa4fc0 BUGFIX: correct the length needed if a string includes multi bytes. Because a character is encoded of up to 4 bytes. Fix using the correct progess and available variables for the activities. Also restict the volume up and down commands to 16 steps. 2018-07-05 07:25:17 +02:00
Sebastian Kranz ed20f69cc4 Add functionality to control the music playback from the watch. Not sure if all of this is correct. Having issues that the track title isn't updated until you issue a play, pause command from either the phone or watch. 2018-07-04 14:52:21 +02:00
Sebastian Kranz 6882127bec Add function to sync weather data to the watch, translate weather codes to icons. 2018-07-04 07:09:50 +02:00
Sebastian Kranz 497372f377 Add support for sending some generic notifications for incoming calls, missed calls, sms, email, social and messenger. 2018-07-03 13:09:46 +02:00
Sebastian Kranz 59095dc29b Clean-up the merge. 2018-06-29 11:18:36 +02:00
Sebastian Kranz 1b152c86ea Merge branch 'master' into zetime 2018-06-29 10:43:11 +02:00
Sebastian Kranz 5e236e113f Fix function to put step data into database, using the full unix epoch now. Add function for putting sleep and heartrate data into the database. 2018-06-28 13:48:41 +02:00
Sebastian Kranz 789fba95d1 Add function to check available activities and then get them. Add function to get the steps. First try to get the data into the database. 2018-06-27 09:01:26 +02:00
Sebastian Kranz 3539dd3e34 Get the also the device firmware version. Add function for messages that are broken down into two transmissions, because of their length. 2018-06-26 07:29:11 +02:00