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
cpfeiffer
0395977fde
Some work for properly animating our single (value-changing) entry
2015-09-27 00:10:33 +02:00
Andreas Shimokawa
c8a08510ce
always initialize checkboxes AppBlacklistActivity, not only when App is in blacklist
...
Closes #129
2015-09-25 21:33:35 +02:00
Andreas Shimokawa
e3533a2b18
Pebble: Allow muting (blacklisting) Apps from within generic notifications on the watch
...
Closes #113
2015-09-25 00:53:40 +02:00
Andreas Shimokawa
1d41f2f8e4
Refactoring
...
The notfification APIs now use NotificationSpec as their only parameter, which
contains all information (required and optional ones).
We no longer have separate methods and actions for SMS/EMAIL/GENERIC anymore.
The type of notification is important now, not how we received them technically.
2015-09-24 14:45:21 +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
58bbcb0035
Pebble: allow to configure reconnect attempts
...
This should help #89
2015-09-17 15:31:12 +02:00
Andreas Shimokawa
6e3c839608
Allow to select preferred music player in preferences, closes #112
2015-09-16 00:53:54 +02:00
Andreas Shimokawa
95e22a4e32
Pebble: Allow stopping apps though PebbleKit messages (also in the API)
2015-09-13 21:44:26 +02:00
Andreas Shimokawa
914d1b9625
Make notification blacklist actually working
2015-09-12 00:19:36 +02:00
Andreas Shimokawa
03b9f02b2c
Pebble: allow launching internal Golf and Sports App if untested features are enabled
...
This is completely useless for now, but since it is there on every Pebble, I want to be able to launch it.
2015-09-10 23:07:42 +02:00
Andreas Shimokawa
0ad758fbca
WIP blacklist activity (currently does nothing except listing apps)
2015-09-10 13:48:54 +02:00
cpfeiffer
d9d222ca9b
Tiny logging improvement
2015-09-09 21:15:29 +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
1711a7a731
Merge branch 'master' into live-activity-data
2015-09-06 00:46:50 +02:00
cpfeiffer
fbd23c2d4c
Some layout improvements ( #30 )
2015-09-06 00:03:56 +02:00
cpfeiffer
bc3c0760d0
More WIP with live activity charts
2015-09-05 23:05:57 +02:00
cpfeiffer
5f993c0049
Merge branch 'master' into live-activity-data
2015-09-05 00:15:49 +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
ab29736a50
Pebble: Implement "Open on Phone" function for generic notifications
...
TODO:
- search a better icon for the Pebble Time
- send a reply to the OG Pebble to prevent the error message from popping up
2015-09-02 22:43:22 +02:00
cpfeiffer
ab8982e7f2
WIP: support for live display of activity data
2015-09-02 08:02:26 +02:00
cpfeiffer
536b2bd8a0
Another translatable string
2015-09-01 23:56:14 +02:00
cpfeiffer
c49c795b1d
Actually remove that implicit "current date" handling
...
We now manage days explicitly in the UI.
2015-09-01 22:43:31 +02:00
cpfeiffer
d791054e42
Fix getLast24Hours() -- take end time into account
2015-09-01 22:37:20 +02:00
cpfeiffer
a6d18e599b
Tiny simplification and extract string
2015-09-01 22:34:04 +02:00
cpfeiffer
917801f223
Use the correct date for displaying steps #91
2015-09-01 22:13:30 +02:00
Daniele Gobbetti
9360b81ef3
Don't add new limitlines, clean the existing one before (it could be optimized further by reusing the existing one, probably)
2015-08-31 17:41:09 +02:00
Daniele Gobbetti
249ff5bf94
Let the user change date also on the Week steps chart
2015-08-31 17:41:09 +02:00
cpfeiffer
41d8bcf634
Make firmware and app installation a bit more user friendly #30
2015-08-30 00:21:51 +02:00
Andreas Shimokawa
13300fcb5d
finally fix build with SDK 23
2015-08-29 11:31:48 +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
cpfeiffer
e1c02cc373
Prevent charts date in the future, documentation and cleanup
2015-08-25 22:45:07 +02:00
cpfeiffer
b4e34db1d2
Faster animation
2015-08-25 01:03:58 +02:00
cpfeiffer
0bb3188bc8
Start and end dates now work properly across charts
...
They are now managed by the Activity, because the fragments
may be created and destroyed at any time and hece cannot
synchronize their date-state all the time.
Open issue: moving across the borders (first day with data,
current day)
2015-08-25 00:54:16 +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
070876db06
Allow disconnecting when device is connecting
...
Also require "initialized" state for "find device"
2015-08-24 13:19:17 +02:00
cpfeiffer
a1cb246e27
Add and use a "client interface" for the actions of the service
...
Previously, the DeviceCommunicationService was invoked directly,
via
Intent intent = new Intent(foo, bar);
intent.setExtra(EXTRA_BAZ, baz);
startService(...);
and this was scattered throughout GadgetBridge.
Now there is a "frontend" available, so that you can call
the service more easily, like
GBApplication.deviceService().connect();
For a start, this client interface (DeviceService) actually
implements the same interface (EventHandler) as the receiving side
(DeviceSupport). This may change in the future.
This will also make testing much easier, because we can use
this client interface to invoke the test service as well.
2015-08-21 01:03:57 +02:00
Andreas Shimokawa
faaa04b670
App Installation: various improvements
...
- make FwAppInstallerActivity wait for a completely initialized device
- check basalt/aplite compatibility with pbw to be installed and report intead of crashing
- fix crash when trying to install pbw with all app slots full
2015-08-20 18:55:22 +02:00
cpfeiffer
5a4f8fb56f
Last commit accidentally called the wrong get*Samples method
2015-08-19 01:06:46 +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
Andreas Shimokawa
6fede31bdf
Pebble: make watchapp installation available on FW 3.x without the need for setting an option
2015-08-17 18:07:47 +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
27a9eb8a07
Only repaint chart when activity is still alive
...
(fixes error message when synchronizing in the charts activity and then
switching orientation)
2015-08-16 23:27:18 +02:00
cpfeiffer
567f27b0f4
Some initial fixes found by static analysis #92
2015-08-16 00:17:16 +02:00