Nicolò Balzarotti
99c97ccda7
Fixed italian typo
2015-11-20 23:43:24 +01:00
cpfeiffer
753286a341
Update translations from transifex (thanks!)
2015-11-03 20:44:57 +01:00
Alexey Afanasev
dde32f5a3f
ru locale updated
2015-10-25 14:28:08 +03:00
cpfeiffer
0cd9b0419c
Updated translations from transifex (thanks!)
2015-10-23 00:31:19 +02:00
cpfeiffer
52f3ca5253
Always name things positively. Negating things is bad for comprehension :-)
2015-10-19 23:36:10 +02: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
Andreas Shimokawa
f0a1d5f8a0
update CHANGELOG.md, bump version, pull translation from transifex (thanks!)
2015-10-18 09:22:11 +09: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
45fc2c181c
Add pulldown to sync and tabs in the charts activity #138
2015-10-17 17:10:14 +02:00
cpfeiffer
7dce1d62b0
Updated translations from transifex (thanks!)
2015-10-04 19:49:41 +02:00
cpfeiffer
0d27245dd1
Some more translations + reoder live activity layout
2015-10-04 00:17:24 +02:00
cpfeiffer
27aa660ca4
Use proper ellipsis
2015-10-04 00:05:26 +02:00
cpfeiffer
0a7366e458
Updated translations from transifex. Welcome Ukrainian! Thanks!
2015-10-03 21:45:40 +02:00
cpfeiffer
baa2d0b27a
Displaying live activity data works well enough
2015-10-02 23:38:07 +02:00
cpfeiffer
2149b18ae3
Yay, animating live activity data works.
...
Nice hack: MPAndroidChart supports animating values, but only animating
a new entry, going from zero to its actual value. We want to animate
a single entry changing its value.
Since it's just a single entry, we can let a custom animator do this
(without knowledge of any other entries).
2015-10-01 22:36:33 +02:00
cpfeiffer
4250a002b4
Merge branch 'master' into live-activity-data
2015-09-27 00:16:04 +02:00
Andreas Shimokawa
4f5edb7231
update German translation
2015-09-26 21:33:55 +02:00
Andreas Shimokawa
e7e583a5ba
update translations (thanks)
2015-09-26 21:23:20 +02:00
cpfeiffer
8ba307657a
Migrate from MPAndroidChart 2.1.0 to 2.1.4
...
This actually makes our CustomLegendRenderer and CustomBarChart
unnecessary.
2015-09-24 00:04:21 +02:00
Andreas Shimokawa
98b1abedac
Allow phone call notifications (also in call display) to be disabled in preferences
...
This will allow Pebble Dialer to handle these #106
2015-09-20 22:04:53 +02:00
Andreas Shimokawa
a3ef85d243
update German translation
2015-09-19 13:37:09 +02:00
Andreas Shimokawa
5fb6090be1
update Spanish translation (thanks)
2015-09-19 12:53:30 +02:00
Andreas Shimokawa
e1b02e1be4
Pebble: add option for PebbleKit support (default is disabled)
...
Also fix an endless loop when number of reconnects is set to 0
2015-09-19 12:49:34 +02:00
Andreas Shimokawa
58bbcb0035
Pebble: allow to configure reconnect attempts
...
This should help #89
2015-09-17 15:31:12 +02:00
cpfeiffer
7dedff3ce1
Add missing \ before apostrophe
2015-09-16 20:05:52 +02:00
Carsten Pfeiffer
d5087a9daa
Merge pull request #128 from kevlarcade/translate
...
correct some french translate
2015-09-16 20:01:37 +02:00
Andreas Shimokawa
6e3c839608
Allow to select preferred music player in preferences, closes #112
2015-09-16 00:53:54 +02:00
kevlarcade
78dafd6abc
correct some french translate
2015-09-15 11:59:42 +02:00
Andreas Shimokawa
7ba255080b
updaten translations from transifex (thanks!)
2015-09-12 23:30:02 +02:00
Andreas Shimokawa
70fcbbbe17
Add missing file, fixes build and #114
2015-09-12 19:20:28 +02:00
Andreas Shimokawa
0ad758fbca
WIP blacklist activity (currently does nothing except listing apps)
2015-09-10 13:48:54 +02:00
cpfeiffer
518b1ee6f4
Merge branch 'master' into live-activity-data
2015-09-07 21:41:02 +02:00
Daniele Gobbetti
6c28b50f52
allow the transfer of activity data without clearing MiBand's memory
2015-09-07 12:06:56 +02:00
cpfeiffer
020d758f69
Updated translations
2015-09-06 21:13:10 +02:00
cpfeiffer
1711a7a731
Merge branch 'master' into live-activity-data
2015-09-06 00:46:50 +02:00
cpfeiffer
b979a1feff
Renamed "Discover Device" to "Connect new Device"
...
This disambiguates it from "Find lost Device"
2015-09-06 00:35:34 +02:00
cpfeiffer
9ffa9ca870
Fix lint warning (perfomance improvement)
2015-09-06 00:29:23 +02:00
cpfeiffer
fbd23c2d4c
Some layout improvements ( #30 )
2015-09-06 00:03:56 +02:00
cpfeiffer
ed6629a9c7
Updated translations from transifex (thanks!)
2015-09-05 23:11:40 +02:00
cpfeiffer
bc3c0760d0
More WIP with live activity charts
2015-09-05 23:05:57 +02:00
cpfeiffer
8f4e933e30
More WIP on live activity:
...
- keep screen on while live activity is visible
- hide the date bar (prev&forward buttons)
- live activity chart is still nowhere near usable
2015-09-04 21:55:29 +02:00
cpfeiffer
9a1f4875fc
Temporary backup with live activity
2015-09-03 23:20:47 +02:00
cpfeiffer
42420e676b
More WIP: displays live activity data
2015-09-02 23:49:06 +02:00
Andreas Shimokawa
bc98805809
add strings from live-activity-data branch to fix build
2015-09-02 23:07:15 +02:00
cpfeiffer
ab8982e7f2
WIP: support for live display of activity data
2015-09-02 08:02:26 +02:00
cpfeiffer
a6d18e599b
Tiny simplification and extract string
2015-09-01 22:34:04 +02:00
cpfeiffer
50960277dd
Localized some firmware update texts and added some toasts on finish
2015-08-30 21:56:45 +02:00
cpfeiffer
41d8bcf634
Make firmware and app installation a bit more user friendly #30
2015-08-30 00:21:51 +02:00
cpfeiffer
87a5b09e43
Updated translations from transifex (thanks!)
2015-08-29 23:01:50 +02:00
cpfeiffer
277e5821a5
Add type="color" to fix AS designer parse errors
2015-08-29 21:59:01 +02:00
cpfeiffer
184f81fc7a
Remove unused "Settings" entry in charts menu ( #100 )
2015-08-29 20:43:53 +02:00
Daniele Gobbetti
26792717d4
Add showing when the device wasn't worn by the user
2015-08-28 14:58:30 +02:00
Daniele Gobbetti
fb5ebeacb6
Light colors for the graphs.
...
Closes #99
2015-08-28 14:58:30 +02:00
Daniele Gobbetti
2f1aa45445
Merge remote-tracking branch 'origin/master' into low_battery_notification
2015-08-28 10:40:46 +02:00
cpfeiffer
75a1068a69
Added new french translation, thanks a lot, gnupyx!
2015-08-27 23:10:05 +02:00
Daniele Gobbetti
3356a4b066
Merge remote-tracking branch 'origin/master' into low_battery_notification
...
Conflicts:
app/src/main/res/values/strings.xml
2015-08-26 15:46:33 +02:00
cpfeiffer
d0fbc57cf1
Switched position of bar and pie chart
...
First comes the pie chart (details) now, the the bar chart (overview)
Maybe we should do this differently in the sleep and week-steps
fragments, but for a start, and having it consistently, this is how it is.
2015-08-25 23:14:52 +02:00
cpfeiffer
e8a12f92be
In landscape mode, give the bar chart more space than the pie chart
2015-08-25 23:10:11 +02:00
cpfeiffer
8128651bcc
In landscape format, layout bar and pie chart horizontally
2015-08-25 23:04:04 +02:00
cpfeiffer
e47ebb8f09
Improvements to charts
...
- backward and forward buttons work better
- buttons only refresh the current fragment now
- activity shows fragment-specific titles
2015-08-25 00:33:37 +02:00
cpfeiffer
9a3769aeba
Remove the "Test" widget
2015-08-24 13:15:58 +02:00
Daniele Gobbetti
eb39ce9367
Further improvements:
...
- append a string on the control center when the device is charging
- battery status string is no more, welcome battery state enum
- the notification will not be shown when the device is charging, even if the level is below threshold
2015-08-21 08:41:57 +02:00
Daniele Gobbetti
0d8adeb7f9
Some refinements:
...
- only show the bigtext notification if the device has set extended battery info
- custom icon for the low battery notification (with license information)
- show device name in the notification
- set the notification to high priority
- the battery threshold is now set in GBDevice
2015-08-19 17:36:53 +02:00
Daniele Gobbetti
57a85e63b0
Merge remote-tracking branch 'origin/master' into low_battery_notification
2015-08-19 17:30:33 +02:00
Andreas Shimokawa
a7796ecbc6
Pebble: Emulator support
...
NOTE:
- supports aplite and basalt emulator
- needs recompilation of Gadgetbridge with INTERNET permission
TODO:
- fix disconnect issues
- emulator special packet support
- string localization
- ...
2015-08-19 00:06:15 +02:00
Daniele Gobbetti
c3e395818f
Adding support for battery events using GBDeviceEvent.
...
- show notification on low battery (closes #40 )
- Miband specific: add date of last charge and number of charges
2015-08-18 17:37:51 +02:00
cpfeiffer
bcf42f8022
Finally, the prev and next buttons do something ( #79 )
...
Far from perfect, but a start.
2015-08-17 02:22:16 +02:00
cpfeiffer
567f27b0f4
Some initial fixes found by static analysis #92
2015-08-16 00:17:16 +02:00
cpfeiffer
b6f66eb57c
Updated translations from transifex, thanks!
2015-08-15 11:42:33 +02:00
Andreas Shimokawa
5884684cad
Pebble: add option to enable untested features.
...
Bad things incoming ;)
2015-08-11 11:15:44 +02:00
Andreas Shimokawa
ce7b42d9d4
Some theme cleanups and preparations for a dark theme
2015-08-07 11:49:25 +02:00
cpfeiffer
2a2eae068a
Improvements to the install activity #30
...
- made it independent of Mi fw and Pebble fw + app classes
- automatically connect to the last used device
- some other small fixes/improvements
2015-08-06 02:17:38 +02:00
cpfeiffer
c407ed1a76
Last refactoring for now: BluetoothCommunicationService
...
- rename to DeviceCommunicationService
- move all bluetooth related bits into separate DeviceSupportFactory
class
2015-08-04 01:01:14 +02:00
cpfeiffer
7c597b325a
Big refactoring: move classes and packages around to get a better structure
...
- model package contains mostly shared interfaces (UI+service), not named GB*
- impl package contains implementations of those interfaces, named GB*
the impl classes should not be used by the service (not completely done)
- the service classes should mostly use classes inside the service and deviceevents
packages (tbd)
Every device now has two packages:
- devices/[device name] for UI related functionality
- service[device name] for lowlevel communication
2015-08-03 23:09:49 +02:00
cpfeiffer
e9f693942a
Updated translations from transifex (thanks!)
2015-08-03 01:29:06 +02:00
cpfeiffer
802f48011d
Refactoring of database access
...
- the db is now exclusively locked for one thread
- the charts read from the db and analyze data in a background thread
+ some small cleanups
2015-08-03 01:21:44 +02:00
Daniele Gobbetti
878afd79df
Allow the user to set the target number of steps for each day (fitness goal), both in the sharedpreferences and in the MiBand.
...
The value is then used in the graphs.
#31 #44
2015-07-29 18:49:16 +02:00
Andreas Shimokawa
9f591ef8b5
Refactoring: Merge Pebble app/fw installer activity and Miband firmware update Activity
2015-07-28 17:30:20 +02:00
Daniele Gobbetti
47cbf68c37
Merge remote-tracking branch 'upstream/master' into firmware_update
2015-07-25 21:36:46 +02:00
Daniele Gobbetti
f16a96e9b2
Initial support for upgrading firmware of the MiBand.
...
This release seems to be working quite well with respect to the firmware upgrading itself. The user facing part needs more work.
In order to update the firmware one has to:
- open a file ending with .fw
- switch from the firmware upgrade activity to the main one
- connect to the miband
- return to the firmware upgrade activity
- press the "install" button (that became active when the device connection was established)
Caveats:
There are almost no check wrt. the integrity of the firmware files.
2015-07-23 17:14:51 +02:00
Andreas Shimokawa
844d929748
update remaining languages from transifex
...
Please fix the removed strings on transifex. Some of them might have been removed because the original english string has been changed.
2015-07-23 16:00:36 +02:00
Andreas Shimokawa
69f4b11594
update Korean translation from transifex
2015-07-23 15:56:47 +02:00
cpfeiffer
1f2b0329c5
Misc improvelets ( #45 )
2015-07-21 21:24:35 +02:00
cpfeiffer
0f6491a11d
More WIP: sync from the charts activity
...
Also add preliminary buttons to go forward/backward in time.
2015-07-21 00:06:20 +02:00
cpfeiffer
184e0f2dea
New dependency to format durations (and use that where applicable)
2015-07-20 23:14:08 +02:00
Daniele Gobbetti
d967411d70
Add a toast to let the user know about the progress of the transfer.
2015-07-19 16:16:58 +02:00
cpfeiffer
d498bd976a
Work in progress #45
...
Comparison between Light Sleep and Deep Sleep.
(Currently wrong, needs more analysis)
2015-07-14 00:29:32 +02:00
cpfeiffer
623e4724c2
Slightly better text when no data available
2015-07-12 21:48:48 +02:00
Andreas Shimokawa
47c43e9c28
Debug Activity: Fix layout for small screens and landscape mode
...
Fixes #84
2015-07-12 20:06:47 +02:00
cpfeiffer
a6e26e5ddc
Cleanup, use fragment based charts (WIP #45 )
...
Known issue: scrolling a zoomed-in chart interferes with swiping to the
next/previous chart (so far there's just one, but...)
Workaround: Swipe down and then left or right in one go, this will let
you scroll the zoomed chart
2015-07-11 00:03:41 +02:00
cpfeiffer
cc549a6c49
Basic database import and export (to external storage)
...
(In the Debug Activity)
2015-07-08 23:11:23 +02:00
Andreas Shimokawa
33d785f67c
update translations from transifex
2015-07-05 00:21:13 +02:00
cpfeiffer
410b29dd6d
Updated translations from transifex
2015-07-01 23:26:05 +02:00
Andreas Shimokawa
594bf8c45b
Merge pull request #81 from Freeyourgadget/set-alarm-tomerge
...
Set alarms on device (miband)
2015-06-30 09:43:51 +02:00
Daniele Gobbetti
371a7bb4af
Get rid of the Checkedtextview because they weren't in line with the our style
2015-06-30 06:40:46 +02:00
Daniele Gobbetti
900511760c
further improvements:
...
- the day of week are evenly spread across the screen in the alarms detail activity
- the alarms are stored in a single shared preference (as a set) NB: you'll have to reset your alarms if you used a previous version (and also manually clean the shared preferences, but this is not needed)
- the list of alarms gets correctly updated after editing a specific alarm
- the actionbar back button saves the alarm status, the device back button doesn't. I'm not sure if it's a bug or a feature :)
2015-06-30 06:40:46 +02:00
Daniele Gobbetti
109b2bef4d
add a Toast to confirm the transfer of the alarm or to warn if the transfer wasn't possible.
2015-06-30 06:40:46 +02:00
Daniele Gobbetti
764dd70e45
low hanging fruits:
...
- add break after case
- center vertically the smart wakeup checkbox
2015-06-30 06:40:46 +02:00
Daniele Gobbetti
1caca1439a
Initial implementation of setting alarms to the Mi Band.
...
The code basically works, but there a lot of things to fix / improve.
* The alarms are stored to and read from the Shared Preferences, but there is no persistence within the app (basically they are read and stored at every access)
* The alarm list is not updated when coming back from the alarm detail view (probably related to the point above), but the actual alarm is
* The alarms preference names is sometimes built by concatenating strings, which is not really safe
* There is no check in the alarm constructor whether the stored string is a valid alarm representation
* Even though only 3 alarms can be stored on the device, we could have more in the app and let the user choose which to sync
* In the alarm detail view XML some material* drawables are used, it's possible that these break on android version < 5
* ...
2015-06-30 06:40:14 +02:00
cpfeiffer
5cde8181c9
Updated translations from transifex
2015-06-27 18:44:26 +02:00