cpfeiffer
1711a7a731
Merge branch 'master' into live-activity-data
2015-09-06 00:46:50 +02:00
cpfeiffer
fbd23c2d4c
Some layout improvements ( #30 )
2015-09-06 00:03:56 +02:00
cpfeiffer
bc3c0760d0
More WIP with live activity charts
2015-09-05 23:05:57 +02:00
Andreas Shimokawa
02cc8ba455
Allow K9 Mail notifications to be handled as a generic notification if K9 Mail notification mode is set to "never"
...
This makes it possible to use the "Open on Phone" and individial dismiss feature with K9 Mail.
2015-09-05 21:32:46 +02:00
Andreas Shimokawa
a839f07496
Pebble: use proper icon for "Open on Phone" on Pebble Time
2015-09-05 21:00:18 +02:00
Andreas Shimokawa
1a1277fa3d
Pebble: Fix "Open on Phone" on OG Pebble (no more error display)
2015-09-05 20:40:12 +02:00
cpfeiffer
5f993c0049
Merge branch 'master' into live-activity-data
2015-09-05 00:15:49 +02:00
cpfeiffer
69b64ed4b6
More logging for time/timezone changes
...
(trying to find an explanation for #91 )
2015-09-05 00:14:09 +02:00
cpfeiffer
8f4e933e30
More WIP on live activity:
...
- keep screen on while live activity is visible
- hide the date bar (prev&forward buttons)
- live activity chart is still nowhere near usable
2015-09-04 21:55:29 +02:00
cpfeiffer
9a1f4875fc
Temporary backup with live activity
2015-09-03 23:20:47 +02:00
cpfeiffer
05ee6e46c6
Display battery label in RED when battery is LOW #40
2015-09-02 23:49:48 +02:00
cpfeiffer
42420e676b
More WIP: displays live activity data
2015-09-02 23:49:06 +02:00
Andreas Shimokawa
e4a72a83ee
Ignore QKSMS generic noticfication to prevent duplicate SMS notifications
...
Closes #108
2015-09-02 22:54:20 +02:00
Andreas Shimokawa
ab29736a50
Pebble: Implement "Open on Phone" function for generic notifications
...
TODO:
- search a better icon for the Pebble Time
- send a reply to the OG Pebble to prevent the error message from popping up
2015-09-02 22:43:22 +02:00
Daniele Gobbetti
b6cbb5d6be
read initial value of live steps data when enabling notification
2015-09-02 16:36:20 +02:00
cpfeiffer
ab8982e7f2
WIP: support for live display of activity data
2015-09-02 08:02:26 +02:00
cpfeiffer
536b2bd8a0
Another translatable string
2015-09-01 23:56:14 +02:00
cpfeiffer
da5df5621e
Use MEDIUMINT for steps per day (no effect, not used, and ignored by sqlite)
2015-09-01 23:11:22 +02:00
cpfeiffer
4b4c6d1a6b
Do not accept negative step/intensity values in the db
...
(Ignore and log those requests instead)
2015-09-01 22:53:47 +02:00
cpfeiffer
c5db816cd1
Pass shorts along to avoid implicit signed conversion.
2015-09-01 22:53:20 +02:00
cpfeiffer
c49c795b1d
Actually remove that implicit "current date" handling
...
We now manage days explicitly in the UI.
2015-09-01 22:43:31 +02:00
cpfeiffer
d791054e42
Fix getLast24Hours() -- take end time into account
2015-09-01 22:37:20 +02:00
cpfeiffer
a6d18e599b
Tiny simplification and extract string
2015-09-01 22:34:04 +02:00
cpfeiffer
917801f223
Use the correct date for displaying steps #91
2015-09-01 22:13:30 +02:00
Andreas Shimokawa
fd789c445e
Allow dismissal of individual (generic) notification
...
Implemented for Pebble and Pebble Time #103
2015-09-01 22:00:11 +02:00
cpfeiffer
5c2bd1e8df
Avoid code duplication by reusing logMessageContent()
2015-09-01 21:26:51 +02:00
Andreas Shimokawa
46171e4ab8
Some preparations for interactive notifications
2015-08-31 22:27:25 +02:00
Andreas Shimokawa
2da717ea4c
set visibility of service notification to public again
2015-08-31 21:29:00 +02:00
Daniele Gobbetti
ee3ca5998e
Fail early when opening a pebble file.
...
Fixes #102
We could also use a whitelist approach instead, but we can't be sure that the user installs a file with .fw extension, hence i preferred to only avoid loading files which are known to be of the wrong type.
2015-08-31 17:41:09 +02:00
Daniele Gobbetti
9360b81ef3
Don't add new limitlines, clean the existing one before (it could be optimized further by reusing the existing one, probably)
2015-08-31 17:41:09 +02:00
Daniele Gobbetti
249ff5bf94
Let the user change date also on the Week steps chart
2015-08-31 17:41:09 +02:00
Andreas Shimokawa
face7cceea
probable close #104
2015-08-31 17:31:32 +02:00
Andreas Shimokawa
95b65265b4
remove eventClass field from GBDeviceEvent, use instanceof instead
2015-08-31 17:25:58 +02:00
cpfeiffer
50960277dd
Localized some firmware update texts and added some toasts on finish
2015-08-30 21:56:45 +02:00
cpfeiffer
41d8bcf634
Make firmware and app installation a bit more user friendly #30
2015-08-30 00:21:51 +02:00
cpfeiffer
530116976c
Only call super.onCharacteristicChanged() when not handling it here
2015-08-29 20:48:33 +02:00
cpfeiffer
25ddc20f89
Fix testcases with sdk 23: don't call Notificaton API during local tests
2015-08-29 20:39:34 +02:00
Andreas Shimokawa
13300fcb5d
finally fix build with SDK 23
2015-08-29 11:31:48 +02:00
Daniele Gobbetti
26792717d4
Add showing when the device wasn't worn by the user
2015-08-28 14:58:30 +02:00
Daniele Gobbetti
fb5ebeacb6
Light colors for the graphs.
...
Closes #99
2015-08-28 14:58:30 +02:00
cpfeiffer
086bb8aa4a
Also parcel the battery level threshold
2015-08-28 13:53:16 +02:00
cpfeiffer
ff989390f9
Fix the remaining TODO #101
2015-08-28 13:49:36 +02:00
Daniele Gobbetti
2f1aa45445
Merge remote-tracking branch 'origin/master' into low_battery_notification
2015-08-28 10:40:46 +02:00
Daniele Gobbetti
cbea0feb9e
Centralize the calendar conversion to/from byte array take 2.
...
Move to an independent class.
2015-08-28 10:40:25 +02:00
Andreas Shimokawa
2ca8e149ee
Pebble: support "dismiss all" action also on Pebble Time/FW 3.x notifications
...
This is done through a workaround, now we just label it as a generic action and reply properly to the invocation from the Pebble.
Fixes #86
2015-08-27 18:01:19 +02:00
Andreas Shimokawa
44c7f99c58
GBDeviceProtocol::decodeResponse() now returns an array GBDeviceEvents
...
This allowed to remove some ugly hacks from pebble code, when encoding a
response in a GBDeviceEventSendBytes and at the same time trying to notify
generic code via another GBDeviceEnvent.
2015-08-27 15:02:29 +02:00
Daniele Gobbetti
3a6e433fb3
Merge remote-tracking branch 'origin/master' into low_battery_notification
2015-08-27 13:12:29 +02:00
Daniele Gobbetti
677e0808bf
Centralize the calendar conversion to/from byte array.
2015-08-27 13:12:09 +02:00
Daniele Gobbetti
7923e153e6
Moved the enum to standalone in the model package.
2015-08-27 11:50:31 +02:00
Andreas Shimokawa
027e6fe8c3
Pebble: add more Datalogging endpoint debug output
2015-08-26 23:17:32 +02:00