Andreas Shimokawa
038f101a12
Migrate more settings to per-device settings
...
Also add icons.
2019-05-22 10:49:59 +02:00
Andreas Shimokawa
9bfef4cf4f
Make per-device settings more versatile, move more settings
...
This allows to construct per-device settings by device type very easily
device coordinators just do the following to declare which setting they support,
the settings activity is then composed at runtime.
@Override
public int[] getSupportedDeviceSpecificSettings(GBDevice device) {
return new int[]{
R.xml.devicesettings_miband3,
R.xml.devicesettings_swipeunlock,
R.xml.devicesettings_pairingkey
};
}
2019-05-22 00:42:22 +02:00
Andreas Shimokawa
49667451d7
Mi Band 3: fix setting language (regression after todays refactoring)
2019-05-20 23:27:17 +02:00
Andreas Shimokawa
81b102654a
Make travis green again
2019-05-20 21:53:53 +02:00
Andreas Shimokawa
08e7d728c2
Huami: Migrate some settings to device specific settings
...
- Migrate language setting
- Migrate menu items setting
- Migrate lastsync timestamp from prefixed global shared prefercence
All settings should be automatically be converted (e.g. Amazfit Bip settings to all paired Amazfit Bip devices) and then deleted.
Cor Settings aleady completely vanished from the global settings menu.
When migration is done we will have a much cleaner settings menu. Will also remove confusion that some Cor settings have to be done in Bip settings.
2019-05-20 16:36:06 +02:00
Andreas Shimokawa
6b72292812
Recoginze "Xiaomi Band 3" as Mi Band 3
...
When running newer Firmwares (since 2.2.0.12) it is possible that devics name themselves "Xiaomi Band 3".
After a factory reset? Related to target market?
Closes #1517
2019-05-18 21:03:50 +02:00
DerFetzer
dd067eddd7
Amazfit Bip: Add new latin languages
2019-05-14 20:58:07 +02:00
Andreas Shimokawa
6031586131
Mi Band 3 NFC: Whitelist FW 1.7.0.4
...
Closes #1470
2019-05-09 15:43:57 +02:00
Andreas Shimokawa
34b4943918
Also export and import device specific preference files
2019-05-09 14:55:37 +02:00
Andreas Shimokawa
5ecf3cadc8
Database Management Activity: Also remove "Delete Legacy Database" title when there is no legacy database.
...
The title caused me to press the button below and killing all my data from the last two years
2019-05-09 13:38:14 +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
19be1121c9
Merge remote-tracking branch 'github/pr/1492/previous_app_management'
2019-05-09 11:34:56 +02:00
Andreas Shimokawa
2dc228029a
Mi Band 3: Whitelist FW 2.3.0.28
2019-05-09 11:28:24 +02:00
Andreas Shimokawa
f7fe3a836f
Mi Band 3: Support flashing latest Japanese-Korean font file
...
This increases the supported file size to 2.0MB.
Somehow it is confusing that the new file is version 1 and the old version 2.
Also according to firmare.json both are version 1....
2019-05-07 11:13:48 +02:00
Andreas Shimokawa
0399bc048c
Mi Band 3: Whitelist Firmware 2.3.0.6
2019-05-07 10:43:26 +02:00
Andreas Shimokawa
6d28af1132
Mi Band 2: enable per-device pairing keys
...
Now enabled for all Huami devices
2019-05-02 22:40:28 +02:00
Andreas Shimokawa
bb161aff59
Amazfit Cor: Also recognize "Amazfit Band 2" as Cor
2019-05-02 22:26:20 +02:00
Andreas Shimokawa
f6095f56ae
Merge remote-tracking branch 'github/pr/1503/work_profile'
2019-05-02 21:59:51 +02:00
Andreas Shimokawa
77c76a7bd3
Mi Band 3: enable per-device pairing keys
2019-05-01 21:56:36 +02:00
Andreas Shimokawa
67ac8dd335
Merge remote-tracking branch 'github/pr/1502/device_casio_improve_no_ble_scan'
2019-05-01 21:26:22 +02:00
Andreas Shimokawa
86270c0592
Try to enable Amazfit Cor 2 support but just using Amazfit Cor code.
...
Related to #1500
2019-05-01 19:51:32 +02:00
Andreas Böhler
aa6b0b7d5f
Also check work profile for number lookup
2019-05-01 15:13:08 +02:00
Andreas Böhler
e82ac8dfd7
Make use of GattServer in BtLEQueue, improve initialization sequence, improve pairing sequence and fix a few bugs
2019-05-01 15:04:02 +02:00
Matej Drobnič
580d70e910
add pebblekit extension for reopening last app
2019-04-23 20:12:53 +02:00
Andreas Shimokawa
f01c9414f5
fix a few warnings
2019-04-21 22:08:14 +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
Daniele Gobbetti
2a8fe5c3a0
Fix searching in application name when blacklisting.
...
The filter pattern is forced to lowercase, so also che application names
should be.
Fixes #1482
2019-04-21 21:21:21 +02:00
License Bot
9aadb2f2fd
Update license headers
2019-04-21 18:53:10 +02:00
Daniele Gobbetti
7c918ee191
Add UI to invoke device specific settings Activity
...
Currently the icon in the card is hidden for all devices, since the
functionality is not implemented yet
2019-04-21 15:59:39 +02:00
Johannes Schmitt
f92626f4a5
moved BFH-16 in JYOU "group"
2019-04-20 22:00:50 +02:00
JoSch
7200538993
Update DeviceSupportFactory.java
...
changed indent of MISCALE2
2019-04-20 22:00:50 +02:00
Sophanimus
7acc3580dd
added comment
2019-04-20 22:00:50 +02:00
Sophanimus
e86bc80016
improvements
2019-04-20 22:00:50 +02:00
Sophanimus
c7a6dc4b01
improvements
2019-04-20 22:00:50 +02:00
Sophanimus
070a132780
updated Copyright notes
2019-04-20 22:00:50 +02:00
Sophanimus
1e127c4de0
removed unnecessary space
2019-04-20 22:00:50 +02:00
Sophanimus
deb4d3a0ee
reordered functions in BFH16DeviceCoordinator
2019-04-20 22:00:50 +02:00
Sophanimus
0b1f3ee1d7
added Copyright notes
2019-04-20 22:00:50 +02:00
Sophanimus
1087a53216
some functions do now work
...
Signed-off-by: Sophanimus
2019-04-20 22:00:50 +02:00
Sophanimus
6faf9fdae8
noticed similarities to JYOU, copyed JYOU functions, adapted heartrate, blood presure and satiation values
...
Signed-off-by: Sophanimus
2019-04-20 22:00:50 +02:00
Sophanimus
2c1f87c81b
added BFH16DeviceSupport
...
Signed-off-by: Sophanimus
2019-04-20 22:00:50 +02:00
Sophanimus
3ca589f730
BFH-16 Device-discovery working
...
Signed-off-by: Sophanimus
2019-04-20 22:00:50 +02:00
cpfeiffer
39388f48a9
Merge remote-tracking branch 'github/pr/1456'
2019-03-17 21:06:23 +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
Andreas Shimokawa
665b1b6b5a
Bip: whitelist FW 1.1.5.16
...
Closes #1459
2019-03-17 18:26:47 +01:00
Nick Spacek
ccafda7f00
Adds default namespace declaration and fixes attribute use of namespace.
2019-03-16 11:12:35 -03:00
criogenic
ff5ebe697b
Update DeviceSupportFactory.java
...
Insert break in CASIOGB6900 case.
2019-03-07 19:20:06 +01:00
Andreas Shimokawa
46567b1e87
Fix build
...
(...because we did not merge PRs in the correct order)
2019-03-05 22:32:49 +01:00
cpfeiffer
c9f1c110b0
Merge remote-tracking branch 'github/pr/1292'
2019-03-04 22:10:23 +01:00