Darcy Wong
72ca81fcdb
Catch exception when creating Typeface
2019-01-08 15:26:01 +07:00
Darcy Wong
8c3f242220
cleanup
2019-01-02 19:08:23 +07:00
Darcy Wong
8d9006a376
Add cancel button to ProgressDialog
2019-01-02 19:08:23 +07:00
Darcy Wong
a05194589a
Update default sil_euro_latin to v 1.8.1
2018-12-07 09:40:22 +07:00
Darcy Wong
5ea4b31922
Revert svg support for OSK font
2018-11-27 13:50:20 +07:00
Darcy Wong
30e3afb7d7
Don't restrict use of svg
2018-11-27 11:25:30 +07:00
Darcy Wong
61c98e7771
Address review comments
...
* Revert support for .svg and .woff fonts
* Check filename for welcome.htm
* Use FileUtils to check Keyman package extension
2018-11-26 11:07:25 +07:00
Darcy Wong
4fa61a745a
Update usage of lastIndexOf
2018-11-21 16:08:30 +07:00
Darcy Wong
481eda7d6f
Update FileUtils to handle mixed-case file extensions
2018-11-21 14:27:18 +07:00
Darcy Wong
3a9c87d0d7
Merge pull request #1320 from keymanapp/android-cloud-api-4
...
[Android] Update to Cloud API 4.0
2018-11-15 06:12:26 +07:00
Darcy Wong
2a9e2c1da8
Change to Cloud API 4.0
2018-11-13 22:57:30 +07:00
Darcy Wong
0fc93d14f3
Swap TextView positions when end < start
...
Fixes #1312
Cherry-pick of #1313
2018-11-13 16:58:47 +07:00
Darcy Wong
33ee8373d6
Add styling to show current selection in list
...
In Keyman 10, the user could navigate the keyboard/language picker lists and the currently selected row would have a gray background.
2018-11-08 08:24:48 +07:00
Darcy Wong
84fe9853bd
Revert changes involving longpress of option key
...
* also remove keyboard icons
2018-11-05 16:42:18 +07:00
Darcy Wong
6cd543e63a
Revert "Start defining actions for Globe Key longpress"
...
This reverts commit 4aa7007a85 .
2018-11-05 16:17:07 +07:00
Darcy Wong
4aa7007a85
Start defining actions for Globe Key longpress
2018-11-05 14:51:29 +07:00
Darcy Wong
c74c7baf7c
Move "Close Keyman" button to bottom of the list
2018-11-05 13:58:08 +07:00
Darcy Wong
4ac87de3e1
Merge branch 'master' into android-change-system-keyboard
2018-11-05 08:52:38 +07:00
Darcy Wong
43d1177d34
more wip for longpress
2018-11-04 22:48:14 +07:00
Darcy Wong
1fa8b584bd
Address review comments
2018-11-03 21:30:22 +07:00
Darcy Wong
b09055f559
Make the whole "Switch to Next Keyboard" clickable
2018-11-02 16:48:04 +07:00
Darcy Wong
71d9e3a058
Only display keyboard switcher for system keyboards
2018-11-02 15:07:22 +07:00
Darcy Wong
5bcaf05daa
Add button to switch keyboard
...
New button added KeyboardPickerActivity
2018-11-02 13:55:00 +07:00
Darcy Wong
f3a0bd72d5
Add boundary checks on scanCode
2018-11-01 10:13:15 +07:00
Darcy Wong
050474d1a6
Revert numberpad keys to KMW code 0
2018-11-01 09:28:18 +07:00
Darcy Wong
5a5fbd18bd
Separate call to switch to next IME
2018-10-31 16:11:43 +07:00
Darcy Wong
287accf37d
Combine globe actions
...
Add a new UI in the Keyboard picker to switch system keyboard
2018-10-31 16:11:43 +07:00
Darcy Wong
d9150b6678
Adjust system keyboard globe button
...
Switch to next Keyman keyboard
When last Keyman keyboard is reached, switch to next system IME. In the background, set the Keyman system keyboard to the first keyboard (so it will be available next time the system keyboards cycle around)
2018-10-31 16:11:43 +07:00
Darcy Wong
bfb784c933
Allow system "globe button" to change keyboards
2018-10-31 16:11:43 +07:00
Darcy Wong
b43a88e94a
Fix arrow keys
2018-10-31 15:37:24 +07:00
Darcy Wong
0a109208ba
Remap Android physical keys to Linux key codes (KLC or "scan codes")
2018-10-31 13:17:58 +07:00
Darcy Wong
36f5b3992f
Use scanCode to detect 102nd key
2018-10-30 15:20:46 +07:00
Darcy Wong
113e919a7d
Clean up two stray icons
...
error dialog when connection unavailable shouldn't include "+" in the titlebar
2018-10-24 14:41:16 +07:00
Darcy Wong
1f3cd5268b
Tidy up more strings
2018-10-24 10:44:20 +07:00
Darcy Wong
8ce4b4f30b
Consolidate UI strings to strings.xml
2018-10-24 07:55:51 +07:00
Darcy Wong
bf3e05e2a4
Refactor setIsChiral
2018-10-09 13:23:30 +07:00
Darcy Wong
47d2e30af3
Refactor KMEA Keyboard JS handlers
...
Refactor common JS interface functions from `KMInAppKeyboardJSHandler` and `KMSystemKeyboardJSHandler` into a base class `KMKeyboardJSHandler`.
They still need to implement `setIsChiral` and `insertText`.
2018-10-08 15:49:40 +07:00
Darcy Wong
d6ceee5ada
Cherrypick fix from #1230
2018-10-04 09:43:15 +07:00
Darcy Wong
3e1bb4dca1
Shorten duration to 100ms
2018-10-03 08:43:28 +07:00
Darcy Wong
5905e95ba5
Fix vibrate
...
Apply 500ms vibrate
2018-10-02 15:19:28 +07:00
Darcy Wong
69de652956
Add hooks to vibrate when KMW sends BEEP
2018-10-01 16:13:12 +07:00
Darcy Wong
c2fe6197db
Change system keyboard to "numeric" layer for numeric text fields
...
Fixes #289
When changing to a digit/phone number text field, set the OSK to "numeric" layer if it exists.
This will occur after `resetContext()`.
2018-09-27 13:14:25 +07:00
Darcy Wong
47e1f0aebc
Fix null pointer for KeyboardInfoActivity
2018-09-19 14:39:59 +07:00
Darcy Wong
544a58c151
Add Material Design
2018-09-19 13:46:03 +07:00
Darcy Wong
39fe506d8c
Resolve review comments
...
* Clean up unnecessary `KMKey_` keys
* Update MainActivity to only download ad-hoc KMP packages.
2018-08-27 11:17:25 +07:00
Darcy Wong
74ca0d09d0
Merge remote-tracking branch 'origin/master' into android-remove-adhoc-json
2018-08-27 07:43:04 +07:00
Darcy Wong
ad8638e47c
Validate keyboard ID when downloading keyboard from Keyman cloud
...
Cherry-pick of #1121
2018-08-22 22:51:54 -05:00
Darcy Wong
77c03eef84
Ensure keyboards list has an entry
...
Cherrypick #1112 to master
There are some crash reports coming from `KeyboardPickerActivity.java` because the keyboards list is null (file access error). When the app tries to display the installed keyboards list, this results in the crash.
`getKeyboardsList()` already checks the existence of the `keyboards_list.dat` file, so some of that code is also redundant.
2018-08-22 21:04:32 +07:00
Darcy Wong
7b0af9a68c
Add keyboard file and update history.md
2018-08-20 04:26:03 -05:00
Darcy Wong
948836d9ee
Change default keyboard from european2 to sil_euro_latin
...
Fixes #1100
2018-08-20 04:13:02 -05:00