Commit graph

1174 commits

Author SHA1 Message Date
Darcy Wong
0f9f7ec90d fix(android/app): Switch system keyboard in KMPBrowserActivity 2020-10-02 10:55:58 +07:00
Darcy Wong
985307e878
Merge pull request #3624 from keymanapp/fix/android/undefined-package-id
fix(android/engine): Fix undetermined lexical model package ID
2020-09-29 19:51:22 +07:00
Darcy Wong
c4178b1d26 fix(android/app): Only copy asset .kmp file if it doesn't exist
Fixes #3521

Update `KMManager.copyAssets` so asset kmp files only get copied if they don't exist. This avoids unzipping the packages on every startup.
2020-09-28 14:30:46 +07:00
Darcy Wong
143560d8f1 fix(android/app): Fix uninstalling sil_euro_latin for other languages 2020-09-28 10:41:18 +07:00
Darcy Wong
2a30b9070d fix(android/engine): Fix undetermined lexical model package ID 2020-09-25 17:02:31 +07:00
Darcy Wong
a78098455a fix(android/app): Change install intent to MainActivity 2020-09-24 15:41:44 +07:00
Darcy Wong
a2521ba6d9 fix(android/engine): Use local help for default keyboard 2020-09-24 14:04:01 +07:00
Darcy Wong
65ccdb4042 fix(android/engine): Move preference strings to KMManager 2020-09-24 14:03:33 +07:00
Darcy Wong
f63757eb6b fix(android/app): Adjust namespaces 2020-09-24 13:48:53 +07:00
Darcy Wong
464318915a chore(android/app): Move some classes to KMAPro 2020-09-24 12:51:23 +07:00
Darcy Wong
4f961189de fix(android/app): Increase intent priority for kmp download 2020-09-24 12:51:23 +07:00
Darcy Wong
be4f63014a fix(android/engine): Apply review comments 2020-09-24 09:00:23 +07:00
Darcy Wong
53410cba18 chore(android): Merge remote-tracking branch 'origin/master' into fix/android/mapcompat-crash 2020-09-23 15:16:16 +07:00
Darcy Wong
0f17062ad2 feat(android/app): Use api for downloading associated dictionary 2020-09-23 10:31:44 +07:00
Darcy Wong
ce8c502191 chore(android/engine): Remove unused cloud methods 2020-09-22 15:58:08 +07:00
Darcy Wong
35fef54865 fix(android/app): Download associated dictionary after keyboard install
Currently, the check for downloading an associated dictionary only happens if a keyboard search from keyman.com includes a language tag. (e.g. `l🆔str-latn`)

This moves the check to occur after a keyboard package is installed (and the specific languages chosen via the stepper).
2020-09-22 15:58:08 +07:00
Darcy Wong
4efa58264d chore(android): Merge branch 'master' into fix/android/mapcompat-crash 2020-09-21 11:46:35 +07:00
Darcy Wong
94659c0716
Merge pull request #3571 from keymanapp/fix/android/title-size
fix(android/app): Fix Info page title size
2020-09-18 08:53:17 +07:00
Darcy Wong
a51335901f fix(android/app): Use TextView instead of toolbar
Per review comment, make version string smaller
2020-09-16 09:13:48 +07:00
Darcy Wong
d32607388b chore(android): Move version string to bottom of page
* Also fix label size on larger devices
2020-09-14 09:54:08 +07:00
Darcy Wong
b2c4d0407a fix(android/app): Pass keyboard to StepperAdapter
Pass keyboard so SelectLanguageFragment can display correct keyboard info
2020-09-08 15:09:38 +07:00
Darcy Wong
df7e3a0796 fix(android): Try to disable for SelectLanguageActivity 2020-09-08 14:08:43 +07:00
Darcy Wong
3f45186c94 fix(android): Disable "INSTALL" button if no languages selected 2020-09-08 10:16:02 +07:00
Darcy Wong
b76afe88ad fix(android/app): Add landscape dimension 2020-09-08 10:11:35 +07:00
Darcy Wong
ea941720dc fix(android/app): Modify Info Activity to use titlebar styling 2020-09-07 21:24:25 +07:00
Darcy Wong
345d952b05
Merge pull request #3550 from keymanapp/fix/android/anr
fix(android): Re-enable monitoring of Application Not Responding (ANR)
2020-09-02 16:17:41 +07:00
Darcy Wong
79abfced96
Merge pull request #3546 from keymanapp/fix/android/notifications
fix(android/engine): Remove notification after installing kbd package
2020-09-02 15:37:10 +07:00
Darcy Wong
18061ef19a fix(android/app): Remove unused intent ACTION_GET_USERDATA 2020-09-02 13:29:32 +07:00
Darcy Wong
fa1fd68d3f fix(android): Re-enable monitoring of Application Not Responding (ANR) 2020-09-02 11:20:27 +07:00
Darcy Wong
5954568e92 fix(android/engine): Set notifications to auto cancel 2020-09-01 14:32:30 +07:00
Darcy Wong
1b1d343e68 fix(android/engine): Remove notification after installing kbd package 2020-09-01 08:43:11 +07:00
Darcy Wong
6c5064b632 fix(android/engine): Fix package filename when downloading from cloud 2020-08-31 11:08:30 +07:00
Darcy Wong
4e7145f0f9
Merge pull request #3532 from keymanapp/fix/android/menu-overflow
fix(android/app): Fix overflow menu for hdpi devices
2020-08-28 13:27:33 +07:00
Darcy Wong
f604eaa06a fix(android/app): Fix overflow menu for hdpi devices 2020-08-28 12:30:12 +07:00
Darcy Wong
4a963533c0 fix(android/app): Inject meta viewport tag for viewing help
Fixes #3522 by injecting a meta viewport tag if the help document in WebViewFragment doesn't contain it.
This replaces the 200% zoom.
2020-08-27 09:21:53 +07:00
Darcy Wong
970c2ca5f3
Merge pull request #3498 from keymanapp/feat/android/stepper
feat(android): Use Stepper for navigating package installation steps
2020-08-27 08:36:32 +07:00
Darcy Wong
add7edd25c chore(android): Cleanup more strings
Per review comments:
* Include keyboard name in toast notification on keyboard install
* Remove label_complete and use "OK" button when complete
2020-08-26 15:06:10 +07:00
Darcy Wong
47fab2d3a2 fix(android/engine): Check asset package version before installing
Fixes #3500

When KMManager is copying asset kmp files, check if the asset package is a downgrade before installing it.
2020-08-26 14:13:02 +07:00
Darcy Wong
6d98103f75 fix(android): Update titlebar styling
Per review comments
* Use ellipsis to truncate long titles
* Use Keyman styling during installation, but keep green accent line for Settings
2020-08-25 13:26:10 +07:00
Darcy Wong
b5f7084d08 feat(android): Pass optional language tag to language picker 2020-08-25 07:42:32 +07:00
Darcy Wong
95c05ec9b8 fix(android): Use consistent styling for titlebar text 2020-08-24 16:32:06 +07:00
Darcy Wong
80fb43afda fix(android): Fix crashes involving Keyboard Picker
This fixes the null-pointer-exceptions reported in Crashlytics
* [MapCompat](https://console.firebase.google.com/u/0/project/kmapro-ee779/crashlytics/app/android:com.tavultesoft.kmapro/issues/d1bbc6248a6cf73a4a2607646670a73b?time=last-seven-days&sessionId=5F43249600B0000169B855CBEB66027A_DNE_0_v2)
* [KeyboardPickerActivity](https://console.firebase.google.com/u/0/project/kmapro-ee779/crashlytics/app/android:com.tavultesoft.kmapro/issues/f0e89e2ad194b4d55394461f07dbed92?time=last-seven-days&sessionId=5F42B17B01DB00011DEB0D57B0E2AF4E_DNE_0_v2)
2020-08-24 13:34:55 +07:00
Darcy Wong
5ef7eab5f3 chore(android): Revert selectLanguageFragment - no longer needed 2020-08-24 10:33:10 +07:00
Darcy Wong
4c355aa002 chore(android): Revert some lines 2020-08-24 10:27:54 +07:00
Darcy Wong
542a4db3d5 chore(android): Tweak languages strings 2020-08-24 08:33:09 +07:00
Darcy Wong
90bdd1f260 fix(android): Add SelectLanguageActivity for SelectPackageActivity 2020-08-22 21:13:45 +07:00
Darcy Wong
617073cc71 feat(android): Start adjusting steps and buttons 2020-08-21 21:52:17 +07:00
Darcy Wong
92b9d1734b feat(android): Incorporate Stepper for installing packages 2020-08-21 15:10:52 +07:00
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
d8123c5ea9 fix(android): Incorporate review suggestions
* Rename var `tempPath` to `isInstallingPackage`
* Tweak install dictionary title (and size of titlebar)
* Change "NEXT ->" button to "INSTALL ->" on language picker page
2020-08-21 08:43:38 +07:00