Darcy Wong
79812e2e74
Merge pull request #3481 from keymanapp/feat/android/package-processor-keyboard-info
...
feat(android/app): Add language picker for keyboard package installation
2020-08-21 10:01:17 +07:00
Darcy Wong
981a72ac6f
fix(android): Fix util to getting the tier on CI builds
...
The regex in KMManager.getTier() is incorrect for CI versions because of an extra `-`.
A local development version string `14.0.248-alpha-local` would correctly return Tier.ALPHA, but a CI build `14.0.248-alpha` would return Tier.STABLE
2020-08-19 09:02:37 +07:00
Darcy Wong
cd1daf4c7e
feat(android): Use language lists for processing KMP
2020-08-17 07:51:00 +07:00
Darcy Wong
a368e1abc1
fix(android): UI changes
...
* Move button to below title bar
* Update title strings
* Use back button for "Cancel" action
* Use index for PackageProcesor utilities
2020-08-13 15:32:25 +07:00
Darcy Wong
69e0454009
feat(android/app): Add UX to pick language when installing keyboard pkg
2020-08-13 15:07:15 +07:00
Darcy Wong
257efec3d5
fix(android): Remove 13.0 code for downloading keyboards
2020-07-28 14:11:24 +07:00
Darcy Wong
c2a0d68b14
fix(android): Address review comments
...
* Use URI to handle query parameters instead of strings
Also in resuming work on the PR
* Change the staging host to keyman-staging.com
* Move helper for determining host
2020-07-27 13:57:49 +07:00
Darcy Wong
eb51b8cc55
fix(android): Update intent filter for /keyboards/install
...
Address some review comments:
* Update intent filter to use /keyboards/install (/go/packge/download commented out)
* Add some test cases to for testing Keyman install link
2020-07-16 13:47:16 +07:00
Darcy Wong
d823050908
chore(android): Add a unit test with BCP 47 tag that has script
2020-07-15 08:54:05 +07:00
Darcy Wong
d1ac23105c
fix(android): Fix intent and parsing of URL query
...
* Add intent to handle download links from current live site: https://keyman.com/keyboard/download/
* Fix parsing of bcp47 query
* Only use the path for determining filename from packageID
*
2020-07-15 06:32:17 +07:00
Darcy Wong
eb93f5c305
fix(android): Refactor check on kmp links
2020-07-14 21:34:02 +07:00
Darcy Wong
10f503660d
fix(android): Handle go/package/download links
2020-07-13 21:57:51 +07:00
Darcy Wong
d575ed9bab
fix(android/engine): Update intents for downloading keyboards
2020-07-13 14:28:07 +07:00
Darcy Wong
21b85eb04e
fix(android): Use go/ links for keyboard search
2020-07-13 09:25:00 +07:00
Darcy Wong
303873b64f
fix(android): Add to KMManager API
...
Add getDefaultKeyboard() and setDefaultKeyboard() to KMManager API.
2020-07-09 10:55:41 +07:00
Darcy Wong
8d8cf035b9
feat(android): Download default resources at build time
...
Similar to the OEM FirstVoices Android app, this updates the KMAPro `build.sh` script to download the latest default language resources (keyboard and dictionary) as part of the build process.
2020-06-30 13:19:02 +07:00
Darcy Wong
0c18e9a38c
fix(android): Use tier to determine keyboard search host
2020-06-29 10:36:38 +07:00
Darcy Wong
9dba0eb45e
fix(android/engine): Have updateOldKeyboardsList return a list
2020-06-08 16:22:11 +07:00
Darcy Wong
11ae726afa
fix(android/engine): Revise updateOldKeyboardsList
2020-06-07 09:37:26 +07:00
Darcy Wong
21a64063c5
feat(android): Add utility to check BCP47 equivalence
...
Fixes #2972
Add a BCP47 utility to check if two language IDs are equivalent.
2020-06-04 16:53:22 +07:00
Darcy Wong
fabf2888ef
chore(android): Add formatting to log
2020-06-02 15:10:52 +07:00
Darcy Wong
ac77444e70
fix(android/engine): Fix available lexical model list
2020-05-29 16:02:21 +07:00
Darcy Wong
8a83334e64
fix(android): Remove KeyboardPickerActivity.getKeyboardIndex()
2020-05-19 14:37:51 +07:00
Darcy Wong
f504bf302c
fix(android): start to address review comments
2020-05-18 10:45:12 +07:00
Darcy Wong
652136829d
modify(android): Change assumptions on default keyboard
...
To support FV app, allow KeyboardController to remove any index.
KeyboardController also no longer initializes with a default of sil_euro_latin.
2020-05-08 21:56:19 +07:00
Darcy Wong
251dff3bba
modify(android): Refactor KeyboardPickerActivity
2020-05-08 16:34:06 +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
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
9a70f27416
fix(android): Remove more "custom keyboard" handling
2020-04-30 15:19:26 +07:00
Darcy Wong
490a82eaf2
modify(android): Start refactoring LanguageResource
2020-04-28 17:17:41 +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
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
03799ded94
modify(android): Install default asset kmp's
2020-03-31 14:32:34 +07:00
Darcy Wong
350068d2c4
feat(android): Specify optional language ID for installing kmp
2020-03-31 11:28:45 +07:00
Darcy Wong
3e90edaa52
test(android): Change shouldUpdateTrueCallTest to span 2 days
2020-03-09 11:33:15 +07:00
Darcy Wong
078af940c5
change(android): Move isCustom to FileUtils.isCustomKeyboard()
2020-03-04 10:25:24 +07:00
Darcy Wong
05f50f03f4
fix(android): Investigate propagating custom help links
2019-12-12 16:24:37 +07:00
Darcy Wong
735633f36d
chore(android): Update comment in test
2019-12-03 09:57:29 +07:00
Darcy Wong
1554bbda1e
fix(android): Update kmp.json in test package to en-US
...
This updates the LexicalModelPackageProcessorTest to verify the language ID is lower-cased when processing kmp files.
2019-12-03 09:31:58 +07:00
Darcy Wong
0dfa315844
fix(android): Add unit tests
2019-12-03 08:41:00 +07:00
Darcy Wong
ad96952514
fix(android): Fix left-deletions
...
Fixes ##2250
Cherrypick of #2281 for master
Due to a Chromium [bug](https://bugs.chromium.org/p/chromium/issues/detail?id=1024738 ) in the implementation of deleteSurroundingText, we need to save off the original context and re-insert characters that shouldn't have been deleted.
2019-11-25 09:44:35 +07:00
Sandra Forberger
74f6cc2190
doc[android]: add comments
2019-11-20 11:43:19 +07:00
safolit
2223af9ada
Merge branch 'master' into android-add-functional-test
2019-11-20 11:11:04 +07:00
Sandra Forberger
1dbfd6a2aa
fix[android]: minor changes after review
2019-11-20 09:35:16 +07:00
Sandra Forberger
c80a0b9735
fix[android]: refactor and cleanup tests
2019-11-19 15:30:24 +07:00
Sandra Forberger
1b51ef4b2e
fix[android]: fix robolectric deadlock for ui tests
2019-11-19 14:58:56 +07:00
Sandra Forberger
692e3532e3
fix[android]: use constant for preferences key
2019-11-19 10:53:58 +07:00
Sandra Forberger
67ab6fdcf6
fix[android]: memory issue in tests
2019-11-15 13:39:49 +07:00
Sandra Forberger
81847bc7b1
fix[android] test memory issues
2019-11-15 13:32:41 +07:00