dakhnod
ea1653d616
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-05 19:09:07 +02:00
Andreas Shimokawa
50ff47e0e4
de-mibandify
2019-10-05 13:29:20 +02:00
Cre3per
7409281c5a
very basic makibes hr3 support
2019-10-02 23:06:33 +02:00
Daniel Dakhno
71f9675768
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-10-01 17:09:52 +02:00
Marc Nause
a4c7cdb2a5
Show toast in case no app is installed which can handle GPX files
2019-09-29 18:48:13 +02:00
dakhnod
b20963348d
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-09-25 00:22:57 +02:00
FransM
0a68b167f5
Translated using Weblate (English)
...
Currently translated at 100.0% (709 of 709 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-09-22 21:55:33 +02:00
vanous
43bfa791ad
Adds plurals to a string of the Widget.
2019-09-16 20:45:21 +02:00
vanous
c58b980208
Connect device button settings and logic
2019-09-14 00:42:09 +02:00
Allan Nordhøy
6ffa791b9b
Translated using Weblate (English)
...
Currently translated at 100.0% (706 of 706 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-09-14 00:26:06 +02:00
vanous
3d6ddb8d5e
make look nicer - font, uri string, buttons positions
2019-09-07 11:07:40 +02:00
vanous
503fe854eb
Add test button, @stringify strings, add headers
2019-09-02 23:06:39 +02:00
vanous
957d441859
Add Status and Alarms widget
...
Squashed commits from #1604
2019-09-01 21:35:53 +02:00
Nephiel
b40c3ade85
Amazfit Bip: Add emoji support when using custom font firmware
2019-08-31 22:32:18 +02:00
Andreas Shimokawa
243eec042d
Mi Band 3/4, Amazfit Bip/Cor: Add setting to expose the HR sensor to 3rd party apps
...
Closes #1606
2019-08-27 11:13:45 +02:00
ksiwczynski
0f6ef140e2
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge
2019-08-17 02:07:55 +02:00
vanous
404bdc4713
Polish strings key to keep consistency with the project.
2019-08-13 14:30:55 +02:00
vanous
f68485e6f0
Add Preferences and strins. Format Preferences.
2019-08-13 14:30:54 +02:00
vanous
7809655ef4
Add Average Settings. Addformat method to get average.
2019-08-12 14:13:20 +02:00
vanous
f11628b42b
Add Averages to Charts
2019-08-12 14:13:20 +02:00
vanous
c243541c6e
Add dedicated charts section into Settings
2019-08-12 14:10:18 +02:00
Andreas Shimokawa
02d02d2329
Add Initial Mijia LYWSD02 support (Smart Clock with Humidity and Temperature Sensor)
...
This only sets the time on connect.
2019-08-02 23:49:14 +02:00
Andreas Shimokawa
97540d734f
Mi Band 3/4: Allow enabling the "NFC" menu where supported
...
Pretty useless, because we do not support NFC - but nice for testing
2019-08-01 23:07:28 +02:00
dakhnod
ef692498af
Merge branch 'master' of github.com:Freeyourgadget/Gadgetbridge into fossil-q-hybrid
2019-07-25 11:12:50 +02:00
Andreas Shimokawa
5ff5561772
Mi Band 4: Fix notification icons and cut-off text
2019-07-24 09:33:53 +02:00
root
09f6cada87
Fossil Q hybrid and Skagen support added
...
Opening this branch for the second time inorder to purge certain files form the repo
2019-07-14 19:45:40 +02:00
Andreas Shimokawa
d48d3cdea3
Add untested Mi Band 4 support (basically runs on Mi Band 3 code)
...
This is COMPLETELY untested, we do not have the device.
2019-06-12 23:44:01 +02:00
Andreas Shimokawa
58dca9a897
Amazit Cor 2: Add device specific warning when installing firmware (untested)
...
Also remove some Mi Band'ism from strings
2019-05-09 12:54:14 +02:00
Andreas Shimokawa
41e607ce9b
Amazfit Cor 2: Give own device type id, support flashing the firmware **UNTESTED**
2019-05-09 12:42:59 +02:00
Andreas Shimokawa
fadce6eb3c
Mi Band 3: Add missing languages
...
Indonesian
Thai
Arabic
Vietnamese
Portuguese
Dutch
Turkish
Ukrainian
Closes #1506
2019-05-05 22:47:39 +02:00
Andreas Shimokawa
db48707764
Add a device specific settings activity, currently used for setting the auth key for Amazfit Bip/Cor
...
When connecting to a new device, a random key gets generated, which can be
looked up from the device specific settings (accessible via the gear icon in
the device card in the main activity). Old devices keep their 0123456789@ABCDE
key, they have to be re-paired to change that.
During pairing, long-pressing the device candidate in the discovery activity
will also start the device specific settings activity, where the auth key
can be set manually priror to pairing. This is usefull to keep the ability to
pair one device with multiple android devices.
Fixes #1308
2019-04-21 21:25:33 +02:00
Sophanimus
3ca589f730
BFH-16 Device-discovery working
...
Signed-off-by: Sophanimus
2019-04-20 22:00:50 +02:00
ksiwczynski
369adb5d61
Merge remote-tracking branch 'remotes/upstream/master'
2019-03-21 05:17:07 +01:00
Andreas Shimokawa
4638acf2d3
Add setting to enable voip call support (default off)
...
There were too many bugs reported, so make that optional
2019-03-17 19:02:18 +01:00
ksiwczynski
76427a3848
Watch X Plus discovery
2019-03-14 03:58:57 +01:00
cpfeiffer
c9f1c110b0
Merge remote-tracking branch 'github/pr/1292'
2019-03-04 22:10:23 +01:00
Sebastian Kranz
0da866f70a
Change user goal distance preference to use meters instead of km.
2019-03-04 07:16:56 +01:00
jfgreffier
072dcd28ec
Merge branch 'master' into master
2019-03-01 11:33:18 +01:00
HenRy
4363b8d373
Translated using Weblate (English)
...
Currently translated at 100.0% (597 of 597 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-02-26 22:20:14 +01:00
Sebastian Kranz
6a04c78b0e
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into zetime
2019-02-20 14:24:59 +01:00
HenRy
c69bfd489d
Translated using Weblate (English)
...
Currently translated at 100.0% (596 of 596 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-02-16 23:45:10 +01:00
Andreas Shimokawa
c66fade081
Amazfit Bip: Support disconnect notifications
...
Might also work with Cor, did not work with Mi Band 3
2019-02-13 13:06:42 +01:00
HenRy
ebee6acd9a
Translated using Weblate (English)
...
Currently translated at 100.0% (596 of 596 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-02-09 22:47:29 +01:00
jfgreffier
5ab075b373
Merge branch 'master' into master
2019-01-31 15:28:09 +01:00
Andreas Shimokawa
dad7ba7aaa
Mi Band 3: Enable fetching sports activities and add "Exercise" type to generic code
2019-01-28 00:22:11 +01:00
Jean-François Greffier
2e7c7d8e52
MIBCS discovery
2019-01-23 21:19:25 +01:00
Allan Nordhøy
d1922bde9d
Translated using Weblate (English)
...
Currently translated at 100.0% (595 of 595 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2019-01-19 15:27:26 +01:00
abettenburg
51399066a4
Merge remote-tracking branch 'upstream/master' into black_whitelist_for_notifications
...
# Conflicts:
# app/src/main/res/values/strings.xml
2019-01-12 09:55:53 +01:00
cpfeiffer
3c0871f474
Improved toast messages for sleep widget
2019-01-11 00:03:17 +01:00
cpfeiffer
51632d16a2
Sleep Widget reacts to clicks now (on Android 8 at least), and...
...
sends the alarm directly to the wearable.
2019-01-10 23:59:19 +01:00
Andreas Böhler
2c2d07067d
Add initial support for Casio GB-6900B
2019-01-06 11:31:50 +01:00
Allan Nordhøy
d4317db369
Translated using Weblate (English)
...
Currently translated at 100.0% (580 of 580 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2018-12-19 20:34:15 +01:00
Andreas Shimokawa
b020d59f54
Implement factory reset feature in debug activity
...
Implemented for Mi Band 1/2/3, Cor, Bip
Could be implemented for Pebble by deleting all blobdbs etc
Related to #109
2018-12-16 16:06:12 +01:00
AndrewBedscastle
f90ba76fc0
No more hardcoded strings
...
Save and load packageName as lowercase String
Do not save empty strings as Notification Filter Entry
2018-12-06 15:11:50 +01:00
abettenburg
d6190e6e59
Apps Notification can now be configured to filter notification content based on black- and whitelists
...
Go to notification blacklist, allow an app if blacklisted, than configure it's behavior with the menu icon on the right hand side.
Should be pretty much self explanatory.
Database Scheme raised to 20
2018-12-03 09:48:16 +01:00
Allan Nordhøy
f59f972f2b
Translated using Weblate (English)
...
Currently translated at 100.0% (578 of 578 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2018-10-01 23:04:57 +02:00
Sebastian Kranz
6b82340093
Merge branch 'master' of https://github.com/Freeyourgadget/Gadgetbridge into zetime
2018-10-01 06:39:08 +02:00
Pavel Elagin
fbb75694c7
Add support JYou Y5 device.
2018-09-27 01:05:40 +03:00
Sebastian Kranz
2df8dfed18
Add a submenu to choose between different signal types.
2018-09-20 14:38:06 +02:00
Sebastian Kranz
ecfd83ae65
Add setting alarms. Choose the type of the signaling in the preferences.
2018-09-17 13:53:24 +02:00
Sebastian Kranz
ba0fdb8c96
Part 2: Add inactivity alert - complete now. Add checkbox to en-/disable the heart rate alarm and group this with the limits in its own screen.
2018-09-17 08:10:49 +02:00
Sebastian Kranz
828df4898f
First part: Add inactivity alert.
2018-09-17 05:53:24 +02:00
Allan Nordhøy
46aec12aa6
News strings reworked
2018-09-17 01:15:18 +02:00
Sebastian Kranz
6be181047a
Add more preference settings for ZeTime: time and date format, activity tracking, do-not-disturb scheduling, wrist-flick, analog mode and calories type.
2018-09-14 13:32:18 +02:00
Sebastian Kranz
6617c45fec
Add setting heart rate alarm values. Make the settings of the wearside and screen on duration interactive - give them their own activity. Also make the auto heart rate measurement work.
2018-09-13 14:55:38 +02:00
Pavel Elagin
e85257b545
Show current / max heart rate. Ignore heart rate < user settings. Invisible button bar into LiveActivity. Auto scale totalStepsChart. Fix time x axis history chart. Draw total and per minute steps. Set limit on per minute chart by user settings.
2018-09-13 12:51:52 +03:00
cpfeiffer
88ad6cf0e0
Improve balance handling
2018-09-10 23:41:01 +02:00
Pavel Elagin
4592d35cc6
Calculation and display of weekly balance by steps and time of sleep.
2018-09-10 23:41:01 +02:00
Sebastian Kranz
8062729ea8
Send user info to the watch, add more daily targets (goals) and send them to the watch.
2018-09-07 10:53:33 +02:00
Pavel Elagin
04789f841b
Group language settings.
2018-09-06 16:45:31 +03:00
Sebastian Kranz
ca7108c153
Add ZeTime settings: choose on which wrist you wear the watch and set screen on duration.
2018-09-06 14:51:29 +02:00
Carsten Pfeiffer
e67398af87
Merge pull request #1233 from roigreenberg/master
...
Adding RTL support
2018-09-05 20:48:15 +02:00
cpfeiffer
19ee3a14d4
Handle batter state LOW without a level
...
Fixes #1197
2018-09-04 22:31:12 +02:00
Dikay900
64da085942
make heart rate values configurable and use singleton for heartrateutils
...
to listen for preference changes
2018-09-02 12:57:52 +02:00
José Rebelo
2fe4b84a10
Roidmi: Initial Support
...
Roidmi 3 support is disabled for now, since it is not working.
2018-08-31 14:03:47 +01:00
José Rebelo
cc6c57bd4c
Add support for LED Color, FM Frequency
2018-08-31 14:03:39 +01:00
Roi Greenberg
280a2f56e9
Merge branch 'master' into master
2018-08-28 23:10:51 +03:00
Pavel Elagin
6904a62d41
Add share log file. Issue #1146
2018-08-28 21:50:12 +02:00
José Rebelo
9fda67b297
Mi Band 3: Night Mode
2018-08-27 22:54:37 +02:00
Roi
1ece83374b
Add some docstring
2018-08-26 02:09:50 +03:00
Roi Greenberg
deee908fb0
Convert Arabic to contextual form
2018-08-25 22:31:14 +03:00
Roi
5a9e47cec4
remove debug logs and add documentation
2018-08-25 22:31:13 +03:00
Roi
5697ebc8ea
Add rtl support
2018-08-25 22:31:12 +03:00
José Rebelo
fa1e9b8938
Support minimum time between notifications
2018-08-19 11:07:58 +01:00
cpfeiffer
f89f0d7f77
Remove duplicate entry
2018-08-18 13:34:40 +02:00
Carsten Pfeiffer
fabe9834e9
Merge branch 'master' into patch-2
2018-08-18 13:16:47 +02:00
Pavel Elagin
354ab79285
Display start and end sleep. #164
2018-08-16 17:59:56 +03:00
Andreas Shimokawa
74f47c8e2e
Mi Band 3: Support setting language to German, Italian, French, Polish, Japanese, Korean
...
NOTE:
- Needs latest firmware
- Setting to Japanese or Korean leads to empty menus on the device. When
reconnecting you, will get a sceen which telling you to update. I highly
suspect it requires flashing Mili_wuhan.ft.kj (kj=korean,japanese)
2018-08-13 00:00:46 +02:00
José Rebelo
338251597b
Mi Band 3: Band screen unlock
2018-08-09 23:41:25 +02:00
maxirnilian
4ff04870ca
Watch 9: Initial support
2018-08-06 18:30:38 +02:00
Andreas Shimokawa
66391e10c9
Amazfit Cor: Allow to enable music menu on device
2018-08-02 22:29:52 +02:00
Andreas Shimokawa
cc7f6d7263
More Huami refactoring
...
- Rename MiBand2Service to HuamiService
- Move preferences around (Mi Band 2 has its own device specific settings now)
- Fix Cor menu items not syncing immediately in settings
- Try to support settings menu items on Mi Band 3 (buggy, disabled code for now)
2018-08-02 10:55:30 +02:00
Andreas Shimokawa
486d7bdca6
Amazfit Cor: Allow setting menu items
...
(Also rename/refactor stuff from Mi Band 2 to Huami - still WIP)
2018-08-01 22:56:01 +02:00
Vadim Kaushan
458a363f11
Merge remote-tracking branch 'upstream/master'
2018-07-29 19:31:40 +03:00
Andreas Shimokawa
f2aa71e32c
Amazfit Bip: Support Russian language.
...
Closes #1145
2018-07-16 14:36:52 +02:00
Vadim Kaushan
c43a564a47
Merge remote-tracking branch 'origin/master'
2018-07-15 00:53:47 +03:00
Vadim Kaushan
fe9ec9b88a
ID115: screen orientation preference
2018-07-14 13:23:21 +03:00
Vadim Kaushan
0e1331f172
ID115: declare device type
2018-07-12 15:45:00 +03:00
Sebastian Kranz
7d8d484133
Merge branch 'master' into zetime
2018-07-10 06:48:20 +02:00
Martin
91cbdfde10
added time limited on auto-fetch, and removed the creation of multiple autoFetchReceivers
2018-07-01 22:57:48 +02:00
Sebastian Kranz
1b152c86ea
Merge branch 'master' into zetime
2018-06-29 10:43:11 +02:00
Daniele Gobbetti
6807714af3
Register autofetch receiver in DeviceCommunicationService
...
This allows the register to be registered only when the device is connected,
and also toggling without completely exiting the application.
The logic in the receiver itself was simplified and an explanation added
to the preference summary.
2018-06-23 11:19:09 +02:00
Martin
36aae1e81c
Auto sync feature ( #1127 )
...
* Auto fetch feature
fixes #1116
2018-06-19 21:54:15 +02:00
Daniele Gobbetti
d55d551943
Add overflow menu to blacklist and whitelist all installed applications
...
Fixes #679
2018-06-18 21:29:12 +02:00
Andreas Shimokawa
99dec159f7
Mi Band 3: add untested and incomplete support
...
This also improves firmware/RES probing to distinguish Mi Band 2/3 firmware files and Mi Band 3/Bip RES files.
Notes:
- Firmware flashing should might but is untested
- This basicall runs off the Amazfit Bip code which will probably incorrect (Mi Band 3 is proabably something between the Bip and the Mi Band 2)
2018-06-14 18:16:49 +02:00
tiparega
3852f925da
Added support for Q8 devices
2018-05-20 19:52:08 +02:00
Andreas Shimokawa
3b25181a32
Amazfit Bip: allow enabling shortcuts (weather, Alipay)
2018-05-15 23:12:18 +02:00
Andreas Shimokawa
9e2558beac
Pebble 2: make gatt client only mode available to users
2018-05-11 14:23:41 +02:00
Andreas Shimokawa
e1ef2455dc
Amazfit Bip: allow to set displayed menu item in firmware >=0.1.1.14
...
NOTE:
- You will have to be connected while doing the changes in preferences (FIXME)
- It might not work at all since I did not test after the latest changes :P
2018-04-27 09:28:33 +02:00
Daniele Gobbetti
8f6d287592
Amazfit Bip: add option to reset the last fetched activity (timestamp)
...
Show a datepicker to reset the date after which the next activity will be fetched.
Also add .gpx extension to fetched activity track (if present) and make
the menu entries translatable.
Close #1057
2018-04-12 22:11:58 +02:00
TaaviE
08feaf30e1
Fixed a bunch of misspells.
2018-03-31 17:31:48 +02:00
Andreas Shimokawa
66bb0bd81b
Merge branch 'master' into bip-wip
2018-03-27 11:09:59 +02:00
Andreas Shimokawa
e26dbc6812
Mi Band 2/Bip/Cor: allow to set a period when the display/background light gets enabled when lifting the wrist
...
Closes #1013
2018-03-23 23:30:28 +01:00
Andreas Shimokawa
3d3cc1f40c
Merge branch 'master' into bip-wip
2018-03-13 17:27:18 +01:00
ladbsoft
d5978d9b30
Xwatch Basic Support ( #972 )
...
Initial XWatch support
* Activity syncing
* Multimedia control using the watch's button
2018-02-25 12:05:36 +01:00
Andreas Shimokawa
e48885df7d
Merge branch 'master' into bip-wip
2018-02-15 23:38:06 +01:00
Daniele Gobbetti
e28333fe6e
Fixes to make the application run on Oreo
...
- tested on Oreo 8.1
this commit includes changes cherry picked from 3b6da66643
2018-02-14 21:35:22 +01:00
Allan Nordhøy
43d55b9ac0
device, System Weather, Norwegian bokmål, Android, .
2018-02-09 06:55:30 +01:00
Andreas Shimokawa
b9c6b3bb8f
Amazfit Bip: Whitelist fw 0.1.0.70/80 and fonts
...
Also change the recommended flashing order of .fw .res and .gps
2018-02-08 22:41:16 +01:00
Kranz
bd673fb4af
Initial device support for MyKronoz ZeTime, following the wiki page add new device support.
2018-02-08 07:21:12 +01:00
Andreas Shimokawa
95cc538575
Amazfit Bip: Allow language to be set to Spanish (needs firmware 0.1.0.66 beta, not recommended)
...
This also requires the latin font to be flashed before.
2018-01-30 23:06:08 +01:00
Yaron Shahrabani
99a5a1112c
Translated using Weblate (English)
...
Currently translated at 100.0% (459 of 459 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2018-01-27 22:43:40 +01:00
Andreas Shimokawa
1349a1c7da
Merge branch 'master' into bip-wip
2018-01-22 08:57:01 +01:00
Allan Nordhøy
ce9698c4e5
Flashing, the %s firmware, LE
2018-01-12 22:01:43 +01:00
Allan Nordhøy
b68e41a679
Spelling: Upgrade, no successful, ++
2018-01-12 22:01:43 +01:00
Felix Konstantin Maurer
1477235fa2
Clean preferences code
2018-01-09 22:41:27 +01:00
Felix Konstantin Maurer
58e504e299
Improve code, add notification
2018-01-09 22:41:27 +01:00
Andreas Shimokawa
7e2f895001
Merge branch 'master' into bip-wip
2017-12-17 00:24:48 +01:00
Andreas Shimokawa
17a820028e
move weather to another screen
2017-12-16 23:42:50 +01:00
cpfeiffer
fccd2ebb77
Display the actual firmware kind instead of "Firmware"
...
i.e. "GPS Firmware", "Watchface", "Resources", ...
2017-12-11 23:36:39 +01:00
Andreas Shimokawa
bfceaf9cc9
Merge branch 'master' into bip-wip
2017-12-11 19:30:54 +01:00
Andreas Shimokawa
f0ac296492
Initial support for cyanogenmod/lineage weather provider
...
TODO:
- also reconstruct json for Pebble background js fake replies
- find a better location for settings
- interatively display candidates when looking up location
- grey out setting on non-cm/los devices
2017-12-11 19:09:37 +01:00
Andreas Shimokawa
2ccebe07f5
Merge branch 'master' into bip-wip
2017-11-11 00:08:19 +01:00
Andreas Shimokawa
1e324acd65
Mi Band 2/Bip/Cor: Whole day HR Measurement
2017-11-11 00:04:51 +01:00
Andreas Shimokawa
640e7f0abf
Merge branch 'master' into bip-wip
2017-11-03 23:27:58 +01:00
cpfeiffer
d9de8e0cab
Bip: new activity type mapping
2017-11-03 21:54:48 +01:00
Andreas Shimokawa
dd440f51df
Amazfit Bip: add manual language selection
2017-11-01 23:32:54 +01:00
Daniele Gobbetti
331ca6a47e
Merge branch 'master' into bip-wip
2017-11-01 22:12:13 +01:00
Daniele Gobbetti
98b04dd2fc
Allow disabling left/right swipe on the graphs
...
Fixes #860
Added preference to control this option
Swiping down will still toggle a sync of the data from the device (if connected) in any case
2017-11-01 09:07:01 +01:00
cpfeiffer
f5318287c4
WIP: Bip GPS fetching, parsing, exporting
...
Also adjust Mi2 date/time sending wrt DST offsets
2017-10-31 23:16:39 +01:00
Andreas Shimokawa
958f586212
change "Bip" in settings to "Amazfit" (to include Cor)
2017-10-25 22:49:29 +02:00
Andreas Shimokawa
94cfaadc41
Amazfit Cor: whitelist latest .res and .fw
...
Add a note about this being totally untested, especially scary since the new res format is different.
2017-10-25 22:26:38 +02:00
Andreas Shimokawa
55cdc6d1c5
Amazfit Cor: Untested firmware update support
...
(refactor stuff along the way)
2017-10-24 22:01:25 +02:00
Daniele Gobbetti
5262c6e3d7
Add quick actions buttons to Gadgetbridge notification #759
...
- Disconnect button if connected
- Fetch activity if connected and supported by device
- (re)connect the last connected device if disconnected
Known bug: In the last case, if multiple devices were connected, the wrong device gets re-connected
2017-10-20 22:49:53 +02:00
Daniele Gobbetti
e8ae47de79
Pebble: Make background JS support toggle-able
...
- Add preference to enable background JS (default disabled)
- Remove the dummy activity used to create the webview, use ExternalPebbleJSActivity instead
- Add layout for legacy configuration, used if background JS is not enabled
- Create the view upon connecting, not when launching the application
- Remove the generic helpers used to find out if any device would need the background webview
- Drastic refactoring of WebviewSingleton moving internal classes in a new package "webview" in service/devices/pebble
2017-09-25 17:12:35 +02:00
Andreas Shimokawa
99d873a178
Merge branch 'master' into background-javascript
2017-09-13 21:51:55 +02:00
mueller-ma
a845f21493
Make broadcast non translatable
2017-09-12 23:01:45 +02:00
mueller-ma
d7152f568f
Adjust strings to meet material guidlines
...
Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
2017-09-12 23:01:45 +02:00
Michal Novotny
05d0625b68
Mi Band 2: Implement multiple button actions
...
This enables option for multiple button actions according to the "Delay after button action". This broadcast is being sent to the intent
along with button_id extra identifying how many times have the pass been done.
By pass defined number of button presses is meant.
2017-09-10 23:02:13 +02:00
Daniele Gobbetti
6def9dc07e
Pebble: allow to translate quick actions sent to the watch
...
Fixes #789
2017-09-10 17:57:18 +02:00
Andreas Shimokawa
3e05f8ff4a
Merge branch 'master' into background-javascript
2017-09-05 22:49:07 +02:00
Michal Novotny
fcf9be877a
Support for button actions on Mi Band 2 device ( #793 )
...
Implement button actions for MiBand 2
2017-09-05 22:37:41 +02:00
Jonas
a727b859e0
Translated using Weblate (English)
...
Currently translated at 100.0% (396 of 396 strings)
Translation: Freeyourgadget/Gadgetbridge
Translate-URL: https://hosted.weblate.org/projects/freeyourgadget/gadgetbridge/en/
2017-09-05 21:04:21 +02:00
Andreas Shimokawa
c627d690c7
Merge branch 'master' into background-javascript
2017-08-29 22:53:38 +02:00
Andreas Shimokawa
144491ea4b
remove unused connectionstate_ strings (these were used in the old main activity)
2017-08-29 22:44:18 +02:00
Andreas Shimokawa
74652397dd
Merge branch 'master' into background-javascript
2017-08-28 00:35:28 +02:00
Andreas Shimokawa
455dfde63d
Amazfit Bip: add instructions and warning to the firmware installation screen
2017-08-27 23:08:10 +02:00
mueller-ma
bde8e4c0e6
Adjust strings to meet material guidlines ( #762 )
...
* Adjust strings to meet material guidlines
https://material.io/guidelines/style/writing.html#
2017-08-26 23:10:31 +02:00
Andreas Shimokawa
3fd6590a9a
add Bip to Mi Band settings string (this is a test for weblate)
2017-08-26 22:28:22 +02:00
Andreas Shimokawa
f4e11c8cb3
Merge branch 'master' into background-javascript
2017-08-22 20:13:20 +02:00
Daniele Gobbetti
c05e5f15ab
Add link to liberapay.com in the main drawer.
...
/cc #14
2017-08-18 21:51:12 +02:00
Daniele Gobbetti
d00b5a5d5d
Merge branch 'master' into background-javascript
2017-08-18 12:15:01 +02:00
Daniele Gobbetti
8cce2d1362
Pebble: allow to blacklist certain calendars
...
As requested in #736 , this adds an entry in the settings menu that allows to blacklist certain calendars.
To avoid confusion, all the former blacklist methods and fields have been renamed to apps_blacklist. The new entries are called calendars_blacklist.
Importing the settings has not been tested with the current changes.
Closes #736
Future improvements TODO: The new setting lives in the Pebble section, i believe in the future the blackslist functionality should be centralized and put in the sidebar.
2017-08-18 10:34:42 +02:00
mueller-ma
3c8706cc22
Update transliteration summary
...
Since new chars has been added (7f5aeb6ab1
) it would be better not to mention specific languages here.
2017-08-10 19:44:05 +02:00
Daniele Gobbetti
f6946c4402
Merge branch 'master' into background-javascript
2017-07-24 23:47:15 +02:00
José Rebelo
f7abe2d4a3
Mi Band 2: Inactivity Warnings
2017-07-17 20:25:52 +02:00
Andreas Shimokawa
eb7e635cdc
Merge branch 'master' into background-javascript
2017-07-15 23:07:46 +02:00
José Rebelo
34bd2ed9cc
Mi Band 2: Do Not Disturb
2017-07-15 21:17:29 +02:00
José Rebelo
ceb82f3474
Mi Band 2: Goal notification
2017-07-15 21:14:25 +02:00
Carsten Pfeiffer
377e999067
Merge branch 'master' into mi2-display-items
2017-07-13 23:26:25 +02:00
José Rebelo
6c95a9fcb9
Mi Band 2: Rotate wrist to switch info
2017-07-13 23:20:11 +02:00
José Rebelo
2c0b105aa6
Mi Band 2: Display item settings
2017-07-12 14:59:14 +01:00
cpfeiffer
1d79c9d93d
Dark theme: set some text colors for the speed zone tab
2017-05-18 23:26:04 +02:00
Vebryn
7dc9c28c74
initial version of speed zones tab ( #674 )
...
* #673 initial version of speed zones tab
* #673 fix copyrights and initial step speed length
2017-05-14 23:09:27 +02:00
Andreas Shimokawa
3751273cd0
Merge branch 'master' into background-javascript
2017-05-09 14:04:33 +02:00
Andreas Shimokawa
bc4503c8bf
Pebble: Add option for Calender Timeline sync (default on)
2017-04-24 12:39:40 +02:00
Daniele Gobbetti
5c0c5581bb
Merge branch 'master' into background-javascript
...
# Conflicts:
# app/src/main/assets/app_config/js/gadgetbridge_boilerplate.js
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/AbstractDeviceCoordinator.java
# app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/DeviceCoordinator.java
2017-04-08 21:16:01 +02:00
Alberto
f3edf7559d
HPlus: added low battery information ( #638 )
...
HPlus: Notification of low battery
I added the notification of low battery HPlus ... specifically, I used
the HPlusConstants.DATA_STATS event on hplusSupport
I also included the status of the device in the list of
gbdevice -> getDeviceInfos
2017-04-06 23:55:29 +02:00
cpfeiffer
5b8624de71
Make pairing optional after discovery
...
See #642 which might be fixed by not pairing.
2017-04-06 23:47:35 +02:00
Alberto
45eb14684b
import export SharedPreferences ( #600 )
...
Import and export SharedPreferences
i add function for import and export SharedPreferences setting
when export or import db execute export or import SharedPreferences
for blacklist i preload HashSet
2017-04-05 00:16:17 +02:00
Andreas Shimokawa
06c89b508e
Merge branch 'master' into background-javascript
2017-03-16 18:01:51 +01:00
cpfeiffer
d408be5ec8
Mi2: make text/icon notifications confiurable and version dependent
2017-03-15 00:26:39 +01:00
cpfeiffer
5d96df3508
Mi2: add hint about intermediate firmware 1.0.0.53
2017-03-14 23:45:30 +01:00
Alberto
6989ca9db3
Add privacy mode that hides the phone number ( #588 )
2017-03-14 21:45:36 +01:00
Andreas Shimokawa
09f3dad9ff
Merge branch 'master' into background-javascript
2017-03-11 22:03:29 +01:00
Translation Bot
3abbe12b53
Merge branch 'master' into new_GUI
2017-03-08 21:42:52 +01:00
Andreas Shimokawa
942984dec2
Merge branch 'master' into background-javascript
2017-03-08 10:24:31 +01:00
cpfeiffer
94744677c9
Improve discovery hint re Privacy Guard crash
2017-03-05 16:30:31 +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
82ea5702c5
Mi2: configurable time format (12h/24h)
...
Fixes #573
2017-03-03 22:14:28 +01:00
cpfeiffer
4419200624
Mi2: Initial support for textual notifications #560
2017-03-03 20:12:43 +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
Daniele Gobbetti
176cf79cc1
Merge branch 'master' into new_GUI
...
# Conflicts:
# app/build.gradle
2017-02-26 16:55:54 +01:00
cpfeiffer
711800f3d0
Collaborative attempt to initialize the background webview on startup
2017-02-25 18:01:08 +01:00
Andreas Shimokawa
08080b02bb
Drop support for legacy (pre 0.12.0) database
2017-02-23 22:44:44 +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
cpfeiffer
e5d09b9fa2
Automatically start the service on boot (can be turned off)
...
Fixes #9
2017-02-17 23:24:44 +01:00
Andreas Shimokawa
ee28ccd4fe
Pebble: add a dev option to always and immediately ACK PebbleKit messages to the watch
...
Might help #509
2017-02-10 23:07:36 +01:00
Andreas Shimokawa
f35e3e460d
remove K9 receiver as is works better with generic notifications
2017-02-09 17:35:46 +01:00
cpfeiffer
4f0674d038
Support for alarm clock notifications for Mi1 + Mi2 #538
...
No support for Pebble and HPlus for now.
Atm relies on the CM deskclock alarm, which nicely broadcasts
events about the current alarm. See
https://github.com/CyanogenMod/android_packages_apps_DeskClock.git
2017-02-07 23:49:10 +01:00
Andreas Shimokawa
e2b3394900
made caller privacy pebble setting generic
2017-02-07 10:15:23 +01:00
João Paulo Barraca
475426c0ed
Merge branch 'master' into hplus-preferences
2017-02-06 01:39:45 +00:00
João Paulo Barraca
a3cc84c01d
HPlus: add device specific preferences and icon
2017-02-06 01:33:15 +00:00
Daniele Gobbetti
dccd6c1b06
Pebble: implement privacy modes
...
The user can choose whether to completely hide the notification text or push it off-screen. This also effects the incoming call notification.
Fixes #370
2017-02-05 16:37:59 +01:00
cpfeiffer
f9779d9695
Improve some messages
2017-01-26 23:22:57 +01:00
cpfeiffer
4c26c2933b
Mi Band 1+2: make BT pairing optional
...
(Attemts to fix #512 , #514 , #518 )
2017-01-26 00:16:38 +01:00
Andreas Shimokawa
019da98dfa
escape ' in strings.xml
2017-01-22 22:40:24 +01:00
Andreas Shimokawa
c39318af05
CHANGELOG, bump version, improve strings about transliteration
2017-01-22 22:30:40 +01:00
ivanovlev
01d9a63e8b
Merge branch 'master' into master
2017-01-15 12:27:25 +03:00
ivanovlev
074394cba4
Transliteration is moved to a separate class, added settings option
2017-01-15 12:24:36 +03:00
Andreas Shimokawa
ce67bf2c52
Pebble: make the feature to automatically delete notifications from the pebble optional
...
(This is not pebble specific at all but as long as other devices do not use that it will stay in the Pebble specific preference screen)
2017-01-15 00:10:40 +01:00
Daniele Gobbetti
4dfef382a9
Pebble: change the overflow menu of the weather system app.
...
If the weather notification app is not installed, link to fdroid (app if installed, web page of the app if not).
If the weather notification app is installed, show the options to activate and deactivate it.
2017-01-14 18:19:41 +01:00
Daniele Gobbetti
0152e7ce02
Make the text in the Weather configuration mock activity a bit more clear.
2017-01-14 15:10:57 +01:00
Andreas Shimokawa
23a1663384
fix wording (style -> skin)
2017-01-14 11:16:01 +01:00
cpfeiffer
1e24fa7ad8
Dummy weather notifucation config activity
2017-01-14 00:26:47 +01:00
Andreas Shimokawa
f05b51fd83
Pebble: Add option to disable call display
...
Closes #494
2017-01-09 14:41:02 +01: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
Daniele Gobbetti
e477d22c88
Pebble: support the system weather app.
...
- enable/disable weather app from the watchapp list
- convert weather data to a format that can be displayed by the system app
TODO: send the weather data periodically
2016-12-30 20:14:13 +01:00
Andreas Shimokawa
bd5dc6bfbc
Pebble 2/LE: Add setting to limit the MTU (for debugging broken BLE stacks)
2016-12-19 23:28:06 +01:00
cpfeiffer
d12103e95d
Merge branch 'master' into new_GUI
2016-12-15 20:31:04 +01:00
Andreas Shimokawa
17e9c7e331
fix strings accidentially swapped
2016-12-04 17:26:55 +01:00
Andreas Shimokawa
a691cd0ff7
Pebble: add option to enable applogs (debug messags from pebble apps)
2016-12-04 16:55:27 +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
82cd06f4c1
Mi2: WIP: initial support for activity data
...
(#323 )
2016-11-22 00:05:41 +01:00
Andreas Shimokawa
c95587c915
remove _le suffix where not appropriate
2016-11-19 22:45:42 +01:00
Andreas Shimokawa
029cc02a29
Pebble: Add Pebble specific pairing activity mainly useful for Pebble 2 since it properly pairs the Pebble after connecting with BLE
...
Fixes #433
2016-11-19 22:13:00 +01:00
Andreas Shimokawa
82a47022fa
Pebble 2: allow to disable/enable HRM in context menu of Workout app
...
Okay this might be stupid since Workout seems to work also works without HRM!
I assumed (wrongly) that I will disable Workout by disabling HRM
anyway, better than not being able to toggle it at all!
2016-11-15 12:17:51 +01:00
cpfeiffer
d8145a52f9
Activate the display when lifting the wrist #323
...
Configurable, defaults to true
2016-11-13 21:47:54 +01:00
cpfeiffer
d89899557c
Mi2: Add config option to configure date/time display
...
(added a new EventHandler method to set a specific configuration option)
2016-11-13 20:47:24 +01:00
Daniele Gobbetti
16c4f1a5ca
Pebble: add toggle to use last known location for sunrise and sunset
...
This adds the feature discussed in #415 , the used location is the last recorded by the network location provider, if it's not available then the stored location is used.
2016-11-06 15:42:52 +01:00
Daniele Gobbetti
d087e2142d
Merge branch 'master' into new_GUI
2016-10-29 20:54:21 +02:00
Andreas Shimokawa
e50574d23c
change string "Open in Pebble Appstore" in "Search in Pebble Appstore"
2016-10-29 19:01:39 +02:00
Daniele Gobbetti
8fdb233ef0
Bind connect and disconnect to the whole cards.
...
Use snackbars to give early feedback to the user (colors are wrong now, waiting for a change in master).
Removed hintTextView for good
2016-10-29 18:20:53 +02:00
Daniele Gobbetti
a4b7b87b24
Merge branch 'master' into new_GUI
2016-10-29 16:40:33 +02:00
Andreas Shimokawa
f755d99023
Pebble: Add context menu option in app manager to search a watchapp in the pebble appstore
2016-10-29 11:41:08 +02:00
cpfeiffer
8187c6d207
Fix message placeholder
2016-10-29 00:43:59 +02:00
cpfeiffer
a941a6cd5f
Make some strings translatable
2016-10-28 23:47:39 +02:00
cpfeiffer
e75f4f84e1
Hint: you need to enable location for device discovery.
2016-10-28 23:27:25 +02:00
Daniele Gobbetti
371f0ecdd0
Use a new GUI for the controlcenter.
...
The existing logic was mostly ported to the new activity, with the exception of device deletion (and all TODOs).
2016-10-21 13:01:30 +02:00
Andreas Shimokawa
a094f0cc76
Mi Band: for vibration settings, group navication types (email, sms, chat, social network, navigation)
2016-10-11 15:20:55 +02:00
cpfeiffer
5e9c45e8b0
K9 Mail -> Email
2016-10-10 21:55:44 +02:00
cpfeiffer
db034a246c
Add 'Try' button to vibration profile preferences, closes #405
2016-10-09 00:10:53 +02:00
cpfeiffer
2e7fb57172
Display device name to delete, and use different API to delete device
2016-09-30 22:58:28 +02:00
Andreas Shimokawa
5c0618d43d
show confirm dialog before actually delete device
...
Also delete device last (after associated data), so that we do not leak if something fails
(#401 )
2016-09-30 19:04:44 +02:00
Andreas Shimokawa
30d686fa50
support deleting devices and associated data
...
(#401 )
TODO:
- remove device from list after deleting (needs changes to DeviceManager)
- confirmation dialog!!!
2016-09-30 13:41:06 +02:00
Andreas Shimokawa
6a18d90fee
Vibratissimo: add simple and buggy activity with a slider for vibration control
...
Also includes some fixes and "find your device" support ;)
2016-09-20 20:28:52 +02:00
Andreas Shimokawa
e1927733ba
remove special handling for conversations (latest release removed pebble messages)
2016-09-10 23:53:24 +02:00
cpfeiffer
ec0a0db4f6
Make strings translatable in the database management activity
2016-09-06 22:59:08 +02:00
Daniele Gobbetti
aa2d37c76b
Small changes to the DB management activity #UX
2016-09-04 16:20:50 +02:00
Daniele Gobbetti
1e6cb67edd
UI refactoring of the DB management activity.
...
Added a method to delete the legacy DB only.
2016-08-31 17:35:28 +02:00
Daniele Gobbetti
e230bd1d07
Fix reference to the DB management activity
2016-08-31 15:27:31 +02:00
Daniele Gobbetti
6a2043eeb7
Create DB management activity by taking the existing functionalities from the debug activity.
2016-08-31 15:12:26 +02:00
Daniele Gobbetti
84e644fa1a
Add preference for save raw pebble health data.
2016-08-31 14:05:02 +02:00
Andreas Shimokawa
854b925c17
add hint about importing data later in onboarding activity
2016-08-29 23:46:33 +02:00
Andreas Shimokawa
c93186cc56
fix name of onboading activity
2016-08-29 00:23:48 +02:00
Andreas Shimokawa
07ee860b1c
add information to onboarding activity, make strings translatable
2016-08-29 00:17:40 +02:00
Roman Plevka
e8a4c28510
Fixed 'Activiy' typo in strings.xml
2016-07-14 23:15:36 +02:00
Andreas Shimokawa
4de45787c3
Properly acquire network location if last location is not known
...
A toast will be shown if the network location provider is disabled.
Location will be automatically acquired after enabling it.
Fixes #346
2016-07-05 23:56:14 +02:00
Daniele Gobbetti
20e2846d00
Enable localization of appmanager tab strip
2016-06-25 11:27:56 +02:00
Andreas Shimokawa
b77f3ad3bf
Pebble: Implement call dismissal with canned messages
...
This also moved the canned replies setting to pebble settings
(we will change that if we have another device supporting this)
2016-06-24 10:25:08 +02:00
Andreas Shimokawa
98999993e5
Pebble: In AppManager allow moving apps on the device to the top (context menu)
2016-06-12 01:20:12 +02:00
Andreas Shimokawa
32429df7bc
Pebble: allow to enable or disable sync for each activity tracker in settings
...
This is useful if you have multiple phones and do not want to have your data synced to one of them
2016-06-07 22:51:14 +02:00
Carsten Pfeiffer
1ed0dc59b2
Merge pull request #321 from pragmaware/mi-band-device-time-offset
...
Add support for shifting the device time by N hours
2016-06-05 22:29:44 +02:00
Andreas Shimokawa
0fb664c141
allow to switch languages at runtime
2016-06-05 14:33:09 +02:00
Szymon Tomasz Stefanek
60fc29cc4d
Add support for shifting the device time by N hours to allow for sleep data gathering of shift workers
2016-06-03 04:43:12 +02:00
Andreas Shimokawa
2e8d96e995
add option to enable sunrise/sunset on the timeline
...
Also fix a small type Aquire -> Acquire
2016-05-29 21:29:27 +02:00
Andreas Shimokawa
7ef005f6a3
Allow getting the network location within pebble settings for sunrise/sunset calculation
...
It is also possible to set the location manually
On Android >=6 the required permission will be requested when pressing the button in settings.
2016-05-26 14:39:54 +02:00
Andreas Shimokawa
437de7f660
fix duplicate entry in strings.xml
2016-05-22 23:38:51 +02:00
Andreas Shimokawa
efe5e546fd
Merge branch 'master' into feature-sunrise
2016-05-22 23:36:09 +02:00
Andreas Shimokawa
80cf9fa8fe
Pebble: allow to delete apps from pbw cache
...
Also remove delete entries from all system apps' context menus (not only health)
2016-05-22 23:32:25 +02:00
Andreas Shimokawa
6370fdbebe
Merge branch 'master' into feature-sunrise
2016-05-22 01:25:52 +02:00
Normano64
8a91628322
Detects if Do Not Disturb is in use.
...
Can handle sms and phone calls from priority senders when in Priority
only, but doesn't handle events and reminders.
2016-05-19 16:34:59 +02:00
Andreas Shimokawa
017f650b3f
Pebble: send sunrine and sunset pins to timeline when setting time in debug menu
...
This is just a test and it will leak your timeline data, since we never delete it.
Also this adds some rough infrastructure for calendar events.
2016-05-16 17:30:11 +02:00
Andreas Shimokawa
65a95366f4
Mi Band: Allow setting low-latency FW update mode in Mi Band development settings
2016-05-04 13:24:32 +02:00
Andreas Shimokawa
619a17425f
Mi Band: Display hint about starting Activity Activity instead of App Manager
...
TODO: Fix the string, I have no idea how to properly name the Activity Activity
2016-05-04 12:31:29 +02:00
cpfeiffer
5e02724c4c
Make automatic reconnect after connection loss configurable #293
...
Mi Band: automatically reconnect when the device is back in range
Also: #89
2016-04-28 23:17:13 +02:00
cpfeiffer
0427294227
Dynamically enable/disable logging #288
2016-04-18 00:20:40 +02:00
Andreas Shimokawa
f76a1ba16f
allow to switch to dark theme im settings
2016-04-14 16:15:58 +02:00
cpfeiffer
f15a97d994
Initial live heartrate measurement in the live activity tab #178
2016-04-12 23:12:50 +02:00
Lem Dulfo
70ed14243f
Remove all getActionBar occurences, temporary fix for overlap
2016-04-10 21:11:52 +02:00
cpfeiffer
403f74e59b
Enable heart rate charts #232
...
(And fix some charting issues)
2016-04-04 23:05:20 +02:00
Christian Fischer
20aa7d9ad9
add preference to set hartrate sleep detection
2016-04-02 16:09:30 +02:00
cpfeiffer
8815f0d134
Small cleanups and fixlets.
2016-03-28 23:02:22 +02:00
cpfeiffer
bfcfe82f17
Improve pairing activity: #254
...
- add hint about rebooting phone
- request enabling bluetooth
2016-03-26 20:46:48 +01:00
cpfeiffer
8165751e57
Refactoring to test the double firmware update procedure #234
...
(while performing the same, known to be working firmware update for Mi1A)
Result: double firmware update procedure works on Mi1A.
Also updated FirmwareTest. Perform all tests not only in the test itself,
but also at runtime before doing the actual update.
Further:
- fix setting of firmwareInfoSent state variable, which prevented installation
of the section firmware
- make one string translatable
2016-03-25 23:45:27 +01:00
cpfeiffer
3714ec82da
Extracted String "HR: ", (= Heart Rate Firmware Version)
2016-03-24 22:23:16 +01:00
cpfeiffer
71461642f7
Fix enabling "Write Log File" option ( closes #261 )
2016-03-22 23:07:11 +01:00
cpfeiffer
e26e6d7b24
Display HR firmware version
...
Hide fw,hw,hr versions by default and show them on demand with an info
button.
2016-03-16 00:27:32 +01:00
cpfeiffer
91f02ae920
WIP: Lots of work towards double firmware update for Mi 1S #234
2016-03-16 00:27:08 +01:00
Daniele Gobbetti
089a59168e
Initial support for using an external browser for configuring pebble apps. This allows existing configuration pages to work without having internet access ourselves.
...
This is a better approach as initially thought in #191 .
What is missing is outlined in the (several) TODOs.
2016-03-02 21:07:27 +01:00
0nse
ba35679690
/ Pad the alarm time with zeroes when toasting.
2016-03-02 00:15:31 +01:00
0nse
3babedf936
+ Add Widget which allows quickly creating an alarm depending on the user's preferred sleep length (in hours).
2016-02-29 21:36:39 +01:00
Andreas Shimokawa
70ae5a2a3a
Pebble: Allow to select the preferred activity tracker via settings activity (Health, Misfit, Morpheuz)
2016-02-18 20:41:22 +01:00
cpfeiffer
c86365ee2e
Some more Mi Band pairing improvements #180
...
- listen to notifications early -- the band then actually tells us that
authentication is required
- check for this after sending user info
- add authentication states to GBDevice
- workaround for event problems in pairing activity (delivered although
already unregistered)
- BtLEQueue now deals with gatt events coming *before* connectGatt()
actually returned (namely the connection event)
2016-02-13 00:15:16 +01:00
danielegobbetti
ba9e00d2e4
Add strings for activate and deactivate pebble Health
2016-02-06 21:23:21 +01:00
Daniele Gobbetti
94c8633bad
Move the generic user info outside the miband preferences activity. They still have to be renamed.
2016-02-02 14:32:19 +01:00
Andreas Shimokawa
de4ffe8fb0
allow to setup a common suffix for canned replies (defaults to " (canned reply)")
2016-01-11 15:29:12 +01:00
Andreas Shimokawa
d7f74851e2
Pebble: allow reinstallation of apps in pbw-cache from App Manager (long press menu)
...
See #93
Also bump version, update CHANGELOG.md
2016-01-02 12:24:23 +01:00
Andreas Shimokawa
11e02fbf5f
Pebble: add experimental reconnect support for standby-mode on firmware 3.x
...
- You should also set reconnect attempts to 0 in preferences when using this.
- It also works when you set flight mode on the pebble, then wait for about 5 minutes and turn BT back on
- Pebble FW 2.x support ist completely untested.
2015-12-27 19:11:40 +01:00
Daniele Gobbetti
0dda5c214b
Add preference for reserved alarm slots (for calendar event notification)
...
Just this, no logic to support the choice yet.
2015-12-17 16:11:35 +01:00
Andreas Shimokawa
53fb63781e
WIP: Work towards SMS replies / canned replies
...
- Implement the PebbleProtocol side (2.x and 3.x)
- Add Preferences for canned replies
This can be tested by enabling untested features in Pebble Settings
It lets you see and select the replies set up in "Canned Repies" on the Pebble
You will get a "NOT IMPLENTED" message on your Pebble.
THIS DOES NOT ACTUALLY DO ANYTHING USEFUL YET.
2015-12-13 12:03:57 +01:00
cpfeiffer
365ce61cb6
Support for firmware upgrade/downgrade on Mi 1A.
...
I hope I didn't break firmware upgrades on some Mi 1 models
other than mine (my hardware revision is 2).
Upgrades for Mi 1S are currently disabled, we need some brave
souls who can help us test this.
Closes #173
Also see: #169
2015-12-07 01:14:06 +01: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
cpfeiffer
45fc2c181c
Add pulldown to sync and tabs in the charts activity #138
2015-10-17 17:10:14 +02:00
cpfeiffer
0d27245dd1
Some more translations + reoder live activity layout
2015-10-04 00:17:24 +02:00
cpfeiffer
baa2d0b27a
Displaying live activity data works well enough
2015-10-02 23:38:07 +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
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
Andreas Shimokawa
6e3c839608
Allow to select preferred music player in preferences, closes #112
2015-09-16 00:53:54 +02:00
Andreas Shimokawa
0ad758fbca
WIP blacklist activity (currently does nothing except listing apps)
2015-09-10 13:48:54 +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
b979a1feff
Renamed "Discover Device" to "Connect new Device"
...
This disambiguates it from "Find lost Device"
2015-09-06 00:35:34 +02:00
Andreas Shimokawa
bc98805809
add strings from live-activity-data branch to fix build
2015-09-02 23:07:15 +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
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
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
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
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
Andreas Shimokawa
5884684cad
Pebble: add option to enable untested features.
...
Bad things incoming ;)
2015-08-11 11:15:44 +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
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
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
cpfeiffer
1f2b0329c5
Misc improvelets ( #45 )
2015-07-21 21:24:35 +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
623e4724c2
Slightly better text when no data available
2015-07-12 21:48:48 +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
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
Andreas Shimokawa
07d59322bd
Pebble: Preparations for taking screenshots
...
This commit also includes some cleanups and removal of unused code/strings
2015-06-24 00:23:38 +02:00
cpfeiffer
4b241ca9eb
Initial work on supporting multiple charts.
...
- one fragment per chart screen
- common chart code should move to fragment baseclass and the host
Activity (ChartsActivity)
Currently it's not used, change ControlCenter to invoke ChartsActivity
instead of SleepChartActivity to test it.
WIP for #79
2015-06-23 23:03:05 +02:00
cpfeiffer
23d91ac79e
Support for finding a lost device ( closes #42 )
2015-06-21 19:46:02 +02:00
cpfeiffer
c7b4f295a1
Support for vibration profiles, configurable for notifications
...
Configurable for sms, k9, incoming calls, pebble messages, generic
notifications.
Color is unfortunately not configurable so far, see #37
Closes #29
Currently provided profiles are
- staccato
- short
- medium
- long
- waterdrop
- ring
- alarm clock
2015-06-21 19:46:01 +02:00
Andreas Shimokawa
7e1700250f
Pebble: add dev option to force latest notification protocol usage
...
When enabled it forces to use 3.x notifications on FW 3.x (2.x notifcations on FW 2.x)
When disabled 2.x notification on FW 2.x and 1.x notifications on FW 2.x are used (which is recommended)
This allows Pebble Time users to do further tests.
2015-06-19 12:34:33 +02:00
Andreas Shimokawa
d2f7169de4
Really, I see no reason to look up a string for a preference key in an xml file
...
If we have to use a key to lookup the string for the key, we can just use that key as the preference key.
2015-06-13 01:12:08 +02:00
cpfeiffer
8aef92026c
A new sleep chart based on MPAndroidChart 45
...
- supports zooming an panning
- displays labels for all x-values (= time of day)
- fix deep vs. light sleep constants
- increase activity data buffer size for Mi Band
2015-06-11 23:37:00 +02:00
cpfeiffer
ba76f64bf6
Disable context menu while busy and add "Disconnect" to context menu
2015-06-07 15:31:42 +02:00
cpfeiffer
020d8d74d6
Added "Fetch Activity Data" to the context menu.
...
With some kind of progress reporting during the fetching #45
2015-06-06 19:39:04 +02:00
cpfeiffer
9e4e50be47
Initial work on synchronizing activity data with feedback.
...
A device now has a busy flag (set during synchronization). While busy,
no other communication with the device shall occur (TODO)
Refactors the non-bluetooth actions a bit #45
Next step: make use of the busy state in ControlCenter (show
a busy cursor) and in BluetoothCommunicationService (to not call other
operations while busy)
2015-06-06 00:40:16 +02:00
cpfeiffer
7f89f4bb57
Some fixes regarding device initialization, should avoid disconnects
...
Avoid repeated initializations and device info requests. Fix unsetting
of dynamic state (e.g. battery info) when initialized.
2015-06-01 21:47:02 +02:00
Andreas Shimokawa
6ea9537d38
Start sleep activity with context menu (long press on a device)
...
This allows to see sleep data even if devices are not connected.
2015-06-01 16:57:45 +02:00
cpfeiffer
4518e8819d
Make file-logging configurable
2015-05-23 00:45:12 +02:00
Andreas Shimokawa
68b76aa5c5
Pebble: Get Morpheuz sleep data visualize through SleepMonitorActivity
...
This very very experimental, and needs a complete overhaul.
But it is a start ;)
2015-05-21 18:17:39 +02:00
Andreas Shimokawa
2b98620ee0
Mi Band: Prepare preferences for vibration count, use number as input type for numeric field
2015-05-14 13:04:21 +02:00
cpfeiffer
c89bba0cba
Remove explicit "Refresh" device list action
2015-05-10 21:19:07 +02:00
Andreas Shimokawa
e78c912be3
Only sync time on time/timezone changes if appropriate option is set.
2015-05-10 11:21:16 +02:00
cpfeiffer
1a7c3c42e4
Do both BT and BTLE discovery (one after another) #33
2015-05-09 23:54:47 +02:00
cpfeiffer
ab5d5f6c6f
Made Mi Band preferences localizable
2015-05-09 21:43:04 +02:00
Andreas Shimokawa
8112d4afd8
update stings
2015-05-08 12:56:17 +02:00
cpfeiffer
d036f0539d
Added missing resource strings and clean up layouts
2015-05-08 00:42:46 +02:00
cpfeiffer
b2518ff927
Discovery + pairing now works
...
User info is asked on demand before starting the actual pairing.
When no (valid) user info is given, dummy user infor will be used instead.
2015-05-07 23:52:44 +02:00
cpfeiffer
a23690c8e1
Initial support for Mi Band specific settings
...
(User info for now).
TODO: We need to have that information *before* starting a connect
2015-05-07 01:32:17 +02:00
Andreas Shimokawa
d09b5442cf
Put FW/HW info inside its own TextView to cleanup the device list
2015-05-05 11:16:57 +02:00
cpfeiffer
9df661bd96
Initial (ugly) support for device discovery and pairing ( #3 )
2015-05-05 00:48:54 +02:00
Andreas Shimokawa
e859ece7c6
Add Support for notifications send to Pebble from 3rd party applications
...
This enables support for Conversations without using generic notificaion support.
Other applications could also work partly but are untested.
This commit also changes the SettingsActivity to use Comboboxes instead of two
Checkboxes for each notification source.
2015-05-04 01:03:56 +02:00
Andreas Shimokawa
93b463c47e
update German translation
2015-05-01 10:08:24 +02:00
cpfeiffer
8b3b4d0882
#46 make all strings localizable
2015-05-01 01:26:30 +02:00
Andreas Shimokawa
13d734b0f1
add development option to set a miband device address so it appears in our list.
...
This is only meant for future development, there is no MI Band support yet!
2015-04-01 23:00:05 +02:00
Andreas Shimokawa
d9a2d85f6d
Fix for DST (summer time), option to sync time on connect (enabled by default)
2015-03-29 17:12:06 +02:00
Andreas Shimokawa
4117444c26
Display app name, company and version when opening a .pbw file from a filemanager
2015-03-28 23:23:10 +01:00
Andreas Shimokawa
42e53c3c8d
support removing apps/watchfaces
2015-03-26 18:11:47 +01:00
Andreas Shimokawa
0ccb818f58
Added AppManager, does not do anything useful yet. Only lists installed Apps.
2015-03-25 22:23:45 +01:00
Andreas Shimokawa
2e7f45433a
display connection status in the device list
2015-03-22 23:38:51 +01:00
Andreas Shimokawa
ecb7a9f3b5
Remove quit button from the service notification, put a quit item in the context menu instead. Closes #12
2015-03-22 13:10:45 +01:00
Andreas Shimokawa
a47ba3c96f
Cleanup main Activity, move debug code to DebugActivity, added Call related debug buttons, add state tracking to PhoneCallReceiver, support in-call display of incoming calls (untested)
2015-02-07 12:58:18 +01:00
Andreas Shimokawa
dada70e92c
First checkin of actual code
2015-01-07 14:00:18 +01:00