Commit graph

285 commits

Author SHA1 Message Date
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
ab1994ae02 Fix KMSample2 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
cbf231ed44 Update history.md 2018-10-31 16:04:23 +07:00
Darcy Wong
b43a88e94a Fix arrow keys 2018-10-31 15:37:24 +07:00
Darcy Wong
1bf17eae88 Merge remote-tracking branch 'origin/master' into android-102nd 2018-10-31 13:18:08 +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
b98d1eb4ea Update history.md 2018-10-30 15:33:09 +07:00
Darcy Wong
36f5b3992f Use scanCode to detect 102nd key 2018-10-30 15:20:46 +07:00
Darcy Wong
b697ed5ed7 Update Tests
* Fix KeyboardHarness to compile
* Add keycode app for debugging `keyCode` and `scanCode` output from physical keyboards (app doesn't use KMEA)
2018-10-30 14:23:38 +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
04f37b4bff Add one more String.format 2018-10-24 14:28:12 +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
05448c76fa Update history.md 2018-10-04 09:46:35 +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
7fb2c7942e Update history.md 2018-10-02 15:25:30 +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
c3fce1d909 Fix globe button when pausing WebBrowser
This is a follow-on fix of #913

The same `webView.pauseTimers()` that was disabling the globe button in system keyboards is also impacting when the WebBrowser is paused.
2018-09-26 09:32:14 +07:00
Darcy Wong
4c556d7c6b Fix web browser progress bar 2018-09-20 16:57:50 +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
6712661c71 Disable text portion of splash screen
Per review comment, don't delay app startup  just to display the text fields of the splash screen.
2018-08-30 16:25:31 +07:00
Darcy Wong
c76197f946 Update history.md 2018-08-30 15:11:20 +07:00
Darcy Wong
ff4066e374 Add splash screen
This addresses the Android platform of #1069

* Show product logos on app start
* Then show text (version and copyright dates)
2018-08-30 15:07:59 +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