Andreas Shimokawa
5860c4f4f9
Pebble: WIP support for flashing language files (.pbl)
...
NOTES:
- YOU SHOULD NOT TRY THIS YET ;)
- This was only tested with the unoffical japansese language pack
- Problably needs proper crc calculation (I just hardcoded the one for the japanese language pack)
2015-10-06 23:56:01 +09:00
cpfeiffer
7dce1d62b0
Updated translations from transifex (thanks!)
2015-10-04 19:49:41 +02:00
Andreas Shimokawa
d21b5e68b5
Pebble: Cleanup AppMessage handlers
2015-10-04 22:53:11 +09:00
Andreas Shimokawa
a4a59f5df4
fix hexdump() when using an offset with -1 as length (= full length)
2015-10-04 22:42:21 +09:00
cpfeiffer
0d27245dd1
Some more translations + reoder live activity layout
2015-10-04 00:17:24 +02:00
cpfeiffer
27aa660ca4
Use proper ellipsis
2015-10-04 00:05:26 +02:00
cpfeiffer
9db7d13a94
Log any exceptions during ble callbacks, if any #91
2015-10-04 00:00:53 +02:00
cpfeiffer
5b8bf468f5
Remove some superfluous checks
2015-10-03 23:52:33 +02:00
cpfeiffer
321c0ff125
Log when we get bogus timestamps #91
2015-10-03 23:42:22 +02:00
cpfeiffer
38c3a41279
Improve logging setup, should hopefully fix #107
2015-10-03 23:26:36 +02:00
cpfeiffer
2231dcbce3
Log GB's version
2015-10-03 22:30:11 +02:00
cpfeiffer
0a7366e458
Updated translations from transifex. Welcome Ukrainian! Thanks!
2015-10-03 21:45:40 +02:00
cpfeiffer
93523d7831
Fix crash introduced by translation before onCreate()
2015-10-03 10:08:48 +02:00
cpfeiffer
d6f9eac711
Revert to previous BLE connection method:
...
- first, connectGatt(true) to support automatic (re-) connection
- second, bluetoothGatt.connect() to connect immediately
2015-10-03 00:21:31 +02:00
cpfeiffer
586d959055
Merge branch 'master' into live-activity-data
2015-10-02 23:49:03 +02:00
cpfeiffer
baa2d0b27a
Displaying live activity data works well enough
2015-10-02 23:38:07 +02:00
cpfeiffer
c9e91bd708
Some work in enabling the history of step count
...
Doesn't work yet.
2015-10-02 00:07:19 +02:00
cpfeiffer
2149b18ae3
Yay, animating live activity data works.
...
Nice hack: MPAndroidChart supports animating values, but only animating
a new entry, going from zero to its actual value. We want to animate
a single entry changing its value.
Since it's just a single entry, we can let a custom animator do this
(without knowledge of any other entries).
2015-10-01 22:36:33 +02:00
Daniele Gobbetti
d14ccf1c5c
Get device name from the BLE Standard Characteristic.
...
Always log read and notify characteristics, even if unhandled.
Changed Log statements for write action to make them clearer.
2015-09-28 16:47:43 +02:00
Daniele Gobbetti
f8edf5c525
Move BLE standard characteristic and services debug names to the right class.
2015-09-28 16:28:08 +02:00
Daniele Gobbetti
18f952250a
First working code for vibrations on firmware version 1.0.10.14
2015-09-28 12:53:42 +02:00
Daniele Gobbetti
deea721090
Add verbatim Official BLE Services, Descriptors and Characteristics.
...
Move the already defined constants to these new classes.
2015-09-28 12:51:01 +02:00
cpfeiffer
4250a002b4
Merge branch 'master' into live-activity-data
2015-09-27 00:16:04 +02:00
cpfeiffer
0395977fde
Some work for properly animating our single (value-changing) entry
2015-09-27 00:10:33 +02:00
Andreas Shimokawa
4f5edb7231
update German translation
2015-09-26 21:33:55 +02:00
Andreas Shimokawa
e7e583a5ba
update translations (thanks)
2015-09-26 21:23:20 +02:00
Andreas Shimokawa
c8a08510ce
always initialize checkboxes AppBlacklistActivity, not only when App is in blacklist
...
Closes #129
2015-09-25 21:33:35 +02:00
Daniele Gobbetti
720eaa111d
Add generic service for immediate alert and prepare the code to support characteristics from different services
2015-09-25 17:45:06 +02:00
Andreas Shimokawa
e3533a2b18
Pebble: Allow muting (blacklisting) Apps from within generic notifications on the watch
...
Closes #113
2015-09-25 00:53:40 +02:00
Andreas Shimokawa
94ad7f2eb9
set type to SMS when receiving an SMS via generic notification listener
2015-09-24 17:26:40 +02:00
Andreas Shimokawa
1d41f2f8e4
Refactoring
...
The notfification APIs now use NotificationSpec as their only parameter, which
contains all information (required and optional ones).
We no longer have separate methods and actions for SMS/EMAIL/GENERIC anymore.
The type of notification is important now, not how we received them technically.
2015-09-24 14:45:21 +02:00
Daniele Gobbetti
e1ea8270ca
Add a progress notification for the activity data transfer.
2015-09-24 14:03:01 +02:00
Daniele Gobbetti
5578691321
Fix progress bar
2015-09-24 14:02:33 +02:00
cpfeiffer
8ba307657a
Migrate from MPAndroidChart 2.1.0 to 2.1.4
...
This actually makes our CustomLegendRenderer and CustomBarChart
unnecessary.
2015-09-24 00:04:21 +02:00
Andreas Shimokawa
ab78d167d9
update CHANGELOG.md
2015-09-23 23:53:16 +02:00
Andreas Shimokawa
3bb673d33a
Pebble Time Round support ("chalk" platform)
2015-09-23 23:20:49 +02:00
cpfeiffer
d9b4bbe550
Move activity data and progress manipulation into dedicated methods
...
I did this in trying to understand the code better and to easier allow
for error handling/transaction rollback to be added.
2015-09-23 23:16:42 +02:00
cpfeiffer
3852fcd756
Reuse MiBandDateConverter
2015-09-23 23:16:42 +02:00
Andreas Shimokawa
77b4bb9cf1
Mi Band: Do not whitelist 1.0.10.14 anymore, vibration seems to be broken with Gadgetbridge
2015-09-20 22:13:25 +02:00
Andreas Shimokawa
98b1abedac
Allow phone call notifications (also in call display) to be disabled in preferences
...
This will allow Pebble Dialer to handle these #106
2015-09-20 22:04:53 +02:00
Andreas Shimokawa
f6ef72e9fb
Pebble: fix some hardware revision strings to match strings in firmware json file
...
This should enable firmware upgrade on Pebble Time and might fix pbw installation on Pebble Time Steel
2015-09-20 18:27:41 +02:00
Andreas Shimokawa
60b24e004a
Pebble: Fix bug for Pebble Intent Notifications not arriving on FW 2.x
2015-09-19 21:35:02 +02:00
Andreas Shimokawa
0c4dbf75e0
Pebble: fix for PebbleKit AppMessages containing non-latin characters
2015-09-19 15:32:09 +02:00
Andreas Shimokawa
a3ef85d243
update German translation
2015-09-19 13:37:09 +02:00
Andreas Shimokawa
5fb6090be1
update Spanish translation (thanks)
2015-09-19 12:53:30 +02:00
Andreas Shimokawa
e1b02e1be4
Pebble: add option for PebbleKit support (default is disabled)
...
Also fix an endless loop when number of reconnects is set to 0
2015-09-19 12:49:34 +02:00
Andreas Shimokawa
e6a8a1a36c
Pebble: Better support for 8 and 16 bit integers in AppMessages
2015-09-18 00:03:34 +02:00
Andreas Shimokawa
041bd1a7f4
Treat Conversations messagess as chat messages, even if arrived via Pebble Intents (which is the default)
2015-09-17 23:08:05 +02:00
Andreas Shimokawa
a5ef952e37
Pebble: Implement WIP outbound communication with PebbleKit Android Apps
...
This improves #106
Pebblebike aka Ventoo works to some extent sometimes now ;)
2015-09-17 19:21:22 +02:00
Daniele Gobbetti
502c005a0e
Add a further intent filter to grab the firmware/apps from the download content provider. Tested to work with miband firmware on android 5.
2015-09-17 16:56:24 +02:00
Daniele Gobbetti
55341678b3
Add firmwares from the wiki.
2015-09-17 16:56:23 +02:00
Daniele Gobbetti
b73ff49681
Use data type constant instead of hardcoded value
2015-09-17 16:56:23 +02:00
Andreas Shimokawa
58bbcb0035
Pebble: allow to configure reconnect attempts
...
This should help #89
2015-09-17 15:31:12 +02:00
cpfeiffer
7dedff3ce1
Add missing \ before apostrophe
2015-09-16 20:05:52 +02:00
Carsten Pfeiffer
d5087a9daa
Merge pull request #128 from kevlarcade/translate
...
correct some french translate
2015-09-16 20:01:37 +02:00
Andreas Shimokawa
d8c096d931
Handle SMS/MMS as generic notification if disabled
...
(could serve as a workaround for #127 )
2015-09-16 01:09:03 +02:00
Andreas Shimokawa
6e3c839608
Allow to select preferred music player in preferences, closes #112
2015-09-16 00:53:54 +02:00
kevlarcade
78dafd6abc
correct some french translate
2015-09-15 11:59:42 +02:00
Andreas Shimokawa
de74a033f6
Try to support controlling multiple music players
...
This tries to control the last player that played a (new) song.
It is very limited since we cannot get the source of an intent.
Instead we try to guess from the Action.
The problem is that we cannot support players that use only the action "com.android.music.XXXX" and not something own.
Also try to blindly support getting spotify metadata (for testing #112 )
2015-09-15 01:36:33 +02:00
Julien Pivotto
21d59b23c1
Allow QKSMS notifications to be handled as a generic notification if SMS notification mode is set to "never"
...
This makes it possible to use the "Open on Phone" and individial dismiss feature with QKSMS.
2015-09-13 22:51:05 +02:00
Andreas Shimokawa
95e22a4e32
Pebble: Allow stopping apps though PebbleKit messages (also in the API)
2015-09-13 21:44:26 +02:00
Andreas Shimokawa
6fff4fb7ba
Pebble: support byte arrays for Appmessages (including PebbleKit ones)
2015-09-13 18:37:59 +02:00
Andreas Shimokawa
9a32be97cb
Pebble: work towards PebbleKit support #106
...
- Untested features have to be turned on.
- We will accept data from any source.
- One way, we do not send out replies.
This already works with the minimalistic sports demo from the sdk
2015-09-13 18:20:15 +02:00
Andreas Shimokawa
d3dbde6917
Some refactoring:
...
- Put Pebble icon ID constants in its own class
- remove ICON_ and COLOR_ prefixes from constants
2015-09-13 15:21:07 +02:00
Andreas Shimokawa
04086a3b4c
Merge pull request #122 from roidelapluie/colors
...
Pebble: Support Colors in notifications
2015-09-13 14:58:05 +02:00
Julien Pivotto
1027336591
Pebble: Support colors in 3.x notifications (Pebble Time)
...
* Generic notifications are still red
* Colors are in a separated static class
Closes #120 .
2015-09-13 14:54:43 +02:00
Julien Pivotto
eafb795874
Fix a small typo in gadgetbridge.model.ServiceCommand
2015-09-13 14:26:55 +02:00
Andreas Shimokawa
a73beceb44
Map a few more apps to NotificationKind
2015-09-13 13:48:21 +02:00
Andreas Shimokawa
4f80844016
noficicaion_kind -> notificationKind
2015-09-13 13:38:11 +02:00
Andreas Shimokawa
44d8294f8c
Pebble: use Hipchat icon for chat notifications on FW 3.x
2015-09-13 13:32:18 +02:00
Andreas Shimokawa
a85c04c02a
Pebble: use constant for icons where possible
2015-09-13 12:55:10 +02:00
Andreas Shimokawa
c046add965
Merge pull request #118 from roidelapluie/116
...
Pebble: Set application icons for generic notifications
2015-09-13 12:46:57 +02:00
Julien Pivotto
d50a82d495
Pebble: Set application icons for generic notifications
...
Closes #116 .
2015-09-13 00:39:53 +02:00
Andreas Shimokawa
7ba255080b
updaten translations from transifex (thanks!)
2015-09-12 23:30:02 +02:00
Andreas Shimokawa
637539861d
Merge pull request #115 from roidelapluie/notifications
...
Pebble: Use generic icon for generic notification instead of SMS icon on FW 3.x
This also adds a lot of constants for a bunch of icon IDs
2015-09-12 23:14:58 +02:00
Julien Pivotto
986e7e0450
Improve Pebble Time notifications icons
...
* Add a list of icons in the source code
* Generic notification now use the correct icon instead of the SMS icon
2015-09-12 22:14:36 +02:00
Andreas Shimokawa
70fcbbbe17
Add missing file, fixes build and #114
2015-09-12 19:20:28 +02:00
Andreas Shimokawa
914d1b9625
Make notification blacklist actually working
2015-09-12 00:19:36 +02:00
Andreas Shimokawa
03b9f02b2c
Pebble: allow launching internal Golf and Sports App if untested features are enabled
...
This is completely useless for now, but since it is there on every Pebble, I want to be able to launch it.
2015-09-10 23:07:42 +02:00
Andreas Shimokawa
0ad758fbca
WIP blacklist activity (currently does nothing except listing apps)
2015-09-10 13:48:54 +02:00
cpfeiffer
80d15573af
Avoid tiny window where a gatt callback of an operation could be unset
2015-09-10 00:00:52 +02:00
cpfeiffer
c23905070c
Some more logging improvelets
2015-09-09 23:39:57 +02:00
cpfeiffer
22a9ff1819
Log when no listener is registered for a characteristic change
2015-09-09 23:23:38 +02:00
cpfeiffer
e80a3cc591
Log the number of samples being flushed #91
2015-09-09 22:33:06 +02:00
cpfeiffer
e0ccb6bf84
Log the date/time that we sync to the Mi Band #91
2015-09-09 21:53:28 +02:00
cpfeiffer
d9d222ca9b
Tiny logging improvement
2015-09-09 21:15:29 +02:00
cpfeiffer
bddf6c8909
Also log the number of rows (samples) returned by the query #91
2015-09-09 20:52:04 +02:00
cpfeiffer
2dec5574cc
Log the where condition of the samples query #91
2015-09-09 20:49:17 +02:00
cpfeiffer
e34c5614d7
Bail out hard if we get negative steps from the database #91
...
We don't add them to the db for sure.
2015-09-09 20:46:50 +02:00
Andreas Shimokawa
7f331a1bb1
Pebble: play around with timeline pins
2015-09-08 14:15:46 +02:00
cpfeiffer
518b1ee6f4
Merge branch 'master' into live-activity-data
2015-09-07 21:41:02 +02:00
Daniele Gobbetti
6c28b50f52
allow the transfer of activity data without clearing MiBand's memory
2015-09-07 12:06:56 +02:00
cpfeiffer
020d758f69
Updated translations
2015-09-06 21:13:10 +02:00
cpfeiffer
1711a7a731
Merge branch 'master' into live-activity-data
2015-09-06 00:46:50 +02:00
cpfeiffer
b979a1feff
Renamed "Discover Device" to "Connect new Device"
...
This disambiguates it from "Find lost Device"
2015-09-06 00:35:34 +02:00
cpfeiffer
9ffa9ca870
Fix lint warning (perfomance improvement)
2015-09-06 00:29:23 +02:00
cpfeiffer
fbd23c2d4c
Some layout improvements ( #30 )
2015-09-06 00:03:56 +02:00
cpfeiffer
ed6629a9c7
Updated translations from transifex (thanks!)
2015-09-05 23:11:40 +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