Daniele Gobbetti
8fccbe3b69
Pebble: implement battery display in control center
...
- extract the millivolts reading from the analytics datalog message and map to percentage
- mapping is manually made and is possibly wrong, but the values are commented
- the values are sent once per hour and are delayed, this might make the reading really inaccurate on pebble time round watches
2017-03-31 18:23:02 +02:00
Andreas Shimokawa
562049296c
Pebble: fix datalogging
...
Was broken after 0.18.4
2017-03-30 23:01:40 +02:00
Andreas Shimokawa
b25bc66485
Allow Datalog handlers to return GBDeviceEvent[]
2017-03-28 09:51:06 +02:00
cpfeiffer
da9742fd67
Mi1: Attempt to recognize Mi1 model with hwVersion = 8
...
Closes #364
2017-03-20 23:25:42 +01:00
cpfeiffer
b97674ba85
Mi2: Display realtime steps in Live Activity #428
...
Thanks for the hint!
2017-03-20 23:01:28 +01:00
License Bot
6a842c52fa
Update license header in all java files.
2017-03-16 17:36:15 +01:00
cpfeiffer
d408be5ec8
Mi2: make text/icon notifications confiurable and version dependent
2017-03-15 00:26:39 +01:00
cpfeiffer
2d60beea1f
Mi2: added some more tested firmware/font versions
2017-03-14 22:59:48 +01:00
Alberto
6989ca9db3
Add privacy mode that hides the phone number ( #588 )
2017-03-14 21:45:36 +01:00
cpfeiffer
17ecee0cab
Mi2: initial support for text notifications and icons
...
See #560
2017-03-14 00:45:54 +01:00
cpfeiffer
8fc6dfeca7
Improved AlertNotificationProfile
...
AlertLevel, AlertCategory, Control Point
2017-03-14 00:45:54 +01:00
Andreas Shimokawa
fe870ebc77
Move step goal generic, show proper sleep goal in weekly sleep goal
...
It is now also accessible via "About You" but still remains in the Mi Band Settings
(because it has to be setup initially by a "wizard")
2017-03-11 11:34:03 +01:00
Translation Bot
05a28cc580
Pebble: Fix screenshots for Android N
...
This was a regression only in master since we switched to SDK 25
This commit also fixes all other warnings with AbstractDeviceSupport.java
2017-03-10 23:10:40 +01:00
License Bot
e392fbfd80
Add license header to all java files.
2017-03-10 14:53:19 +01:00
cpfeiffer
6282597790
Handle BT issues with discovered characteristics
...
It occurred to me that onServicesDiscovered() was called multiple times
whenever I connected to my Mi Band 2. Either the band actually sent the
characteristics in multiple chunks or Android itself notified multiple
times.
So we gracefully handle this by
- updating the list of characteristics
- *not* initializing the device again when it *is* already initialized
or at least initializing.
2017-03-09 22:49:13 +01:00
cpfeiffer
9411f80440
Mi2: support for updating firmware fonts (*.ft, *.ft.en)
...
This is related to #560 , but alas is not sufficient for enabling text
notifications.
2017-03-07 23:26:41 +01:00
cpfeiffer
2b17d7fb14
More cleanup
2017-03-07 00:06:35 +01:00
cpfeiffer
31e0e9a5f7
Mi2: More internal cleanup from initial Mi1 copy&paste
2017-03-05 21:45:39 +01:00
cpfeiffer
f6bee00582
Mi2: some internal cleanups/renamings
2017-03-05 21:27:47 +01:00
cpfeiffer
c56b655b48
Mi2: send text notification for mi2 only, not mi1a
2017-03-05 10:43:19 +01:00
cpfeiffer
09967b2006
Mi2: follow 12h/24h system configuration
...
=> Remove custom preference option, #573
2017-03-03 22:32:54 +01:00
cpfeiffer
82ea5702c5
Mi2: configurable time format (12h/24h)
...
Fixes #573
2017-03-03 22:14:28 +01:00
cpfeiffer
4419200624
Mi2: Initial support for textual notifications #560
2017-03-03 20:12:43 +01:00
cpfeiffer
19b0e5e801
Centralize icons for devices
2017-02-26 22:46:49 +01:00
Andreas Shimokawa
08080b02bb
Drop support for legacy (pre 0.12.0) database
2017-02-23 22:44:44 +01:00
cpfeiffer
337bfa1938
Handle button presses and log them
...
See #556
2017-02-21 21:41:21 +01:00
Andreas Shimokawa
2dbda6138b
Pebble: some cleanups and simplifications for datalogging via PebbleKit
2017-02-20 22:09:00 +01:00
Andreas Shimokawa
ad9cfae6f9
Pebble: Pass datalog creation timestamp to PebbleKit, properly announce PebbleKit datalogging support
2017-02-20 08:47:42 +01:00
Andreas Shimokawa
946ed5f000
Pebble: First shot at implementing dataloggin for PebbleKit apps
...
Closes #497
Could help #316
2017-02-19 23:02:55 +01:00
Avamander
23f2dd35d4
Extract music shuffle and repeat states and set the song progress to auto-update. ( #554 )
2017-02-17 09:01:37 +01:00
Andreas Shimokawa
a26563d6c7
Pebble: also acknowledge PebbleKit intents with transaction_id -1
...
I don't understand why this should be necessary but for some 3rd party apps it helps (#509 )
2017-02-13 22:27:37 +01:00
Andreas Shimokawa
1d1edd41d7
Pebble 2/LE: remove a sleep which might be no longer necessary
...
Will speedup data transfer
2017-02-12 23:13:24 +01:00
Avamander
fea31924ba
Music data handling improvements ( #550 )
...
* Fixed extracting the track length.
* Added current track and total track count.
* Few small changes to make sure everything gets updated properly.
* Remove unnecessary includes.
2017-02-11 09:49:01 +01:00
Andreas Shimokawa
5dfd40062f
fix previous commit
2017-02-10 23:16:36 +01:00
Andreas Shimokawa
f956d94181
Pebble: make sure to not display "open on phone" and "dismiss" when the source of a notification was our AlarmClockReceiver
2017-02-10 23:11:21 +01:00
Andreas Shimokawa
ee28ccd4fe
Pebble: add a dev option to always and immediately ACK PebbleKit messages to the watch
...
Might help #509
2017-02-10 23:07:36 +01:00
Andreas Shimokawa
f35e3e460d
remove K9 receiver as is works better with generic notifications
2017-02-09 17:35:46 +01:00
Andreas Shimokawa
c0076b20d3
fix copy and pasta error
2017-02-09 17:24:07 +01:00
Andreas Shimokawa
5bb1995eb9
Pebble: fix privacy mode title being "null" in some cases
2017-02-09 17:10:39 +01:00
cpfeiffer
4f0674d038
Support for alarm clock notifications for Mi1 + Mi2 #538
...
No support for Pebble and HPlus for now.
Atm relies on the CM deskclock alarm, which nicely broadcasts
events about the current alarm. See
https://github.com/CyanogenMod/android_packages_apps_DeskClock.git
2017-02-07 23:49:10 +01:00
Andreas Shimokawa
e2b3394900
made caller privacy pebble setting generic
2017-02-07 10:15:23 +01:00
Andreas Shimokawa
b6852308b7
Merge pull request #546 from jpbarraca/hplus-preferences
...
HPlus: add device specific preferences and icon
2017-02-06 18:50:40 +01:00
Andreas Shimokawa
32a326c24b
Merge pull request #543 from jpbarraca/hplus-alarm-clear
...
HPlus: Clear Alarms
2017-02-06 18:49:28 +01:00
João Paulo Barraca
475426c0ed
Merge branch 'master' into hplus-preferences
2017-02-06 01:39:45 +00:00
João Paulo Barraca
a3cc84c01d
HPlus: add device specific preferences and icon
2017-02-06 01:33:15 +00:00
João Paulo Barraca
644c06df68
HPlus: Clear alarms if no alarm is enabled
2017-02-05 23:52:36 +00:00
Daniele Gobbetti
b7bad268c2
Pebble: support weather for Obsidian
...
Ref: #482
2017-02-05 17:21:04 +01:00
Daniele Gobbetti
dccd6c1b06
Pebble: implement privacy modes
...
The user can choose whether to completely hide the notification text or push it off-screen. This also effects the incoming call notification.
Fixes #370
2017-02-05 16:37:59 +01:00
João Paulo Barraca
006a23dfe8
HPlus: Fix time sync and Time format (12/24)
2017-02-03 19:30:59 +00:00
Andreas Shimokawa
22cf74bbd1
Merge pull request #532 from jpbarraca/alarm
...
HPlus: Working alarms and small cleanup
2017-02-03 14:02:29 +01:00