cpfeiffer
711800f3d0
Collaborative attempt to initialize the background webview on startup
2017-02-25 18:01:08 +01:00
Daniele Gobbetti
a4ac108287
Pebble: merge master moving the location override to WebViewSingleton
2017-02-25 15:44:37 +01:00
Andreas Shimokawa
772a22f78b
Merge branch 'master' into background-javascript
2017-02-25 13:02:07 +01:00
cpfeiffer
e5d09b9fa2
Automatically start the service on boot (can be turned off)
...
Fixes #9
2017-02-17 23:24:44 +01:00
ivanovlev
fd61dc602f
Transliteration: capitalized just the first letter in the replacement text
2017-02-04 09:53:07 +03:00
cpfeiffer
6c16b4fb15
Updated initial array list size to reflect reality
2017-01-28 23:25:15 +01:00
Daniele Gobbetti
d6dd03a065
Pebble: webview add safety check
2017-01-28 17:45:23 +01:00
Daniele Gobbetti
f66f765fb6
Merge remote-tracking branch 'origin/master' into background-javascript
...
# Conflicts:
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/pebble/PebbleIoThread.java
2017-01-28 17:43:34 +01:00
ivanovlev
2d3907b0f0
Fix issue #522 : Transliterate Caller Name
2017-01-27 23:16:19 +03:00
João Paulo Barraca
b3e1cbf55e
HPlus: Support of Makibes F68 and small fixes to HPlus devices
2017-01-26 13:02:58 +00: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
João Paulo Barraca
1f083041b9
HPlus: Improve display of new messages and phone calls
2017-01-24 01:44:30 +00:00
ivanovlev
c13725911f
Transliteration off by default, if setting not exist
2017-01-19 08:09:36 +03:00
ivanovlev
cbc91e7fef
Moving transliteration call from module "HPlus" to common support
2017-01-17 23:07:12 +03:00
ivanovlev
bfe24dd9f0
Refactoring
2017-01-15 22:46:30 +03:00
ivanovlev
2de9580dea
Added diacritic convertation into Transliteration
2017-01-15 22:10:12 +03:00
ivanovlev
074394cba4
Transliteration is moved to a separate class, added settings option
2017-01-15 12:24:36 +03:00
Daniele Gobbetti
c1abaaa4e0
Add support for hiding the icon in the status bar and the notification on the lockscreen.
...
This adds proper settings to toggle GB behavior and closes #460 .
2017-01-08 15:51:56 +01:00
Yar
5c8f02d054
Set notification to minimal priority
...
Pebble app is not showing in status bar and on lockscreen. This change is for GadgetBridge to have the same behavior.
2017-01-08 15:31:55 +01:00
Daniele Gobbetti
c9cfaa9bd8
Pebble: webview. Implement two way communication with JS.
...
The support within JS is a bit hacky and sometimes conflicts with the configuration page.
2017-01-03 15:04:51 +01:00
Daniele Gobbetti
0efacfbad5
Pebble: webview ensure the webview works no matter which the order of loading the components is.
2017-01-02 12:32:52 +01:00
Daniele Gobbetti
7ab74fb11b
Pebble: webview. Use the main thread explicitly again and log XHR requests at least on Lollipop and up
2017-01-02 12:07:57 +01:00
Daniele Gobbetti
4ef0415da2
Pebble: webview. Ensure we are on the main thread for disposing the webview and implement sending messages to the webview.
2017-01-01 21:01:58 +01:00
Daniele Gobbetti
d22c78e8f7
Pebble: webview, simplify the code since finals are not required anymore
2017-01-01 18:37:42 +01:00
Daniele Gobbetti
eaaa940637
Pebble: refactor the background webview
...
Now native controls seem to work (including datepicker), still the webview is not started upon watchapp start, but when long-pressing each app in the app manager. After the webview is started it will live in the background until device disconnect.
2017-01-01 18:33:39 +01:00
Andreas Shimokawa
6d02a76328
Merge branch 'master' into background-javascript
2017-01-01 17:25:12 +01:00
Daniele Gobbetti
dbf88bab5f
Outdated TODO removed
2016-12-29 20:44:04 +01:00
cpfeiffer
aadde7d1ca
Port to UriHelper, fix potential resource leak
2016-12-29 01:41:47 +01:00
cpfeiffer
0646eda646
Fix file potential handle leaks
2016-12-29 01:07:26 +01:00
Daniele Gobbetti
53d8f88670
Pebble: first steps towards background JS execution.
...
Progress so far:
- webview is created upon watchapp launch
- webview is destroyed after disconnect
- ready event is fired in the background
- showConfiguration is fired upon webview display
2016-12-28 20:53:17 +01:00
João Paulo Barraca
5b3ef8999f
Add preliminary support for HPlus devices, such as the Zeblaze Zeband (and many others)
...
Working: Text and call notifications, setting most user data, date and time, heart rate monitoring, sleep monitoring (alfa)
2016-12-21 12:51:25 +00:00
cpfeiffer
c69889d177
Simplified + fixed ArrayUtils.equals() + added lots of testcases
2016-12-11 23:30:20 +01:00
cpfeiffer
6dfc895303
Mi2: Initial work on firmware update #427
2016-12-11 02:11:58 +01:00
Daniele Gobbetti
e0a844b60a
Liveview: Initial support for Liveview devices
...
Working so far: stable connection, setting time and sending notifications.
2016-12-03 16:20:02 +01:00
Uwe Hermann
0746aaa579
app: Random typo and consistency fixes.
2016-12-01 20:22:12 +01:00
Andreas Shimokawa
34ad088b88
Pebble: Experimental support for BLE on all models via dev option in Pebble Settings
...
HOWTO:
1) Pair you normal Pebble (not necessary if already done), make sure it was connected once
2) Unpair your LE pebble if already paired
3) Switch on "Always prefer BLE" in Pebble Settings
4) Tap on the + in Control Center to add a new device
5) Pair your Pebble-LE XXXX or Pebble Time LE XXXX inside Gadgetbridge's Device Discovery actibity
Now Gadgetbridge will connect to your LE Pebble when tapping on Pebble XXXX if "Always Prefer BLE" option is enabled.
You can easily switch back to classic LE by turning that option off again
2016-11-27 09:49:28 +01:00
cpfeiffer
2f7eb9ef23
Some more improvements to discovery
...
- pass service uuids to GBDeviceCandaidate so that DeviceCoordinators
can detect devices by their services.
Note: they should not rely on service uuids being available
2016-11-27 02:46:07 +01:00
cpfeiffer
b9ff2cd468
A few improvements to discovery
...
- display the right icon for found device candidates
- scan for specific LE services
2016-11-27 01:09:20 +01:00
Andreas Shimokawa
4b7f47ba6c
Pebble 2: add Workout system app to app manager on P2 and hexdump incoming HRM datalog
2016-11-15 11:56:14 +01:00
cpfeiffer
3cc8d887ca
Mi2: Initial support for wear location, hr during sleep and date format #323
...
- wear location from prefs is sent to the band
- hr measurement during sleep is sent to the band
- date format is sent to the band (date+time or just time)
(TODO: needs preference option)
2016-11-13 01:44:52 +01:00
cpfeiffer
5c8525c5d0
Don't rely on File.canWrite() for directories, closes #406
2016-10-10 21:01:41 +02:00
cpfeiffer
f57fec25f8
Remove the coordinator instance #323
...
For now, always iterate over the available coordinators instead.
Should fix MiBandSupport occasionally being used in place of MiBand2Support.
2016-10-10 20:52:40 +02:00
cpfeiffer
2a0d97b39a
Improved error handling, display errors when deleting device
2016-09-30 23:07:30 +02:00
cpfeiffer
09502f96c9
AlertDialog.show() is non-modal, so put code into callback. Also added unpairing.
2016-09-30 22:58:28 +02:00
cpfeiffer
0a4eefcf11
Use device information from the database for GBDevices
...
fixes offline charts not displaying heartrate for Mi1S
2016-09-29 22:40:16 +02:00
Andreas Shimokawa
8ba7bc7353
Add (useless) support for Vibratissimo "massage devices"
...
Don't take this serious. It will make the "massage device" vibrate when a phone call arrives.
It is inspired by the famous lawsuit[1] which has nothing to do with the Vibratissimo device maker.
After reading this I picked up the cheapest ble massage device just to see if we could support it.
And yes, we can.
[1] http://arstechnica.com/wp-content/uploads/2016/09/vibratorsuit.pdf
2016-09-19 12:37:41 +02:00
JohnnySun
53d4681763
Optimize Imports
2016-09-13 23:53:35 +08:00
Andreas Shimokawa
5a49f1215e
Display known devices from db even if Bluetooth is off or unsupported
...
This allows to view activity data without turning bt on or connecting to the pebble emulator via tcp/ip (needs modified manifest for internet access)
2016-09-02 10:54:32 +02:00
cpfeiffer
cd535a0a45
Include known devices from the database in CC
...
(as long as device-support is still available)
Fixes non-paired devices not being displayed
2016-08-31 00:33:54 +02:00
cpfeiffer
bcb07ccacd
Enable LoggingTest with robolectric
2016-08-29 00:26:29 +02:00