Commit Graph

741 Commits (40d7f3b19f6cd7df70d3fcfa609d5a7cf600e7d7)

Author SHA1 Message Date
cpfeiffer 40d7f3b19f Improved log output for progress actions 2015-11-30 23:42:59 +01:00
cpfeiffer 4b42a9a4f6 Improved log output for abort actions 2015-11-30 23:42:59 +01:00
cpfeiffer 8585572197 Improved log output for plain actions 2015-11-30 23:42:59 +01:00
Andreas Shimokawa 17ba49374c Fix copy&paste error in K9Receiver.java, update CHANGELOG.md 2015-11-27 23:45:27 +01:00
Andreas Shimokawa c768107db8 Catch permission errors in K-9 Mail receiver. Closes #175. 2015-11-27 22:42:47 +01:00
cpfeiffer bd0716ba58 Some more lint warnings fixed 2015-11-23 23:04:46 +01:00
cpfeiffer 95dc67c98d Back to sdk level 19 (#173) 2015-11-23 22:49:11 +01:00
cpfeiffer 81c2f657bd Some lint fixes 2015-11-23 22:46:12 +01:00
cpfeiffer 4616dcc965 Handle case where notification.extras is not available #174 2015-11-23 22:09:47 +01:00
cpfeiffer 394a0905dc Avoid potential, but very unlikely NPE 2015-11-23 21:59:13 +01:00
cpfeiffer 4622b384f2 Add comment regarding commented out internet permission
(Pebble Emulator)
2015-11-23 21:42:35 +01:00
cpfeiffer c1d9777047 Remove superfluous minSDKVersion in AndroidManifest.xml 2015-11-23 21:41:06 +01:00
cpfeiffer a53f1c21eb Simplification 2015-11-23 21:39:08 +01:00
Nicolò Balzarotti 99c97ccda7 Fixed italian typo 2015-11-20 23:43:24 +01:00
cpfeiffer 34e08f6de8 Avoid potential NPE. Check for null first. 2015-11-18 23:21:56 +01:00
cpfeiffer 1e6db708d2 Fix NPE.
Now that is a really crappy API in Android that returns an array with null values.

closes #167
2015-11-18 23:18:01 +01:00
Andreas Shimokawa 1734e58f70 Pebble: Initial try to interpret sleep 2015-11-15 10:30:28 +01:00
cpfeiffer ebbb71ae9d Update MPAndroidChart to 2.1.6 2015-11-13 23:57:04 +01:00
cpfeiffer f349846f4a Another small change to BTLE device connection #156 2015-11-13 23:53:48 +01:00
cpfeiffer 2e267a4c2b Temporary workaround for totally wrong sleep stats
The reason being that we filter samples by activity kind
and then calculate the total sleep time using a delta between two
consecutive sample timestamps. But due to filtering of samples, not
all samples are consecutive. Instead of we have "holes" and add those
to your sleep time.

The data in the db is correct though (it always is), it's just the
display in the app that is wrong.
2015-11-09 23:56:46 +01:00
cpfeiffer d9722c6db2 Translate strings, remove unused variable 2015-11-09 23:56:46 +01:00
cpfeiffer 753286a341 Update translations from transifex (thanks!) 2015-11-03 20:44:57 +01:00
cpfeiffer 58cfd0fef9 For a start, connect with "false" #156
My connection problems went away with this. Let's see how it works out.
2015-11-03 20:23:48 +01:00
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 39c7a853c8 Improve error logging: #153 2015-10-26 22:45:43 +01: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 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