1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-09 15:11:34 +02:00
Commit Graph

785 Commits

Author SHA1 Message Date
cpfeiffer
1e56e540fa Remove hardcoded equals("MI") in favor of DeviceCoordintator #136 2015-10-18 01:01:13 +02:00
cpfeiffer
2c29384ee8 Updated 2015-10-17 17:11:41 +02:00
cpfeiffer
45fc2c181c Add pulldown to sync and tabs in the charts activity #138 2015-10-17 17:10:14 +02:00
Andreas Shimokawa
a9186791dc register/unregister receivers at runtime instead of enabling/disabling them via packagemanger 2015-10-16 00:23:16 +09:00
Andreas Shimokawa
85777f99e4 bump version to 0.6.3, allow up to ten dots in .pbl file names 2015-10-11 20:51:24 +09:00
Andreas Shimokawa
3410e90fb0 Set allowBackup to false (trying prevent BackupManager from killing us)
This could help #134
2015-10-11 10:52:01 +09:00
cpfeiffer
4533ae22ee Log otherwise uncaught exceptions (#134) 2015-10-07 23:32:58 +02:00
Andreas Shimokawa
600e7d59b5 update CHANGELOG.md and README.md 2015-10-07 22:39:58 +09:00
Andreas Shimokawa
262271dbd0 Pebble: calculate CRC for language files (.pbl) since they do not have a manifest
It should fix installation of all .pbl files (tested with Spanish, German, French and the inofficial Japanese language pack)
This also marks the return of the infamous STM32CRC, this time with hopefully fixed tail code.
2015-10-07 22:29:30 +09:00
Andreas Shimokawa
cd7acf6572 Pebble: Do not reboot after language file installation (does not seem to be necessary)
NOTE: This still does not work since crc calculation is missing
2015-10-07 00:44:29 +09:00
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
Andreas Shimokawa
4d6f8ec742 travis 2015-10-03 23:53:35 +09:00
Andreas Shimokawa
f33a5fd3a9 set buildToolsVersion to 23.0.1 to shut up Android Studio ;) 2015-10-03 23:25:06 +09:00
Andreas Shimokawa
a3e531155f bump version 2015-10-03 21:52:27 +09:00
cpfeiffer
0ff0c6d176 Mark live activity data as WIP -- again I got a spike 2015-10-03 10:10:22 +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
Daniele Gobbetti
2f0d4815b8 Update CHANGELOG.md 2015-10-02 11:24:15 +02:00
Daniele Gobbetti
ff2e8d1ce7 Update CHANGELOG.md 2015-10-02 11:24:02 +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
8fca35f94f try to fix tests 2015-09-26 22:24:52 +02:00
Andreas Shimokawa
4f5edb7231 update German translation 2015-09-26 21:33:55 +02:00
Andreas Shimokawa
949c49f2c9 Bump version, update CHANGELOG 2015-09-26 21:28:58 +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