Commit Graph

798 Commits (dcd776e09ae4e4639dc01821413d22c96ee58413)

Author SHA1 Message Date
cpfeiffer dcd776e09a Attempt to fix never finishing activity data fetching #142
(by disabling unrelated notifications)
2015-10-18 22:27:52 +02:00
cpfeiffer 99470c67ff Added ticket numbers 2015-10-18 21:41:46 +02:00
cpfeiffer 4cdfea25f9 Updated for 0.6.4 (Mi Band 1A) 2015-10-18 21:36:39 +02:00
cpfeiffer 7a44ea9596 Small comment 2015-10-18 21:33:07 +02:00
Carsten Pfeiffer e0289f63ce Merge pull request #145 from sarg/master
Pairing support for MI1A
2015-10-18 21:28:41 +02:00
Sergey Trofimov d57c6166b9 Fix pairing with MI1A 2015-10-18 21:54:22 +03:00
Sergey Trofimov 7591d4a8af Fix typo 2015-10-18 18:29:41 +03:00
Carsten Pfeiffer 1073303849 Merge pull request #144 from sarg/master
Initial support for newer MI devices.
2015-10-18 09:57:13 +02:00
Sergey Trofimov a1fd31c260 Show toast when no valid DeviceSupport found for pairing. 2015-10-18 09:34:51 +03:00
Sergey Trofimov 1c1f8e8535 Make DeviceSupportFactory recognize device names starting with MI 2015-10-18 09:20:18 +03:00
Andreas Shimokawa f0a1d5f8a0 update CHANGELOG.md, bump version, pull translation from transifex (thanks!) 2015-10-18 09:22:11 +09:00
cpfeiffer e755e9f51f updated 2015-10-18 01:40:59 +02:00
cpfeiffer b43e96318a Also support pulldown to sync in ControlCenter #138
Should factor out some common code between ChartsActivity
and ControlCenter, though.
2015-10-18 01:39:25 +02:00
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