cpfeiffer
f48729cc64
Pie Charts: some improvements wrt the labels
...
Still room for optimization.
Thanks to Alberto!
2017-04-05 00:08:17 +02:00
walkjivefly
f0d81818b3
Swap deep and light sleep colours in charts
...
This partially "fixes" issue #442 . The effect of the change is
purely cosmetic: deep sleep is (once again) dark blue, light sleep
is (once again) light blue.
2017-04-02 19:49:55 +02:00
walkjivefly
f321a4bac5
Correct camel-case for mVisibleInActivity
2017-04-01 23:16:00 +02:00
Daniele Gobbetti
e89ba529c3
Apply some Material design guidelines to the charts
...
- replace the PagerTabStrip with a TabLayout (moved to top and scrollable)
- move the date selection to the bottom
- do not update the activity title as the tab name is much more visible now
2017-04-01 17:47:54 +02:00
Daniele Gobbetti
9a0439c6e0
Apply some Material design guidelines to the app management
...
- replace the PagerTabStrip with a TabLayout (moved to top)
- change the row element to adhere to the guidelines wrt spacing
- move the FAB a bit and hide it when scrolling down, scroll up to reveal it again
2017-04-01 17:06:38 +02:00
Andreas Shimokawa
173b4fbbe6
Add legend ans labels to weekly sleep charts
...
Also remove the "missing sleep" gray entry to avoid confusion
2017-03-31 23:42:25 +02:00
Daniele Gobbetti
f80215b37a
Use standard recyclerview for app reordering
...
- allow dragging by using a drag handler (as per best practice)
- remove the custom draglistview dependency
- update to the latest android support libraries
2017-03-31 18:17:53 +02:00
Daniele Gobbetti
d550defcb3
Do not save an alarm as "smart" if the device does not support it ( #612 )
...
Opening the activity when a device that does not support smart alarms is connected hides the "smart alarm" toggle. This is now reflected also on the saved data.
This solution is not ideal in case of multiple devices but as long as #577 is not solved its the best we can do.
2017-03-26 17:57:03 +02:00
cpfeiffer
14552a1a80
Disable live activity tracking when activity is paused
...
Fixes #496
2017-03-20 23:01:28 +01:00
Andreas Shimokawa
5d042cf3c8
Fix weekly charts to display the same value for every day Android < 7
...
Closes #604
2017-03-18 17:13:35 +01:00
License Bot
6a842c52fa
Update license header in all java files.
2017-03-16 17:36:15 +01:00
Andreas Shimokawa
408dd9c26f
Do not try to request k9 permissions in CCv2, we dont need it
2017-03-16 17:20:18 +01:00
cpfeiffer
5d96df3508
Mi2: add hint about intermediate firmware 1.0.0.53
2017-03-14 23:45:30 +01:00
Daniele Gobbetti
0ac77fc0a4
Remove the legacy ControlCenter and its usages. Add New GUI to the changelog.
2017-03-11 19:49:57 +01:00
Daniele Gobbetti
183d89dc47
Show the full changelog when selecting the Changelog entry in the navigation drawer.
...
Show a line separator between groups of icons in the navigation drawer.
2017-03-11 17:10:51 +01:00
Daniele Gobbetti
8117caf73c
Merge branch 'master' into new_GUI
2017-03-11 16:44:16 +01:00
Andreas Shimokawa
fe870ebc77
Move step goal generic, show proper sleep goal in weekly sleep goal
...
It is now also accessible via "About You" but still remains in the Mi Band Settings
(because it has to be setup initially by a "wizard")
2017-03-11 11:34:03 +01:00
License Bot
e392fbfd80
Add license header to all java files.
2017-03-10 14:53:19 +01:00
Translation Bot
3abbe12b53
Merge branch 'master' into new_GUI
2017-03-08 21:42:52 +01:00
cpfeiffer
58e2538c4e
Discovery: handle the case where a device is already bonded
2017-03-04 16:03:36 +01:00
Andreas Shimokawa
a90e0074fc
Change weekly sleep charts to display sleep from 12:00-12:00 instead of 0:00-0:00
2017-03-03 17:33:00 +01:00
Andreas Shimokawa
9b2f47d10a
Improvements to week sleep chart
...
Time to close #557
2017-03-03 14:21:59 +01:00
Andreas Shimokawa
ac1875eea0
Charts: In "Sleep a week" chart display light and deep sleep as stacked bars
2017-02-26 21:41:27 +01:00
Daniele Gobbetti
176cf79cc1
Merge branch 'master' into new_GUI
...
# Conflicts:
# app/build.gradle
2017-02-26 16:55:54 +01:00
Andreas Shimokawa
8b39ef3a52
Speedup for charts by caching aggregated sleep amounts and steps for maximum 32 days
2017-02-26 00:40:50 +01:00
Daniele Gobbetti
e7846f4754
Pebble: override the native navigator.geolocation GetCurrentPosition
...
The native method requires FINE location permission, and we don't have it. Further we should handle the runtime permission request.
2017-02-25 13:31:48 +01:00
Andreas Shimokawa
08080b02bb
Drop support for legacy (pre 0.12.0) database
2017-02-23 22:44:44 +01:00
cpfeiffer
49e1b55ad8
Format center-text for week-sleep-pie
2017-02-23 21:15:57 +01:00
Andreas Shimokawa
437ec6c9b7
Minor improvements to the WIP week sleep chart
2017-02-23 08:50:31 +01:00
Andreas Shimokawa
e9cb5fd374
WIP sleep in a week chart
...
Displays minutes which is confusing
Only displays deeps sleep (no idea why)
Is green (which is also confusing)
2017-02-21 16:20:42 +01:00
Andreas Shimokawa
f35e3e460d
remove K9 receiver as is works better with generic notifications
2017-02-09 17:35:46 +01:00
cpfeiffer
ec6a8b6743
MI: some more logging
2017-01-28 23:25:15 +01:00
cpfeiffer
ba7d13fa5d
Disable smart alarms for Mi2
...
Closes #471
2017-01-26 21:09:49 +01:00
Andreas Shimokawa
f81ff8591b
Pebble: add a FAB in App Manager which launches a file manager to chose a file
...
This is similar to #247 but simpler and using a FAB, also it explicitly targets our Activity instead of allowing to open a video in a video player which using this feature
Also suggested in #520
2017-01-26 17:23:28 +01:00
Andreas Shimokawa
e19ea26478
Merge pull request #513 from ivanovlev/master
...
Simplification of transliteration integration
2017-01-26 16:13:54 +01:00
cpfeiffer
ac68bfe351
Mi Band 1+2: backend implementation of making BT pairing optional
...
- cleaned up the DeviceService.connect() variants
- discovery: pass the device candidate around instead of the mac address
Attempts to fix #512 , #514 , #518
2017-01-26 00:16:38 +01:00
ivanovlev
06295abcb6
Simplification of transliteration integration
2017-01-24 21:04:06 +03:00
Andreas Shimokawa
d9d153c463
move WeatherNotificationConfig.java to its previous location to fix a crash
2017-01-15 12:43:26 +01:00
Daniele Gobbetti
4dfef382a9
Pebble: change the overflow menu of the weather system app.
...
If the weather notification app is not installed, link to fdroid (app if installed, web page of the app if not).
If the weather notification app is installed, show the options to activate and deactivate it.
2017-01-14 18:19:41 +01:00
cpfeiffer
1e24fa7ad8
Dummy weather notifucation config activity
2017-01-14 00:26:47 +01:00
Andreas Shimokawa
c6999713d2
Pebble: use Notifications system app as parent UUID for notifications
2017-01-09 15:11:50 +01:00
Daniele Gobbetti
3280607cc9
Pebble: hide the weather app menu entries on apps that aren't the weather app.
2016-12-31 10:15:08 +01:00
Daniele Gobbetti
e477d22c88
Pebble: support the system weather app.
...
- enable/disable weather app from the watchapp list
- convert weather data to a format that can be displayed by the system app
TODO: send the weather data periodically
2016-12-30 20:14:13 +01:00
Daniele Gobbetti
353bd4651b
Show Gadgetbridge in the "share" system dialog for installing firmwares, apps etc.
2016-12-27 12:20:59 +01:00
cpfeiffer
bb8aff8c99
Fix axis label color live activity (dark theme)
2016-12-26 12:51:20 +01:00
cpfeiffer
da494cde7b
Handle live activity for Mi2 and Mi1 in the same way #448
...
Realtime samples now use ActivitySample.NOT_MEASURED for unknown or
invalid values.
2016-12-26 12:51:12 +01:00
cpfeiffer
8719cadc43
Mi Band: fix live activity messing up stepcount #448
...
live samples now report relative steps, not absolute to the current
day's stepcount.
Also live samples' steps should NOT be added to the database since
they are already counted in the regular stepcount.
2016-12-26 01:38:20 +01:00
cpfeiffer
305bd7600c
Fix current realtime steps calculations #450
...
timestamp is already in seconds instead of milliseconds
Also: port to REALTIME_SAMPLES
2016-12-26 00:23:02 +01:00
cpfeiffer
321c288e27
Fix compilation
2016-12-15 20:59:55 +01:00
cpfeiffer
d12103e95d
Merge branch 'master' into new_GUI
2016-12-15 20:31:04 +01:00