Commit Graph

1491 Commits

Author SHA1 Message Date
cpfeiffer 808e12d680 A little more WIP 2016-05-05 10:19:01 +02:00
Andreas Shimokawa 65a95366f4 Mi Band: Allow setting low-latency FW update mode in Mi Band development settings 2016-05-04 13:24:32 +02:00
Andreas Shimokawa 045d5119ff Do not update summary for checkbox preference
Was causing summary to get overwritten by "true" or "false" when changing preferences
2016-05-04 13:07:11 +02:00
Andreas Shimokawa 619a17425f Mi Band: Display hint about starting Activity Activity instead of App Manager
TODO: Fix the string, I have no idea how to properly name the Activity Activity
2016-05-04 12:31:29 +02:00
cpfeiffer 70eaca8883 Further WIP towards greendao:
- for now, use a custom version of greendao with the fix 39ac07be550c5f5b6fd265c8870f58015c95e908
- use a superclass for activity sample classes that provides value normalization using SampleProvider
2016-05-01 23:56:14 +02:00
cpfeiffer 827e10f49e Updated Mi Band features 2016-05-01 22:03:40 +02:00
cpfeiffer 4744d8b59e Some more WIP towards greendao. Note: does not compile atm. 2016-05-01 00:19:15 +02:00
cpfeiffer fc89194396 Update to greendao 2.2 2016-04-30 23:42:22 +02:00
cpfeiffer b15ffcbf15 Sigh -- looks like I will have to find a less intrusive way to change the application id 2016-04-29 23:24:12 +02:00
cpfeiffer 7d15d4ff42 Also update the package name in the manifest 2016-04-29 23:19:19 +02:00
cpfeiffer b363d08efb WIP: a little work towards greendao
need to think of how to integrate MiBandActivitySample and PebbleActivitySample
into the app. There's GBActivitySample, MiBandSampleProvider, PebbleSampleProvider,
etc.
2016-04-29 23:12:30 +02:00
cpfeiffer 403a14ce8d Use a different application id until the db refactoring is done
This allows installing both versions at the same time and avoids
data loss when the database is scrubbed.
2016-04-29 22:50:37 +02:00
cpfeiffer 64a6b9a936 Merge branch 'master' into db-refactoring 2016-04-29 22:28:53 +02:00
cpfeiffer 6863fababe Update changelog and prepare for 0.9.6 2016-04-29 22:07:16 +02:00
cpfeiffer 10d7274aa1 Fix testcases (all this should be scrapped and redone with e.g. robolectric) 2016-04-29 21:58:08 +02:00
cpfeiffer 5e02724c4c Make automatic reconnect after connection loss configurable #293
Mi Band: automatically reconnect when the device is back in range

Also: #89
2016-04-28 23:17:13 +02:00
cpfeiffer eca5d40efe More javadoc 2016-04-26 00:02:35 +02:00
Andreas Shimokawa e1551226f6 Reject empty strings in Preferences for numeric inputs 2016-04-25 23:51:58 +02:00
cpfeiffer 47984dba0a javadoc 2016-04-25 23:45:27 +02:00
cpfeiffer e35ce978bd Remove now unused imports + fix one more SharedPreferences usage 2016-04-25 23:43:19 +02:00
cpfeiffer 0704915a88 Move parsing of preference strings to int values to Prefs 2016-04-25 23:39:03 +02:00
cpfeiffer 0c715a2669 Wrap access to SharedPreferences with "Prefs"
(to centralize quirk handling)
2016-04-25 23:18:55 +02:00
cpfeiffer b89eb14be7 allow two digits for number of call notifications (e.g. 60) 2016-04-25 00:13:09 +02:00
cpfeiffer 65bd1581bc Fix receivers, display measured heart rate as a toast again, fixes #292 2016-04-24 18:17:04 +02:00
Andreas Shimokawa 36a34bd17c fix remaining strings saying "App Mananger". Closes #290
(I fixed on transifex where possible, unfortunately some strings vanish there from time to time, I guess it is the case when the english string changes)
2016-04-24 11:37:18 +02:00
Andreas Shimokawa abe1c9070f update German and Korean from transifex, thanks! 2016-04-24 11:32:09 +02:00
Andreas Shimokawa 18fe09bb7c make add icon on FAB white 2016-04-23 23:31:19 +02:00
Andreas Shimokawa 3fefb57fdd Fix colors in alarm activity for dark theme 2016-04-23 23:24:56 +02:00
cpfeiffer d5639a0520 Updated translations from transifex (thanks!) 2016-04-21 23:32:49 +02:00
cpfeiffer c573f989d0 Prepare for 0.9.5 2016-04-21 23:13:06 +02:00
cpfeiffer 0427294227 Dynamically enable/disable logging #288 2016-04-18 00:20:40 +02:00
cpfeiffer a45eacf9b8 WIP: schema update, ... #206 2016-04-17 19:52:51 +02:00
cpfeiffer 97cac282c8 Merge branch 'master' into db-refactoring 2016-04-15 23:05:16 +02:00
cpfeiffer 98d7237ec3 Display a different notification icon, when disconnected
Better icons welcome :-)
2016-04-15 22:57:13 +02:00
Andreas Shimokawa fe310a9df8 Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge 2016-04-15 08:59:58 +02:00
Andreas Shimokawa 7c21f2872a fix travis build 2016-04-15 08:50:26 +02:00
cpfeiffer e451e8155c Remember the map so that we can look up the name later, as well, closes #275 2016-04-14 23:55:40 +02:00
cpfeiffer a8279faa5b Merge branch 'master' into db-refactoring 2016-04-14 23:28:00 +02:00
cpfeiffer a460049a1b Sort by label and blacklist status, hopefully fast enough #275 2016-04-14 23:23:06 +02:00
Andreas Shimokawa a9e7cdcaa7 use some colors from the theme for charts activity 2016-04-14 17:41:04 +02:00
Andreas Shimokawa a9b75a63b3 simply derive AbstractGBFragmentActivity from GBActivity instead of FragmentActivity
This fixes the Actionbar being invisible
2016-04-14 17:16:43 +02:00
Andreas Shimokawa 46086f0408 allow dark theme in charts activity.
The charts however are still the same
2016-04-14 17:04:49 +02:00
Andreas Shimokawa faa6a9d906 use android:summary="%s" for ListPreferences 2016-04-14 16:44:44 +02:00
Andreas Shimokawa f76a1ba16f allow to switch to dark theme im settings 2016-04-14 16:15:58 +02:00
Andreas Shimokawa 367aced03d also use theme in settings 2016-04-14 15:34:53 +02:00
Andreas Shimokawa 4bcebca744 Work towards dark theme, remove -v21 specific theme definition 2016-04-14 15:21:25 +02:00
Andreas Shimokawa a9b4ea8eda bump buildToolsVersion 2016-04-14 15:17:08 +02:00
Andreas Shimokawa 24cc3725d2 equalize size of connected and disconnected device icons 2016-04-14 11:07:44 +02:00
cpfeiffer b25a47c398 Immediately disable hr reading and activity tracking when leaving the tab #273 2016-04-13 23:36:14 +02:00
cpfeiffer e87a357bed Show separate curves when the time between two measurements is too long #273 2016-04-13 21:38:35 +02:00