Commit Graph

158 Commits (917801f2239f74e7ff5cae3a6b536de4e6c6e0a5)

Author SHA1 Message Date
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