cpfeiffer
c27459b6cc
It's recommended to cancel discovery before connecting
2015-11-01 23:32:25 +01:00
cpfeiffer
952a383856
Use batched database commits for Mi Band activity samples
2015-11-01 21:41:36 +01:00
cpfeiffer
d4f070f0aa
Simplify external dir handling again -- prefer the primary dir
...
The primary external dir is often a user-partition on the internal
storage medium. This one is safe in multi-user environments.
The "removable storage" (sdcard) on the other hand can be read by
everyone. If the former is not available or not writable, use the
latter.
closes #153
2015-11-01 20:49:50 +01:00
cpfeiffer
8920f5e95b
Test fixing problem with non-writable getExternalFilesDir() #153
2015-10-29 00:46:52 +01:00
cpfeiffer
1f599c660f
Improved file and error handling
2015-10-28 23:54:08 +01:00
cpfeiffer
694b3d897f
Some Javadoc
2015-10-26 23:32:03 +01:00
cpfeiffer
a7ebed94f7
Update to logback-android 1.1.1-4
2015-10-26 22:55:24 +01:00
cpfeiffer
39c7a853c8
Improve error logging: #153
2015-10-26 22:45:43 +01:00
Carsten Pfeiffer
695f83e19e
Merge pull request #152 from aafa/master
...
ru locale updated
2015-10-26 22:40:12 +01:00
Andreas Shimokawa
b99b9bbb75
bump version to 0.6.5, update CHANGELOG.md and README.md
2015-10-25 21:28:35 +09:00
Alexey Afanasev
dde32f5a3f
ru locale updated
2015-10-25 14:28:08 +03:00
cpfeiffer
54c316778b
Add exception to GB.toast() to get it logged
2015-10-25 00:13:32 +02:00
cpfeiffer
dd0ba8a230
Updated
2015-10-25 00:10:47 +02:00
cpfeiffer
4200e77016
Disable activity data fetching when not supported
...
Closes #149
2015-10-24 23:28:55 +02:00
Andreas Shimokawa
f287c04ad9
Pebble: simplify Misfit data parsing, since all assumptions seem to be wrong :/
2015-10-24 11:12:40 +09:00
Andreas Shimokawa
4b9304b897
fix
2015-10-23 23:55:23 +09:00
Andreas Shimokawa
59f4766bc5
no comment
2015-10-23 23:18:36 +09:00
Andreas Shimokawa
e809c490dc
add method for batch inserts in ActivityDatabaseHandler. Closes #150
2015-10-23 22:13:12 +09:00
cpfeiffer
0cd9b0419c
Updated translations from transifex (thanks!)
2015-10-23 00:31:19 +02:00
Andreas Shimokawa
4aff3c8e8e
Pebble: try to improve Misfit steps parsing. Should be really close now.
2015-10-22 23:56:45 +09:00
cpfeiffer
c350f04fa9
Make "Locate device" work with newer firmware and MI1A. ( #136 )
...
Separate the different notification logic into distinct strategy classes.
2015-10-22 00:53:27 +02:00
cpfeiffer
88fb81f921
Make onStartCommand() synchronized, to be sure
...
(or does Android take care of not calling this concurrently?)
2015-10-22 00:52:45 +02:00
cpfeiffer
ac120dc7d6
Small improvement to connect()
2015-10-22 00:32:16 +02:00
cpfeiffer
3b94a96060
Fix some warnings
2015-10-21 23:29:37 +02:00
Andreas Shimokawa
44a36a5f1d
Pebble: First try to receive at least steps from the Misfit pebble watchapp
2015-10-21 23:11:59 +09:00
cpfeiffer
aa5749cd40
Some improvements to live activity.
...
Still rather inaccurate due to missing timing information.
2015-10-21 00:36:18 +02:00
cpfeiffer
52f3ca5253
Always name things positively. Negating things is bad for comprehension :-)
2015-10-19 23:36:10 +02:00
cpfeiffer
5a3990b9d2
Guard logging with LOG.isDebugEnabled()
2015-10-19 20:56:56 +02:00
Carsten Pfeiffer
4096e50681
Merge pull request #146 from sarg/master
...
Fix DeviceInfo checksum function.
2015-10-19 20:56:49 +02:00
Daniele Gobbetti
cee03debbb
- add code to send the confirmation of the activity data transfer after a timeout.
...
==> This is currently commented out because it was done to solve #141 but while doing this #143 popped out.
- send a stop_sync message to the band if the data doesn't fit the buffer. This way the data remains on the band.
2015-10-19 16:17:03 +02:00
Daniele Gobbetti
6460b391d9
Be dump the content of the notification to the debug log
2015-10-19 15:16:21 +02:00
Sergey Trofimov
94cbf2f301
Fix DeviceInfo checksum function.
2015-10-19 15:02:56 +03:00
cpfeiffer
4e0fed8857
Improvements to how and when alarms are sent to the device
...
They are now sent whenever the Alarms activity is finished.
Display "All alarms disabled" when no alarm is enabled.
Unrelated: pass exceptions to GB.toast() where applicable.
2015-10-18 23:52:59 +02:00
cpfeiffer
86d17c7792
Pass the exception to GB.toast()
2015-10-18 23:43:27 +02:00
cpfeiffer
ef15bf8ce8
Prevent firmware update for Mi Band 1A for now #136
2015-10-18 22:57:04 +02:00
cpfeiffer
8d62a16176
Update appcompat libs to 23.1.0
2015-10-18 22:56:44 +02:00
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