Commit Graph

859 Commits

Author SHA1 Message Date
cpfeiffer a7a061e298 Update gradle built tools to 1.5 2015-11-23 22:11:16 +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 52047b615c Drop minSDKVersion to 18 #174
Please test :-)
2015-11-23 21:39:08 +01:00
cpfeiffer a53f1c21eb Simplification 2015-11-23 21:39:08 +01:00
Carsten Pfeiffer be644befb4 Merge pull request #171 from nico202/master
Fixed italian typo
2015-11-23 00:39:30 +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 ea98e207d9 bump version, update CHANGELOG.md 2015-11-15 10:32:43 +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 5864189b91 Update changelog 2015-11-09 23:56:46 +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
Carsten Pfeiffer 193d74879a Merge pull request #161 from sarg/master
Correct buildTools version in travis.yml
2015-11-09 22:32:07 +01:00
Sergey Trofimov fc2cc3adb4 attempt travis fix
use same suggestion as per
https://github.com/travis-ci/travis-ci/issues/5036
2015-11-09 11:13:08 +03:00
Sergey Trofimov b70fbeccc9 Correct buildTools version in travis.yml 2015-11-06 17:39:07 +03:00
cpfeiffer 753286a341 Update translations from transifex (thanks!) 2015-11-03 20:44:57 +01:00
cpfeiffer da5acf748a Update changelog 2015-11-03 20:44:36 +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 d8960c4e16 Update some dependencies 2015-11-01 23:32:43 +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 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