Andreas Shimokawa
6ce63276a3
play around with play states, simplify weired nested switch
2016-03-27 19:50:32 +02:00
Andreas Shimokawa
adfef3db42
Prepare code for more music metadata (duration, track count, current track number)
...
Oh and format code
2016-03-27 17:45:44 +02:00
cpfeiffer
bfcfe82f17
Improve pairing activity: #254
...
- add hint about rebooting phone
- request enabling bluetooth
2016-03-26 20:46:48 +01:00
Andreas Shimokawa
9d29e4db3f
bump version, update xml changelog
2016-03-26 10:04:02 +01:00
cpfeiffer
a70c31f965
Add commandline for running all firmware tests
2016-03-26 00:10:32 +01:00
cpfeiffer
bff5837930
Sort device infos
2016-03-25 23:54:42 +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
Andreas Shimokawa
a208907ba7
update Japanese from transifex (thanks!)
2016-03-25 23:09:25 +01:00
Andreas Shimokawa
98949f3b54
bump version update xml changelog
2016-03-25 11:29:50 +01:00
cpfeiffer
3714ec82da
Extracted String "HR: ", (= Heart Rate Firmware Version)
2016-03-24 22:23:16 +01:00
cpfeiffer
89eddb13b0
Fixed connection issues by reading the date from the band #249
2016-03-24 22:10:23 +01:00
cpfeiffer
e5b0afb916
Enable low latency during activity sync
2016-03-24 21:26:51 +01:00
cpfeiffer
0e435d6d94
Fix for device item not clickable when info items are visible
2016-03-23 23:34:42 +01:00
cpfeiffer
11ac01f0e8
Set low latency mode during initialization #249
...
This appears to fix the initialization getting stuck sometimes, e.g.
after turning on bluetooth and then connecting.
The band incidentally sends 0x8 when it's stuck (won't accept the UUID_PAIR
request).
2016-03-23 22:50:42 +01:00
cpfeiffer
1348bad4d3
Improved log output
2016-03-23 22:17:01 +01:00
cpfeiffer
9d9ef8a6f8
Some cleanup
2016-03-23 22:06:48 +01:00
cpfeiffer
71461642f7
Fix enabling "Write Log File" option ( closes #261 )
2016-03-22 23:07:11 +01:00
Andreas Shimokawa
df3a06ac9b
Reformat code, make getter of @NonNull members also @NonNull
2016-03-22 21:55:15 +01:00
cpfeiffer
b0ec74696d
Give better feedback when a firmware cannot be installed #234
2016-03-22 16:12:27 +01:00
Andreas Shimokawa
767f359319
Launch Android's Bluetooth settings instead of our activiy on Android >= 6.0
...
BLE scanning does not work on Android 6.0 and for the Pebble it does not add any value anyway.
2016-03-22 13:43:01 +01:00
cpfeiffer
b419c93254
Disable the test for travis again
2016-03-21 23:44:58 +01:00
cpfeiffer
424d9cd142
More work on firmware detection, recognition and validation #234
...
Should be as robust as possible now.
2016-03-21 23:42:34 +01:00
danielegobbetti
1933e2bf10
Localize the title of the configuration activity.
...
Auto open local settings (e.g. clay)
2016-03-21 21:19:32 +01:00
Andreas Shimokawa
1aadcb958b
update changelog
2016-03-21 20:20:08 +01:00
cpfeiffer
275839a7f4
last arg of copyOfRange() is index, not length!
2016-03-21 04:18:45 +01:00
cpfeiffer
f7b71c1f96
Add logging to firmware detection #234
2016-03-21 04:17:12 +01:00
Andreas Shimokawa
76fc7a2aec
always save last device address when connecting, fixes #258
2016-03-20 19:48:54 +01:00
Andreas Shimokawa
f046e66bf1
update Italian translation (thanks @danielegobbetti)
2016-03-20 18:45:04 +01:00
danielegobbetti
4a3547228e
Update changelog md file and bring xml file on par with it.
2016-03-20 18:15:45 +01:00
Andreas Shimokawa
dbeded8d04
In Control Center, do not show alarm configuration in context menu if device does not support it
2016-03-20 17:53:55 +01:00
Andreas Shimokawa
c5a7ca4b5b
properly re-sync all translation files with transifex
...
(this only reorders stuff since I had to repush broken tranlations to transifex again)
2016-03-20 15:38:05 +01:00
Andreas Shimokawa
4fe9489909
update German translation
2016-03-20 15:34:07 +01:00
Andreas Shimokawa
4be1926459
reformat code though Android Studio
2016-03-20 15:00:05 +01:00
cpfeiffer
b3410dcebe
Improved testcase #234
2016-03-20 12:18:43 +01:00
cpfeiffer
e59c012553
Disable FirmwareTest for travis
2016-03-20 01:16:20 +01:00
cpfeiffer
4f956000c5
Enhanced support for firmware detection, recognition and upgrade #234
...
Also supports double firmware upgrade for Mi1S.
- so far, only hr firmware upgrade is tested for 1S
- adds junit testcases for firmware recognition and handling
2016-03-20 01:07:57 +01:00
cpfeiffer
6d8d6d5bc8
Testcases for firmware checking
2016-03-20 01:07:57 +01:00
Andreas Shimokawa
c2ae9ec530
Update French translation from transifex (thanks)
2016-03-18 22:33:36 +01:00
Daniele Gobbetti
538961fd2c
Add some style, intercept and display toast in case of JS errors
2016-03-18 17:50:24 +01:00
Daniele Gobbetti
e69fac9704
Do not show the configure menu item for non configurable watch apps.
2016-03-18 16:47:14 +01:00
Andreas Shimokawa
1603d60144
right align info icon in control center
2016-03-17 15:28:43 +01:00
Andreas Shimokawa
89591fd5fe
update ukrankian translation from transifex (thanks)
2016-03-16 22:54:46 +01:00
Andreas Shimokawa
61e3cf4348
update japanese translation from transifex (thanks!)
2016-03-16 22:53:36 +01:00
Andreas Shimokawa
238e394d21
update french translation from transifex (thanks)
2016-03-16 22:38:27 +01:00
Andreas Shimokawa
c224a40d0e
update spanish translation from transifex (thanks!)
2016-03-16 22:37:14 +01:00
Andreas Shimokawa
5906c02330
Merge remote-tracking branch 'origin/danielegobbetti-playground'
2016-03-16 22:27:13 +01:00
cpfeiffer
c5a887192d
Remove/revert some temporary test code
2016-03-16 00:27:32 +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
4aaf3dd162
Use hw version to make device names unique, then mac addr
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
danielegobbetti
ea855a4cc2
Also open public URLs with an external browser.
2016-03-13 08:31:50 +01:00
cpfeiffer
3f39928df5
Some more cursor-related improvements (closing)
2016-03-08 23:48:31 +01:00
cpfeiffer
10975feb49
s/moveToFirst/moveToNext/
2016-03-08 23:30:31 +01:00
cpfeiffer
9643fa6062
s/moveToFirst/moveToNext
2016-03-08 23:29:42 +01:00
danielegobbetti
d378b4eb7b
Intercept clay pebblejs://close url
2016-03-08 21:44:12 +01:00
cpfeiffer
7e8281e8d4
Improve exception handling logic a bit
2016-03-08 21:33:12 +01:00
cpfeiffer
87023ebdb3
Don't retrieve the column index again and again in a long loop
...
Also: fix weird iteration logic
2016-03-08 21:33:12 +01:00
Daniele Gobbetti
2da50e27c2
call the ready event as soon as the app js file has been loaded. Add a button to debug the different steps.
2016-03-08 17:45:11 +01:00
Andreas Shimokawa
a89fea9c7d
Pebble: Fix crash when starting pebstyle
...
Also make code for "push" handlers more generic
2016-03-08 12:02:00 +01:00
Andreas Shimokawa
4362f78028
Pebble: Do not display Health on original Pebbles
2016-03-08 11:49:08 +01:00
Andreas Shimokawa
a3ee3c15fc
Pebble: copy pebble-app-js.js out of the pbw upon installation not upon reading the .pbw
...
This eliminates the need to copy the whole file into a byte[], and all file size limts are gone.
2016-03-08 11:41:20 +01:00
Andreas Shimokawa
88982a6174
Merge pull request #235 from Freeyourgadget/feature-configuration
...
Use external browser for configuring pebble apps
2016-03-08 10:41:46 +01:00
cpfeiffer
a96120f91d
Clear the chart when there are no samples
...
(e.g. when switching to another day for which no samples are
available, the chart now becomes empty instead of displaying the
samples from the last day with data.
2016-03-07 23:17:02 +01:00
cpfeiffer
5eb8f57b4c
Some more byte -> int conversions
2016-03-07 22:47:34 +01:00
cpfeiffer
5ae680cab5
Don't flush the logfile synchronously
2016-03-07 22:46:35 +01:00
cpfeiffer
25e58eb414
Upgrade mpandroidchart to 2.2.3
2016-03-07 22:46:03 +01:00
cpfeiffer
be012eca8d
For Mi Band 1A (fw 5.15.7.14) we get 0xa for auth success #180
2016-03-07 21:43:45 +01:00
cpfeiffer
50dd7f5eba
Better check for heartrate support on non-heartrate devices
2016-03-07 21:36:31 +01:00
Andreas Shimokawa
f1ba50b62a
update xml changelog
2016-03-07 01:15:23 +01:00
cpfeiffer
dda6cb34e1
Fix logfile rotation (bug in logback-android)
2016-03-07 01:09:43 +01:00
Andreas Shimokawa
2902e60d51
prepare 0.8.2
2016-03-07 00:55:17 +01:00
cpfeiffer
619ea04a63
Fix database creation and updates #246
...
The creation script *must* always do the full creation so that fresh installs
get the correct database (no upgrade scripts will run for them)
2016-03-07 00:39:47 +01:00
danielegobbetti
459f6baf08
Fix missing column in the creation script (upgrades were fine, but new installation weren't).
...
Reindent changelog file.
2016-03-06 17:28:21 +01:00
Andreas Shimokawa
fa6b572172
Merge branch 'feature-configuration' of https://github.com/Freeyourgadget/Gadgetbridge into feature-configuration
2016-03-05 21:26:03 +01:00
cpfeiffer
97faf61c5a
Log db upgrade/downgrade requests
2016-03-04 23:37:42 +01:00
cpfeiffer
dc162a9ac8
Only add column if it doesn't exist yet
...
Column can exist if there down- and upgrades
2016-03-04 23:25:11 +01:00
cpfeiffer
3b3458e196
Show the heart rate measurement tooltip a little longer
2016-03-04 23:08:13 +01:00
Daniele Gobbetti
6d4b98719a
Implement some further JS methods to make additional watchapps happy
2016-03-04 17:44:42 +01:00
Daniele Gobbetti
3920b3f977
Do not override the configured settings with our old stored values (but keep them around)
2016-03-04 17:43:43 +01:00
Andreas Shimokawa
f616e4f571
Pebble: skip .js file if too large instead of breaking installation
...
(Hotfix)
2016-03-03 17:46:58 +01:00
Andreas Shimokawa
a96d042dce
try to make mister travis happy
2016-03-03 16:07:59 +01:00
Andreas Shimokawa
3786e0b7f2
fix typo
2016-03-03 16:04:17 +01:00
Andreas Shimokawa
1e44bb03fb
Pebble: convert Boolean to String for app configuration
2016-03-03 16:02:30 +01:00
Andreas Shimokawa
bd7b34985b
reformat code and optimize imports
2016-03-03 15:47:00 +01:00
Andreas Shimokawa
864e0953d9
only allow starting AppManager after device is initalized (else platform cant be determined)
2016-03-03 14:29:46 +01:00
Andreas Shimokawa
902ff39c0b
start app when about to be configured
2016-03-03 14:25:44 +01:00
Andreas Shimokawa
2a7f9226a0
Pebble: send configuration to watch
...
TODO: handle booleans
2016-03-03 14:23:17 +01:00
Andreas Shimokawa
fa924ff9d8
Pebble: fix crash when navigating back from configuration activity
2016-03-03 13:05:51 +01:00
Andreas Shimokawa
860ded1022
refromat code
2016-03-03 11:54:07 +01:00
Andreas Shimokawa
63d938559e
pass GBDevice down to ExternalPebbleJSActivity to determine the platform version (aplite,basalt,chalk)
2016-03-03 11:52:30 +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
Andreas Shimokawa
652c5575b3
user ckChangeLog to display the Changelog
...
There were other fancier libraries, but this one was so simple to integrate, that I could not resist ;)
2016-03-02 00:37:43 +01:00
Andreas Shimokawa
5eb525ee44
Merge pull request #239 from 0nse/sleepAlarmWidget
...
Add widget to quickly set an alarm according to the user's preferred sleep length (in hours)
2016-03-02 00:36:13 +01:00
0nse
ba35679690
/ Pad the alarm time with zeroes when toasting.
2016-03-02 00:15:31 +01:00
0nse
7651c080c2
/ Only execute setAlarmViaAlarmManager when we are running Lollipop+.
2016-03-02 00:05:58 +01:00
0nse
6e7abecb17
/ Use GB.toast instead of Android Toast.
2016-03-02 00:01:41 +01:00
Andreas Shimokawa
fc464d112d
change some more short and byte to int regarding Morpheuz
2016-02-29 23:13:07 +01:00
cpfeiffer
cbe73f71a1
Fix some typos (thanks!) #178
2016-02-29 22:08:34 +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
ed85fd5011
convert byte and short values related to activity tracking to int
...
This avoids a lot of problems because java
- does not know unsigned values
- jvm and dalvic do not internally support byte and short
- sqlite does not know them either
2016-02-29 20:54:39 +01:00
cpfeiffer
1c9be79c67
Add onHeartRateTest() method
2016-02-28 14:52:17 +01:00
cpfeiffer
ddde25e5df
Initial firmware update support for Mi1S #234
2016-02-28 02:46:48 +01:00
cpfeiffer
d7822d07a6
Show the measured heart rate as a Toast, for now #178
2016-02-27 23:27:15 +01:00
cpfeiffer
540e008548
Rename to Heart Rate Test
2016-02-27 23:24:45 +01:00
cpfeiffer
4898dab652
Move "Reboot" button to the very bottom to prevent accidents
2016-02-27 23:24:03 +01:00
cpfeiffer
3ff31cd73b
Disable heartrate in charts fow now, fix notification for manual hr
2016-02-27 23:18:44 +01:00
cpfeiffer
d6dfc3b6ec
Fix some ClassCastExceptions in charts since switching to CombinedChart
2016-02-27 15:30:46 +01:00
Andreas Shimokawa
c449181083
Pebble: store appKeys in .json also.
...
Rumour says someone needs it soon...
2016-02-27 11:40:37 +01:00
cpfeiffer
ac8d7bee5f
Only do heart rate stuff when supported #178
2016-02-27 11:23:55 +01:00
cpfeiffer
de6f898fef
Some more fixes regarding heart rate measurement #178
2016-02-27 11:18:16 +01:00
Kasha
9e636d66f6
Initial heart rate support by KashaMalaga #178
...
(removed unrelated Android M fixes and squashed commits)
2016-02-27 00:05:06 +01:00
cpfeiffer
0ef738067d
Some work in progress for heart rate graphs #178
...
Currently we get the heart rate when synchronizing activity data
(i.e. not live) and we write it to the activity database so that we
can show a nice graph. The value is currently always 0 though,
because we can't enable recording hr, yet.
2016-02-26 23:45:17 +01:00
Daniele Gobbetti
df741e9571
Install app on watch directly instead of telling the user to do so.
2016-02-26 15:29:26 +01:00
cpfeiffer
a10c6f3b9f
Some initial heartrate support #205
...
(not visible to user yet)
2016-02-26 00:30:57 +01:00
cpfeiffer
0b568df8de
Extra byte indeed appears to be heartrate value #205
2016-02-26 00:04:33 +01:00
cpfeiffer
095ef56c14
Initial support for activity data sync with Mi 1S #205
...
Looks like the activity type is somehow wrong though, or I'm sleeping
all day ;-)
2016-02-25 23:52:34 +01:00
cpfeiffer
defa97b882
Log the toast message immediately, not delayed in the main thread
...
(this helps understanding logs)
2016-02-24 23:53:30 +01:00
danielegobbetti
b5a726b777
Change layout of the alarms activity, fixes #216 .
2016-02-21 17:21:04 +01:00
danielegobbetti
6eb35b955e
Prevent race condition on android 6 (?) at the cost of losing the gender data (we cannot display a toast at this point unfortunately).
2016-02-21 16:46:48 +01:00
Andreas Shimokawa
1a96bd31e5
Request permissions at runtime on Android 6. Closes #219
...
TODO: Tell the user why we request that and if he really needs it (if he does not have both a Mi Band and a Pebble she does not need all)
2016-02-21 15:29:18 +01:00
danielegobbetti
b858e50804
Use strings to store activity shared preferences.
...
System has trouble with accessing integer in the preferences, so let's not use them.
2016-02-21 13:04:32 +01:00
Andreas Shimokawa
c436c4c055
Pebble: Fix wrong(previous) contact being displayed on the pebble. Fixes #228
2016-02-20 22:20:02 +01:00
Andreas Shimokawa
7626667a0a
try to blindly fix user preferences screen
2016-02-19 23:48:08 +01:00
cpfeiffer
109146c8c1
Attempt at fixing a (re-) connection issue
...
Sometimes reconnection lead only to "Connected" state, but not "Initialized".
This probably happened when the device got disconnected earlier and then was
automatically reconnected. The reconnection closed the previous connection,
which caused the dispatch-thread to wake up and think the connection is
actually establish. Then, when the first action is invoked, it would fail
with an NPE because mBluetoothGatt passed to the action is actually null.
2016-02-18 23:44:01 +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
Daniele Gobbetti
8294921de7
Do not ack the sleep data until we can actually store them
...
Added helper method to fetch the latest timestamp stored in the DB, needed for the aforementioned feature.
Update changelog
This closes #188 \o/
2016-02-11 19:14:40 +01:00
Andreas Shimokawa
7436778700
Pebble: fix for recent morpheuz versions (maybe breaks old versions)
2016-02-11 12:49:01 +01:00
Daniele Gobbetti
20c4e49fe1
Refactoring of the Pebble Health steps data receiver.
...
Added logic to deal with pebble health sleep data.
Added database helper to change the type of a range of samples (needed for sleep data).
Fixes to the Pebble Health sample provider.
2016-02-09 17:52:21 +01:00
Andreas Shimokawa
d62946df63
Pebble: some minor code cleanups regarding health
2016-02-09 01:31:41 +01:00
Andreas Shimokawa
93db073538
Pebble: try to fix health code, might be broken, cant test
2016-02-09 00:56:16 +01:00
Andreas Shimokawa
12a5b53f00
Pebble: Merge DatalogHandler and DataLog session
...
Also:
- pass the length of the payload and not of the whole datalog buffer to handleMessage(), simplifying DatalogSessionHealth::handleMessage()
2016-02-09 00:49:42 +01:00
Andreas Shimokawa
b01a517813
Pebble: fix hexdump for health datalog
2016-02-08 23:33:05 +01:00
Julien Pivotto
dd9864015d
Fix #221 - Cast pair.first as integer
...
This commit fixes the following compilation error:
```
:app:compileDebugJavaWithJavac
/home/bob/dev/Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/LimitedQueue.java:26:
error: incomparable types: Object and int
if (pair.first == id) {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
:app:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
```
2016-02-08 06:32:36 +01:00
Andreas Shimokawa
0c4e606e74
Pebble: rename BLOBDB_HEALTH to BLOBDB_PREFERENCES and encodeSaneDistanceUnit to encodeSetSaneDistanceUnit
...
Also allow to set insane units in the method
2016-02-07 21:59:14 +01:00
danielegobbetti
10b5c571bb
Use Kilometers as distance unit
2016-02-07 16:44:16 +01:00
danielegobbetti
2f8207abf9
Initial support for reading pebble health steps/activity data.
2016-02-07 09:27:51 +01:00
danielegobbetti
03ad7f5a24
Do not enable insights on the watch. Add notice about health activation to changelog.
2016-02-06 21:38:55 +01:00
danielegobbetti
ba9e00d2e4
Add strings for activate and deactivate pebble Health
2016-02-06 21:23:21 +01:00
Andreas Shimokawa
59d6553c54
Pebble: fix stupid bug that broke active reconnection
2016-02-06 19:35:49 +01:00
Andreas Shimokawa
85bad9abf5
Pebble: store information about datalog sessions (uuid, item type, length, tag)
...
... and log them if data comes in from a known id.
Also request open sessions on connect.
And last but not least hex dump data which might be from Health (the tags that I never see on Aplite but always on Basalt)
2016-02-03 23:27:35 +01:00
Andreas Shimokawa
493fcfc853
Pebble: improve datalog output
2016-02-03 20:23:56 +01:00
Daniele Gobbetti
baf5eee72f
Refactored the User Activity-tracking related preferences.
...
Created a new device-independent class ActivityUser to hold the data
Moved the constants from the miband constant class to the ActivityUser class
Removed the miband-specific in favor of common-prefixed preferences (with upgrade support for legacy values)
Changed the way the gender is stored to an integer value
Removed the hardcoded default values for user data in favor of static fields of the ActivityUser class
2016-02-02 17:33:24 +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
Chris Perelstein
60c7e9f6f6
Fix misspelling in exception notification.
2016-02-01 22:05:49 -05:00
Andreas Shimokawa
cc64bcf03c
updated Korean and French from transifex (thanks!)
2016-01-31 00:57:16 +01:00
Daniele Gobbetti
5b016e2577
WIP, read the miband user information for the time being.
2016-01-29 17:45:35 +01:00
Daniele Gobbetti
9f2a7f5448
actual deletetion of the Health app.
...
It brings the health watchapp back to the pristine state "you need pebble health in order to use this app". The data, however, is not deleted!
2016-01-28 11:59:23 +01:00
Andreas Shimokawa
33cf76172b
Pebble: add hack to enable and maybe disable Health from the App Manager activity
2016-01-27 23:02:09 +01:00
cpfeiffer
b9cb89ab8b
Component diagram giving an overview
...
(created with umbrello)
2016-01-26 23:05:54 +01:00
Andreas Shimokawa
666c53a1e4
Pebble: make encodeBlobDB accept Strings and UUIDS as keys, use it for Heath activation
2016-01-26 10:48:50 +01:00
danielegobbetti
7ba3a874a2
Message to activate Pebble Health, possibly.
2016-01-25 23:15:19 +01:00
Andreas Shimokawa
9af976657b
Pebble: Report correct connection state to PebbleKit companion apps (not always connected)
2016-01-24 00:06:44 +01:00
Andreas Shimokawa
e6f68f445a
Ignore generic notification when from SMSSecure when SMS Notifications are on.
...
This should improve (not fix) #214
Still, we cannot decrypt SMS, so if you use SMSSecure as the default SMS App
you should disable SMS Notifications which enables generic notifications for
SMSSecure which are already decrypted.
2016-01-22 21:30:50 +01:00
Andreas Shimokawa
a72373c17c
move PebbleContentProvider.java
2016-01-22 20:38:44 +01:00
Andreas Shimokawa
b9c1332442
Testing content provdider
2016-01-22 20:21:18 +01:00
Andreas Shimokawa
a6ce10d306
translate some string to German, no idea about the rest.
2016-01-21 21:46:14 +01:00
Andreas Shimokawa
2b78b0a67f
Merge pull request #213 from schlamar/patch-1
...
fix spelling
2016-01-21 21:30:45 +01:00
Andreas Shimokawa
31724b3ef2
Update Spanish, French, Japanese and Russian from transifex (thanks!!!)
2016-01-21 21:27:31 +01:00
Marc Schlaich
887b478ec6
fix spelling
2016-01-21 19:09:10 +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
0b53f60b0d
Pebble: EXPERIMENTAL support for replying to wearable notifications
...
Tested with Signal, more could work.
2016-01-09 17:54:17 +01:00
Andreas Shimokawa
46bbab7df0
rename IDSenderLookup to LimitedQueue and store Object instead of String
2016-01-09 16:07:22 +01:00
Andreas Shimokawa
803e58743a
add WearableExtender with reply action to debug notification
...
(This is for testing new features)
2016-01-09 15:33:18 +01:00
cpfeiffer
ae5417b9cc
Avoid NPEs when aborting an erroneous sync #205
2016-01-07 00:33:20 +01:00
cpfeiffer
a6d3c50f94
Fix discovery of Mi Band 1S #196
...
closes #204
2016-01-06 23:38:17 +01:00
cpfeiffer
824382b385
New translation from transifex, thanks!
2016-01-06 21:26:59 +01:00
cpfeiffer
779d8ee930
Add a confirmation dialog when performing a db import #197
2016-01-06 00:24:39 +01:00
cpfeiffer
41dde9a9c2
Programmatically perform a bonding
...
(i.e. bluetooth-level pairing). Previously the pairing appeared to
happen automagically, but this doesn't work (anymore). So now we first
pair on the bluetooth-level, then application level.
2016-01-06 00:16:41 +01:00
Andreas Shimokawa
c425fd24ea
sort blacklist by package name #195
2016-01-02 17:18:05 +01:00
Andreas Shimokawa
e41a9c208b
update spanish translation from transifex (thanks!)
2016-01-02 12:26:15 +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
50cd5b2629
Pebble: Fix regression which freezes Gadgetbridge when disconnecting via long-press menu
2016-01-02 00:30:11 +01:00
Andreas Shimokawa
d358ed81d2
Pebble: Display a failure if we cannot map a notification id back to a Phone number when replying to an SMS
2015-12-31 01:43:00 +01:00
Andreas Shimokawa
890016d652
Pebble: Fix crash when turning off bluetooth when connected on Android 6.0
2015-12-31 01:13:48 +01:00
Andreas Shimokawa
3655c833a9
Add new languages from transifex (Polish and Vietnamese). Thanks!!
2015-12-31 00:57:45 +01:00
Andreas Shimokawa
ba446b7b17
update spanish translation from transifex (thanks)
2015-12-31 00:41:22 +01:00
Daniele Gobbetti
1cbe965802
Add analog+digital settings
2015-12-29 10:45:14 +01:00
Daniele Gobbetti
f9122bc674
send the calendar events each time the time is sent to miband, until we have a common strategy (e.g. EventHandler).
2015-12-29 10:01:32 +01:00
Daniele Gobbetti
1d9e1d7caf
Fix possible race condition when availableSlots == 3
...
(There are two difficult things...)
2015-12-29 09:18:02 +01:00
cpfeiffer
9ea2977143
Try hard to display a unique device name in ControlCenter
...
(Makes it a little easier to deal with muliple "MI" devices, for example)
2015-12-28 00:16:00 +01:00
Andreas Shimokawa
e3d0c63676
fix PebStyle color
2015-12-27 21:39:46 +01:00
Andreas Shimokawa
55989c426c
fix double SMS on Android 6.0
2015-12-27 19:22:10 +01:00
Andreas Shimokawa
2caef02309
fix typo :/
2015-12-27 19:16:56 +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
Andreas Shimokawa
9f60bf3561
fix compilation
2015-12-23 22:15:50 +01:00
Andreas Shimokawa
15436c59e5
reformat AndroidManifest.xml
2015-12-23 22:01:26 +01:00
Andreas Shimokawa
cf5a0f19ed
update launcher icon (thanks @halcyonest)
2015-12-23 21:40:49 +01:00
Daniele Gobbetti
3ee418a45b
Implement pushing messages upon watchapp start.
...
This watchface is used as example: https://github.com/ygalanter/PebStyle because it doesn't initiate a connection like others do.
At the moment this is more a proof of concept^W^W^Wdirty hack then anything else.
2015-12-23 14:22:28 +01:00
Daniele Gobbetti
5f189aedbd
Add support for some configuration options of TimeStylePebble watchface ( https://github.com/freakified/TimeStylePebble )
2015-12-23 09:04:01 +01:00
Daniele Gobbetti
26646af974
Put blocked apps at the beginning of the list, for easier removal.
2015-12-22 14:09:14 +01:00
Andreas Shimokawa
0c805809a5
Pebble: allow pbw installation with appinfo.json files up to 64k (was 8k)
...
Fixes DIN watchface installation
2015-12-21 22:32:27 +01:00
Andreas Shimokawa
87739d94db
Pebble: unify FW 2.x and 3.x action decoding
2015-12-20 21:23:39 +01:00
danielegobbetti
a71c27d25e
Added subtitle to timeline pins
2015-12-20 19:50:48 +01:00
Andreas Shimokawa
96e21dbf21
Pebble: fix "[Action]" being displayed as SMS action when no canned replies are defined
2015-12-20 00:58:14 +01:00
Andreas Shimokawa
35c7ab6dde
PEbble: add database parameter to encodeBlobDBClear(), minor cleanups
2015-12-20 00:40:38 +01:00
danielegobbetti
5026cf269f
Added command to clear the DB on pebble.
2015-12-19 20:52:44 +01:00
Andreas Shimokawa
4b29d63d4e
Pebble: more debugging
2015-12-19 20:30:46 +01:00
danielegobbetti
070f3fa66f
Add further getters, converting the data to other units
2015-12-19 20:26:43 +01:00
danielegobbetti
9fb2e1620e
Rename misnamed file.
2015-12-19 14:36:28 +01:00