Commit graph

981 commits

Author SHA1 Message Date
Darcy Wong
367b395021 feat(common): Add Tamil lexical model to KMSample2 2020-05-13 15:40:27 +07:00
Darcy Wong
d21fb5d3c8
Merge pull request #3091 from keymanapp/feat/android/migrate-installed-dat
feat(android): Migrate installed keyboards list to keyboards_list.json
2020-05-08 16:33:46 +07:00
Darcy Wong
b65c1d76eb chore(android): Add logging for review comments 2020-05-08 15:03:50 +07:00
Darcy Wong
bb0e286950 fix(android): Back button to dismiss KMSample2 system keyboard 2020-05-07 10:13:42 +07:00
Darcy Wong
d32aa18264 fix(android): Fix back button after System Keyboard dismissed 2020-05-07 08:48:44 +07:00
Darcy Wong
4c913cf730 feat(android): Migrate installed keyboards list to keyboards_list.json 2020-05-06 13:43:12 +07:00
Darcy Wong
a1fa02dbb1 chore(android): Remove unused constructor 2020-05-06 12:01:55 +07:00
Darcy Wong
9bbdd3409e fix(android): Additional cleanup 2020-05-06 11:01:08 +07:00
Darcy Wong
f5d9418f35 fix(android): Refactor constructors per review comments 2020-05-06 09:35:40 +07:00
Darcy Wong
26a7b07e54 modify(android): Add methods to go between LanguageResource and JSON 2020-05-05 11:22:43 +07:00
Darcy Wong
ebfde0f70c
Merge pull request #3051 from keymanapp/fix/android/remove-more-custom
Fix/android/remove more custom
2020-05-01 15:17:14 +07:00
Darcy Wong
4e5eca40d4 chore(android): Update deprecated markings 2020-05-01 14:52:42 +07:00
Darcy Wong
0cf21f6879 fix(android): Mark intend to deprecate
Revert API constants in KMManager and mark them as intended to deprecate in Keyman 15.0
2020-05-01 14:38:18 +07:00
Darcy Wong
cd512d9c2b fix(android): Fix FileUtilsTest to be cross-platform
Fixes #3502 by using `File.separator` in the test
2020-05-01 12:12:08 +07:00
Darcy Wong
3cbbc00200
Merge pull request #3045 from keymanapp/fix/common/build-keyboards
fix(oem,common): Update FirstVoices build_keyboards.sh script
2020-05-01 11:05:06 +07:00
Darcy Wong
9caa6a89d5 fix(android): Remove more unused custom keyboard fields 2020-04-30 22:07:52 +07:00
Darcy Wong
9a70f27416 fix(android): Remove more "custom keyboard" handling 2020-04-30 15:19:26 +07:00
Marc Durdin
214bd4652e chore(windows): Merge branch 'master' into fix/windows/sentry-cleanup 2020-04-30 05:04:13 +10:00
Darcy Wong
949002f27e fix(android): Update android build script call for FV 2020-04-29 22:16:59 +07:00
Marc Durdin
256be354ed chore: address review comments 2020-04-29 16:40:39 +10:00
Darcy Wong
2dd6d04757
Merge pull request #3033 from keymanapp/modify/android/language-resource
modify(android): Refactor LanguageResource() and remove "Custom" property
2020-04-29 11:46:49 +07:00
Marc Durdin
f73cdaade6 chore: merge stable history 2020-04-29 06:33:31 +10:00
Darcy Wong
490a82eaf2 modify(android): Start refactoring LanguageResource 2020-04-28 17:17:41 +07:00
Marc Durdin
b12baab1c5 fix(android): link VERSION_ENVIRONMENT 2020-04-28 15:56:56 +10:00
Marc Durdin
b5f32fbbaf fix(android): use environment and version-with-tag for sentry 2020-04-28 11:34:22 +10:00
Darcy Wong
3023b8759c
Merge pull request #3020 from keymanapp/modify/android/keyboard-info
modify(android): Refactor Keyboard class to not use Map
2020-04-27 13:23:07 +07:00
Darcy Wong
833ad564e3 modify(android): Deprecate some LanguageResource calls
Per review comments
* Deprecate getPackage() for getPackageID()
* Deprecate getLanguage() for getLanguageID()
2020-04-27 12:03:01 +07:00
Darcy Wong
e08e6eb797 fix(android): Clarify label that shows "Get Started" on startup
PR #2751 cleaned up UI strings, changing the label from `Show "Get Started" on startup` to `Show this menu on startup`. This change was fine for "Get Started" menu, but the label is confusing when reused on the Keyman Settings menu.

This PR reverts the label (while formatting the string to include the localized string for "Get Started".
2020-04-24 09:39:03 +07:00
Darcy Wong
fb2402d1c1 modify(android): Pass Keyboard to KeyboardInfoActivity 2020-04-23 16:31:24 +07:00
Darcy Wong
12682c8b8c modify(android): Refactor Keyboard class to not use Map 2020-04-23 15:42:38 +07:00
Darcy Wong
45c09c23e6 modify(android): Convert LanguageListActivity to utility
* Remove LanguageListActivity and KeyboardListActivity
* Keep utility method `getKeyboardsInfo()`
2020-04-22 16:06:54 +07:00
Darcy Wong
17db64db9f modify(android): Change "Get Started" keyboard picker
Since we're getting away from using the cloud keyboard catalog for adding keyboards, this changes the "Get Started" option "Add a keyboard for your language" to bring up the embedded keyboard search activity.
2020-04-21 21:08:10 +07:00
Darcy Wong
51630d4193 Merge remote-tracking branch 'origin/master' into fix/android/layout 2020-04-21 14:06:41 +07:00
jahorton
c9b9c62a8c fix(android): fixes case where banner is intentionally disabled 2020-04-21 12:49:40 +07:00
jahorton
ead9f6b7b2 fix(android): predictive banner display bugfix 2020-04-21 11:15:50 +07:00
Darcy Wong
d49835038b fix(android): Pass keyboard type 2020-04-20 18:01:39 +07:00
Darcy Wong
3eac52752b fix(android): Only apply relative layout ALIGN_PARENT_BOTTOM for inapp keyboard 2020-04-20 15:24:06 +07:00
Darcy Wong
2be7449462 fix(android): Update minimum SDK to 21
Fixes #2989

This updates the minimum supported Android SDK to 21 (Lollipop). This applies to KMEA, KMAPro, Sample Apps, KeyboardHarness, and FV Android app.

Tests/keyCode doesn't use KMEA so no change there.
2020-04-16 11:55:00 +07:00
Darcy Wong
c0ae21d78e
Merge pull request #2984 from keymanapp/feat/android/dismiss-on-back
feat(android): Dismiss system keyboard on Back press
2020-04-15 12:40:20 +07:00
Darcy Wong
75d444e5b9
Merge pull request #2953 from keymanapp/feat/android/keyman-download
feat(android): Download cloud keyboards from https://keyman.com/keyboards
2020-04-15 09:26:36 +07:00
Darcy Wong
a0d1cb0307 feat(android): Only handle keyman:download from Keyman browsers 2020-04-15 09:10:02 +07:00
Darcy Wong
2f11dd8cf6 feat(android): Dismiss system keyboard on Back press
Fixes #2950

Update system keyboard to hide the OSK when Back pressed.
2020-04-14 22:39:21 +07:00
Darcy Wong
1b2cecfa3f feat(android): Update language settings activity for offline 2020-04-14 14:49:07 +07:00
Darcy Wong
406428a1d5 feat(android): Also download dictionary after installing keyboard package 2020-04-14 13:50:58 +07:00
Darcy Wong
e85b380af6 fix(android): Handle default font DejaVuSans.ttf
Fixes #2977

#2928 removed DejaVuSans.ttf but it turns out the font is still needed for:
* sil_euro_latin OSK to render on Android SDK 19 (KitKat)
* the sample apps and possible 3rd party apps may also be referencing the default font
2020-04-10 09:50:33 +07:00
Darcy Wong
32f272ebc7 fix(android): Address more review comments
* Remove handling deprecated keyman:// protocol
* Pass original URL
* lower-case BCP 47 tag when checking for match
* Clean up logic nesting in KMPBrowserActivity
2020-04-09 11:03:50 +07:00
Darcy Wong
703e6afc72 feat(android): Add utility to check for valid keyman schemes 2020-04-08 14:24:28 +07:00
Darcy Wong
b2db224bbc chore(android): Address review comments 2020-04-08 08:35:53 +07:00
Darcy Wong
142d17a5c2 chore(android): Clean up unused string and spacing 2020-04-07 17:20:30 +07:00
Darcy Wong
e8d7615a78 feat(android): Pass language ID to keyboard search 2020-04-07 17:16:28 +07:00