Daniele Gobbetti
75d4abc9dc
Pebble background webview: bring back the mutableContextWrapper, otherwise inputs aren't working.
...
Reliably go back to first step of the configuration page when closing (this causes a Toast when closing the activity while in the clay settings page)
2017-03-04 20:43:32 +01:00
Daniele Gobbetti
f84c651c38
Pebble background webview: config page should be shown reliably now.
2017-03-04 19:46:18 +01:00
Andreas Shimokawa
21b90d1e6e
Merge branch 'master' into background-javascript
2017-03-04 13:27:34 +01:00
Andreas Shimokawa
90c61cb71c
Merge branch 'master' into background-javascript
2017-03-04 13:24:44 +01:00
cpfeiffer
09967b2006
Mi2: follow 12h/24h system configuration
...
=> Remove custom preference option, #573
2017-03-03 22:32:54 +01:00
cpfeiffer
82ea5702c5
Mi2: configurable time format (12h/24h)
...
Fixes #573
2017-03-03 22:14:28 +01:00
cpfeiffer
72801af0e7
Added Hebrew translation, thanks!
2017-03-03 20:48:13 +01:00
cpfeiffer
4419200624
Mi2: Initial support for textual notifications #560
2017-03-03 20:12:43 +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
50f3ee73fc
Merge branch 'master' into background-javascript
2017-03-03 14:28:38 +01:00
Andreas Shimokawa
9b2f47d10a
Improvements to week sleep chart
...
Time to close #557
2017-03-03 14:21:59 +01:00
Andreas Shimokawa
55019579ef
update translations from Transifex (thanks!)
2017-03-03 09:31:19 +01:00
Andreas Shimokawa
7a3b2899e7
trial and error
2017-03-03 08:58:11 +01:00
Andreas Shimokawa
cbebd845cf
rename pt_BR to pt_rBR, fixes #569
2017-03-01 17:29:32 +01:00
Daniele Gobbetti
76be0ae676
Pebble background webview improvements:
...
remove the pre-KITKAT checks as the minsupportedversion is KITKAT
fix the currentPosition override
move the returned configuration parsing to onResume method (where it was previously) as it seems more reliable
pass the whole GBDeviceEventAppMessage object, this way the jsInterface in the webview doesn't need to be static anymore
change the way the webview is initialized, this way the context doesn't need to be static anymore
use runOnUiThread instead of the Handler .. MainLooper to post the commands to the webview instance
comment a couple of custom message handler for weather as the watchapp seem to work well with JS alone
add a couple of log messages for debugging
known issue: legacy app configuration pasting does not work.
2017-02-28 21:11:26 +01:00
cpfeiffer
c619f17637
Updated translation from transifex (thanks)
2017-02-28 20:38:48 +01:00
cpfeiffer
21f2fed7e8
Add Portuguese translations from Transifex (thanks!)
2017-02-28 20:32:37 +01:00
Andreas Shimokawa
593b169f00
Pebble: Put icon into fake weather response, disable mario time native handler (since it works a bit now) :)
2017-02-27 22:28:42 +01:00
Andreas Shimokawa
181b33d6be
Merge branch 'master' into background-javascript
2017-02-27 22:11:41 +01:00
Daniele Gobbetti
ca73d0c2d4
Add mapping to weather icons
2017-02-27 21:45:10 +01:00
Daniele Gobbetti
21498bd2e9
Pebble: mimic openweatherapi response from our cached data.
...
This should allow watchfaces using openweathermap to run without modification (but we lack the icon ATM). Tested with multifit watchface.
Also centralize the location data in own local class and remove leftover comment.
2017-02-27 19:02:34 +01:00
cpfeiffer
19b0e5e801
Centralize icons for devices
2017-02-26 22:46:49 +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
ca8e0db078
Merge branch 'master' into background-javascript
2017-02-26 17:57:37 +01:00
Daniele Gobbetti
a545c56680
Pebble: ack the messages that go to the webview and do not destroy it on disconnect.
2017-02-26 17:57:26 +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
cpfeiffer
53dbc54041
Only start the webview when needed
2017-02-25 22:02:40 +01:00
cpfeiffer
0038ddabdb
Make the initial webview activity translucent
2017-02-25 21:52:05 +01:00
cpfeiffer
234beace29
Some fixes for the background webview
2017-02-25 21:50:05 +01:00
cpfeiffer
711800f3d0
Collaborative attempt to initialize the background webview on startup
2017-02-25 18:01:08 +01:00
Andreas Shimokawa
aac9827e63
remove OnboardingActivity from manifest (its gone)
2017-02-25 17:58:19 +01:00
Daniele Gobbetti
a4ac108287
Pebble: merge master moving the location override to WebViewSingleton
2017-02-25 15:44:37 +01:00
Daniele Gobbetti
6c993d40aa
Merge branch 'master' into background-javascript
...
# Conflicts:
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ExternalPebbleJSActivity.java
2017-02-25 15:26:55 +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
772a22f78b
Merge branch 'master' into background-javascript
2017-02-25 13:02:07 +01:00
Daniele Gobbetti
2eb43fa740
Pebble: Fix for week sleep chart amounts (the colors are still wrong)
2017-02-25 12:52:24 +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
cpfeiffer
337bfa1938
Handle button presses and log them
...
See #556
2017-02-21 21:41:21 +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
db58b32b6f
Update two german strings
2017-02-20 22:23:44 +01:00
Andreas Shimokawa
24794c46b1
update translations from transifex (THANKS)
2017-02-20 22:20:22 +01:00
Andreas Shimokawa
c23e496db6
bump version, update changelog
2017-02-20 22:19:16 +01:00
Andreas Shimokawa
2dbda6138b
Pebble: some cleanups and simplifications for datalogging via PebbleKit
2017-02-20 22:09:00 +01:00
Andreas Shimokawa
ad9cfae6f9
Pebble: Pass datalog creation timestamp to PebbleKit, properly announce PebbleKit datalogging support
2017-02-20 08:47:42 +01:00
Andreas Shimokawa
946ed5f000
Pebble: First shot at implementing dataloggin for PebbleKit apps
...
Closes #497
Could help #316
2017-02-19 23:02:55 +01:00
cpfeiffer
e5d09b9fa2
Automatically start the service on boot (can be turned off)
...
Fixes #9
2017-02-17 23:24:44 +01:00
Avamander
23f2dd35d4
Extract music shuffle and repeat states and set the song progress to auto-update. ( #554 )
2017-02-17 09:01:37 +01:00
Andreas Shimokawa
a26563d6c7
Pebble: also acknowledge PebbleKit intents with transaction_id -1
...
I don't understand why this should be necessary but for some 3rd party apps it helps (#509 )
2017-02-13 22:27:37 +01:00